weblogic 12c 部署java war包 一直出错 160C

昨天遇到一个很奇怪的问题,在weblogic12C上面部署我的项目war包 一直报错,
说拿不到数据源,但是我在IDEA里面使用tomcat是能运行的,然后我试着不部署war包
直接用编译后的项目结构部署上去是可以的,但是就是war包部署后运行就一直报错,
很纠结这个问题,不知道有没有大神能帮我解答下。

8个回答

在weblogic放war包的时候要选择一个数据源,是不是数据源选择错了,或者和之前的不一致。

你可以发下你的打包日志看看,十有八九是因为啊,你打包的时候没有把数据库配置打包进去。

qq_37789351
Suoyi丶O 图在下面
一年多之前 回复

![图片说明](https://img-ask.csdn.net/upload/201802/06/1517884046_345187.jpg)图片说明

图片说明

weblogic部署war包,是不是需要建一个weblogic.xml,放到项目的web-inf下,好像是要配置这么一个东西

qq_37789351
Suoyi丶O 我有配置的。
一年多之前 回复

从日志看是 注入的PositionMapper这个bean没找到,具体原因还需要详细的日志。

注入失败了,你本地的spring jar包没有加载

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
weblogic 12c 部署项目报错
我用weblogic部署项目时报错,报错信息:rn无法访问所选应用程序。rnrn无法访问所选应用程序。rnrnException in AppMerge flows' progressionrnrnException in AppMerge flows' progressionrnrn26rnrn26rnrn[img=http://img.my.csdn.net/uploads/201301/14/1358137506_5316.jpg][/img]
weblogic部署war包报错
最近在部署weblogic环境,在发布war包时,系统总是报错,具体报错信息如下 尝试很多解决办法无果,在tomcat下可以正常部署,但是在weblogic下总是报错,怀疑是war包问题,最后的解决办法很简单,只需要重新打下war包即可,具体使用命令如下: jar -cvfM0 test.war test 将test下的站点内容重新打包成test.war,即可部署成功 解压test.w...
weblogic部署测试war包
用于测试部署环境是否实现分发 用于测试weblogic是否可以部署war包 用于测试tomcat是否可以部署war包
war包部署到多节点weblogic服务器出错
有个war包,部署到单个机器的weblogic服务器上,没有问题。但是部署到多个节点的weblogic服务器上报错,仔细排查了下,发现报错的地方,是获取单例模式的类对象时,抛出了空指针异常。rnrn[color=#FF0000]具体出错信息如下:[/color]rn####<2013-10-29 下午06时27分04秒 CST> <> <> <> <1383042424366> <47% of the total memory in the server is free.> rn####<2013-10-29 下午09时54分05秒 CST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1383054845681> rn####<2013-10-29 下午09时54分19秒 CST> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1383054859081> rn####<2013-10-29 下午09时55分07秒 CST> <> <> <> <1383054907130> <60% of the total memory in the server is free.> rn####<2013-10-29 下午09时58分07秒 CST> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1383055087357> rn####<2013-10-29 下午09时58分07秒 CST> <[ACTIVE] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1383055087357>
weblogic部署war包失败
解决方法 一,添加weblogic.xml &lt;?xml version="1.0"?&gt; &lt;weblogic-web-app xmlns="http://www.bea.com/ns/weblogic/weblogic-web-app" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
linux下weblogic 12c 之应用程序部署
本文档用于指导WebLogic安装,配置,及应用程序部署,常见问题分析和解决
tomcat7部署war包出错
刚开始报错如下: 严重: Servlet.service() for servlet jsp threw exception java.lang.IllegalArgumentException: Page directive: invalid value for import 发现是 import="java.util.*;"这个头文件多出了个分号; 去掉分号后又报错,如: 严
was部署war包出错
在was控制台部署war包后,网页报错[color=#FF0000]Error 500 filter[webframe]:could not be initialized;[/color]rn对应xml文件:rn rn webframern com.skyon.webframe.core.WebFrameFilterrn rnrn类“com.skyon.webframe.core.WebFrameFilter”所在jar包也已经引进。rn不知道出什么问题,求助。rn
部署war包时出错
从控制台导入应用war包时,进程挂起。rnrnWSVR0605W: 线程“WebContainer : 1”(00000032)已保持活动状态 680828 毫秒,此线程可能已挂起。在服务器中共有 1 个线程可能处于挂起状态。rnat java.util.zip.Inflater.inflateBytes(Native Method)rnat java.util.zip.Inflater.inflate(Inflater.java:234)rnat java.util.zip.InflaterInputStream.read (InflaterInputStream.java: 146)rnat java.util.zip.ZipInputStream.read(ZipInputStream.java:157)rnat java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:103)rnat java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:81)rnat org.eclipse.jst.j2ee.commonarchivecore.internal.strategy. NestedArchiveLoadStrategyImpl. getZipInputStreamSkippedTo (NestedArchiveLoadStrategyImpl. java:249)rn………rnrnIBM官方网站给出解决办法,安装7.0.0.3(update Installer)。Problem conclusion rnThe install step examines the annotations of all of the classes in the ear, war and jar files. The algorithm for examining the class files within these archive files has been modified to decrease the installation time.rnThe fix for this APAR is currently targeted for inclusion in fixpacks 6.1.0.23 and 7.0.0.3.rnrn但安装完成,升级后,该问题还没有解决,错误一样,长时间不能完成安装。rnrn
weblogic部署war包遇到的问题
最近接手项目需要用到weblogic 10.3.6 ,于是学习了一下。整理遇到的几个问题,该war包在tomcat中完美运行,但在weblogic的错误层出不穷: 项目使用maven架构的spring mvc、hibernate、spring。 1、程序启动的时候报 java.lang.ClassNotFoundException: org.apache.juli.logging.LogFa...
weblogic部署出错,急!
weblogic10.3,部署ear包的时候出错了,这个包是一个软件自动生成的,请高人帮忙解决下啊,谢谢了!rnrnrn[b]提示如下:[/b]rnUnable to access the selected application.rnException in AppMerge flows' progressionrnException in AppMerge flows' progressionrnVALIDATION PROBLEMS WERE FOUND problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-1':rnVALIDATION PROBLEMS WERE FOUND problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2': problem: cvc-id.2: Duplicate ID value 'bpelEJBs-2':rnrn[b]log文件提示:[/b]rnrn####<2008-11-25 上午10时57分36秒 CST> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <1227581856796> rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':.rn at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:452)rn at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)rn at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)rn at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)rn at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)rn at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)rn at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)rn at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)rn at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)rn at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)rn at weblogic.deploy.internal.targetserver.operations.RedeployOperation.createAndPrepareContainer(RedeployOperation.java:98)rn at weblogic.deploy.internal.targetserver.operations.RedeployOperation.doPrepare(RedeployOperation.java:122)rn at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)rn at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723)rn at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190)rn at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248)rn at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)rn at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)rn at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)rnCaused by: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUNDrn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-1':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rn problem: cvc-id.2: Duplicate ID value 'BPELCore-2':rnrn at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:234)rn at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:221)rn at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:146)rn at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:306)rn at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)rn at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:409)rn at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)rn at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)rn at weblogic.ejb.spi.EjbJarDescriptor.getEjbJarBean(EjbJarDescriptor.java:131)rn at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXMLWithSchema(EjbDescriptorReaderImpl.java:705)rn at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.processEjbJarXML(EjbDescriptorReaderImpl.java:228)rn at weblogic.ejb.container.dd.xml.EjbDescriptorReaderImpl.createReadOnlyDescriptorFromJarFile(EjbDescriptorReaderImpl.java:185)rn at weblogic.ejb.spi.EjbDescriptorFactory.createReadOnlyDescriptorFromJarFile(EjbDescriptorFactory.java:93)rn at weblogic.ejb.container.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:1198)rn at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:380)rn>
在weblogic下部署ejb出错
本人写了最简单的HelloWorld session bean,但在weblogic下部署时,出现了rn下面的错误,怎么回事?rnUnable to load a class specified in your ejb-jar.xml: Class bytes found but defineClass()failed for: 'examples.ejb.HelloWorldBean'
在weblogic部署ejb出错。。。。。。。
出错如下:weblogic.ejb20.deployer.DeploymentDescriptorException: Unable to load a class specified in your ejb-jar.xmlrn目录结构如下rnsrc/Employee/EmployeeHome.class;rnsrc/Employee/Employee.class;rnsrc/Employee/EmployeeBean.class;rnsrc/META-INF/ejb-jar.xml;rnsrc/META-INF/weblogic-ejb-jar.xmlrn然后在src目录下生成EmployeeEJB.jar;rn但在部署时出错,请教rn
项目在weblogic部署出错
When processing WebService module 'user'. Failed to load servlet Class: user.LogQueryrnIgnoring: unable to load class:java.lang.ClassNotFoundException: user.LogQuery at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)rnWhen processing WebService module 'user'. Failed to load servlet Class: user.LogStatrnIgnoring: unable to load class:java.lang.ClassNotFoundException: user.LogStat at: weblogic.xml.schema.binding.util.ClassUtil.loadClass(ClassUtil.java:76)rnWhen processing WebService module 'user'. Failed to load servlet Class: user.UserQueryStatrnrnrn-------------------------------------------------------------------------------------------------rn大侠们,这是个什么情况啊?
spring weblogic部署出错
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Method must not be nullrnrntomcat下启动正常,weblogic下启动报上述错误,求大神解答
weblogic 部署出错
weblogic.management.DeploymentException: rnException:weblogic.management.ApplicationException: start() failed.rnModule: bbs2 Error: weblogic.management.DeploymentException - with nested exception: rn[java.lang.NullPointerException]rnrnat weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2440) rnat weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155) rnat weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254) rnat weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149) rnat weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401) rnat weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883) rnat weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591) rnat weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500) rnat weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25) rnat weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) rnat weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) rn无异常消息 rnrnrn以上是详细信息rnrn程序在websphere tomcat上部署运行都没有问题 请问怎么处理
Weblogic部署应用出错
在本机上用weblogic8部署应用出错如下:rnException:weblogic.management.ApplicationException: start() failed. Module: WebRoot Error: java.lang.NoClassDefFoundError: org/apache/log4j/Logger rnrn[Deployer:149033]preparing application WebRoot on myserver rn[Deployer:149033]prepared application WebRoot on myserver rn[Deployer:149033]activating application WebRoot on myserver rn[Deployer:149033]failed application WebRoot on myserver rn[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application WebRoot on myserver.: Exception:weblogic.management.ApplicationException: start() failed. Module: WebRoot Error: java.lang.NoClassDefFoundError: org/apache/log4j/Logger . rnrnlog4j的jar包是有的。rnrn请高手指点。
求解!!!部署weblogic出错
之前没用过weblogic,头一次部署,报错。。。求解!!!rn直接在地址栏输入访问地址,然后页面就报错了:rn错误信息如下:rn[code=HTML]rnrnCompilation of JSP File '/index.jsp' failed:rn--------------------------------------------------------------------------------rnrnindex.jsp:1:1: The include file was not found.rn<%@page contentType="text/html; charset=UTF-8"%>rn^-----------------------------------------------^rnindex.jsp:1:1: The include file was not found.rn<%@page contentType="text/html; charset=UTF-8"%>rn^-----------------------------------------------^rnindex.jsp:13:38: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:13:38: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:25:29: Scripting elements have been disabled for this page.rn document.loginForm.action="<%=request.getContextPath()%>/loginAction.do?method=init";rn ^---------------------------^rnindex.jsp:25:29: Scripting elements have been disabled for this page.rn document.loginForm.action="<%=request.getContextPath()%>/loginAction.do?method=init";rn ^---------------------------^rnindex.jsp:41:2: Scripting elements have been disabled for this page.rn <%rn ^-rn %>rn---------^rnindex.jsp:41:2: Scripting elements have been disabled for this page.rn <%rn ^-rn %>rn---------^rnindex.jsp:59:49: Scripting elements have been disabled for this page.rn rn ^-------------^rnindex.jsp:59:49: Scripting elements have been disabled for this page.rn rn ^-------------^rnindex.jsp:94:20: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:94:20: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:105:20: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:105:20: Scripting elements have been disabled for this page.rn rn ^---------------------------^rnindex.jsp:130:11: Scripting elements have been disabled for this page.rn <%=errorMsg%>rn ^-----------^rnindex.jsp:130:11: Scripting elements have been disabled for this page.rn <%=errorMsg%>rn ^-----------^rnindex.jsp:178:1: The include file was not found.rnrn^------^rnindex.jsp:178:1: The include file was not found.rnrn^------^rnrnrnrn[/code]rnrn谢谢大家了!!!
weblogic部署出错
我用weblogic部署报以下错误:rn[color=#FF0000]Exception[/color]: Exception:weblogic.management.ApplicationException: start() failed. Module: finance Error: weblogic.management.DeploymentException: Error creating bean with name 'common.baseDao' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-dao.xml]: Can't resolve reference to bean 'methodCache' while setting property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodCache' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Can't resolve reference to bean 'cacheManager' while setting property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Initialization of bean failed; nested exception is net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found - with nested exception: [net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found] rnrn请问这是什么原因,rn相对应的日志文件如下:rnDeployer:149033]preparing application finance on myserver rn[Deployer:149033]prepared application finance on myserver rn[Deployer:149033]activating application finance on myserver rn[Deployer:149033]failed application finance on myserver rn[Deployer:149034]An exception occurred for task [Deployer:149026]Deploy application finance on myserver.: rnException:weblogic.management.ApplicationException: start() failed.rnModule: finance Error: weblogic.management.DeploymentException: Error creating bean with name 'common.baseDao' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-dao.xml]: Can't resolve reference to bean 'methodCache' while setting property 'cache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'methodCache' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Can't resolve reference to bean 'cacheManager' while setting property 'cacheManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManager' defined in URL [zip:D:/Program Files/Bea/user_projects/domains/Finance/myserver/.wlnotdelete/extract/myserver_finance_finance/jarfiles/WEB-INF/lib/financeTemplate.jar!/META-INF/finance/config/applicationContext-service.xml]: Initialization of bean failed; nested exception is net.sf.ehcache.CacheException: Cannot configure CacheManager: File not found - with nested exception: rnrn请各位大侠帮忙看一下,我装的weblogic8.14+sp4rnrn
S2Sh 部署到weblogic出错
原来用tomcat写的S2Sh的工程,运行正常,现在配置到weblogic12,出现下面的错误。rnClassNotFoundException: org.hibernate.hql.ast.HqlTokenrn看到网上说,修改startWebLogic.cmd文件。rn我按照网上修改了,rnset PRE_CLASSPATH=%DOMAIN_HOME%\lib\antlr-2.7.7.jar 新增的rn rnset CLASSPATH=%SAVE_CLASSPATH% 原来的rnrnset CLASSPATH=%PRE_CLASSPATH%;%SAVE_CLASSPATH% 新增的rnrn同时把antlr-2.7.7.jar放到了D:\Oracle\Middleware\wlserver_12.1\server\lib下面rnrn问题还是没有解决。rn在applicationContext.xml中,增加了下面的内容rn rn org.hibernate.hql.classic.ClassicQueryTranslatorFactory rnrn问题解决了,rn但是又出现了其他的问题rnrn发生了错误rnquery must begin with SELECT or FROM: updaternrn请高手指点一下,应该怎么解决。 rnrn
ckeditor+ckfinder,在weblogic上部署war包后,浏览服务器出错
从服务器读取XML数据出错rnrn服务器返回原始结果: rnrnError 500--Internal Server Errorrnrnjava.lang.Exception: Configuration wasn't initialized correctly. Check server logs.rn at com.ckfinder.connector.ConnectorServlet.getResponse(ConnectorServlet.java:126)rn at com.ckfinder.connector.ConnectorServlet.doGet(ConnectorServlet.java:83)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)rn at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)rn at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)rn at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)rn at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)rn at com.ckfinder.connector.FileUploadFilter.doFilter(FileUploadFilter.java:67)rn at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)rn at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)rn at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)rn at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)rn at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)rn at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)rn at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)rn rn
weblogic 12C 部署没有启动按钮
weblogic 部署后直接看不到启动按钮如图,其实是有的只是不在 “配置”  里,而是在 “控制” 里!!!    
war包部署weblogic的Log4j支持问题
本文来自:http://www.codesky.net/article/200707/119054.html 工程打包成.war部署到WebLogic后,出现如下问题: Error: weblogic.management.DeploymentException: Cannot set web app root system property when WAR file is not ...
weblogic部署war包,log4j问题 完整版
问题描述:工程中增加log4j,输出系统运行日志到指定目录。部署工程war包时提示: java.lang.IllegalArgumentException: Invalid 'log4jConfigLocation' parameter:  class path resource [log4j.properties] cannot be resolved to absolute file pat...
War包部署
Tomcat8篇(war包部署) 一、一个端口号部署多个war包项目 同个端口下的web项目中web.xml的webAppRootKey的值不能重复!!!war包名称不可重复!!! 二、部署多个端口号项目 要想在 Tomcat 上部署不同端口的项目,其实只需要修改 conf 文件夹的 server.xml 即可。 在 Server 元素下可以看到Service子元素,其中 Conne...
weblogic里部署lifera4.2.2出错
在Weblogic10里部署lifera4.2.2时,出现如下错误:rnThe module eip in application liferay_eip uses ejb-links but no EJB modules were found for this application.rnrn请各位大哥帮忙解决!rn感谢!
weblogic 打包部署,即war包部署。提示找不到文件
hibernate配置文件目录:WEB-INF\classes\config\mappingsrnspring-hibernate.xml中配置方式rn[code=XML]rn rn rn config/mappings/test.hbm.xmlrn config/mappings/test1.hbm.xmlrn config/mappings/test2.hbm.xmlrn config/mappings/test3.hbm.xmlrn[/code]rn[color=#FF0000]webLogic错误提示:[/color]rnweblogic.application.ModuleException:rnCould not open ServletContext resource [/config/mappings/ADMIN_ChildrenConfigDetail.hbm.xml]rn之前解决了关于log4j方面的文件找不到问题。为什么webLogic部署war包怎么纠结呢!有没有终极解决方法?
java 一键部署war包,jar包
博客地址:http://blog.csdn.net/yale8848/article/details/53743686 JavaAutoDeployClient-1.0.jar,一键上传至linux服务器,并部署; 使用方式:java -jar JavaAutoDeployClient-1.0.jar config.xml
java打war包、部署服务器
初级java第一次打war包和部署服务器,理解有限,如有问题请指出. web项目打war包: Eclipse中选择项目右键Run As -->Maven install. 可在后台Console查看打包情况,提示BUILD SUCCESS表示打包成功,可根据路径找到war包.如果出错可看提示修改问题. 服务器部署项目: 1、登陆服务器 2、关闭服务器   指令:  ps -
Windows下部署Java工程war包:
Windows下部署Java工程war包: (保证Windows系统主机到数据库等 涉及到的主机连通性,ping) 1.Windows系统上安装JDK及配置环境变量 2.拷贝服务器(eg: Wildfly、eap等)到Windows系统上 3.修改设置服务器的配置文件standalone.xml,涉及到数据库的链接、访问端口号等 4.拷贝工程war包到服务器deployments文件夹
在JAVA开发环境中部署WAR包
购买阿里云 本来我是没做过运维方面的工作,挺感兴趣的,开开心心地去注册了一个账户并购买了一年服务器的使用。 打开控制台 如图所示,因为项目很小,只是做一个Demo出来看一个就好了,就决定买1核2G,操作系统是CentOS 7.3。事实证明这个性能还可以,毕竟只是公司内部的一个展示 。一千一百多觉得还蛮贵的(可能是我穷)。 配置云环境 云服务也买好了,那现在就配置一下环境吧,我用
WebLogic 12c安装使用手册
WebLogic 12c安装使用手册
weblogic 12c 12.2.1.3.0 下载地址
Oracle Fusion Middleware 12c WebLogic and Coherence Developer 12.2.1.3.0 在centos7 jdk1.7环境下亲测可用,下载文件中有链接,220M的官网统一安装版本。
Weblogic 12c集群部署
Weblogic 12c集群部署 我认为安装weblogic有些简单,一直点下一步就可以了。如果还是不行,就看这篇博客:weblogic下载与安装。如果是weblogic安装程序启动不了,就看这篇博客:weblogic启动安装程序;
Weblogic 12c 部署项目 启动报错
公司做项目,jdk版本为1.7,Weblogic版本为12c,先前在本地部署的时候,一切正常,后来要部署到服务器(Linux)上去,结果在启动的时候就出现了以下的错误,实在不知道问题出哪儿了,各位大神,搭把手,帮帮忙吧,很急!rn#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1422933210189> rn#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1422933210197> rn#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1422933211514> (ClassfinderClassInfos.java:28)rn at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443)rn at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373)rn at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionContext.java:62)rn at weblogic.j2ee.managedbean.ManagedBeanModuleExtensionFactory.create(ManagedBeanModuleExtensionFactory.java:42)rn at weblogic.servlet.internal.WebAppModule.initModuleExtensions(WebAppModule.java:562)rn at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:271)rn at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636)rn at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)rn at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74)rn at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)rn at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)rn at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325)rn at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378)rn at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)rn at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)rn at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)rn at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)rn at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)rn at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:155)rn at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)rn at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)rn at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)rn at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)rn at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)rn at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)rn at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)rn at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)rn at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)rnCaused By: java.lang.NullPointerExceptionrn at weblogic.application.utils.annotation.ClassfinderClassInfos.polulateOneClassInfo(ClassfinderClassInfos.java:143)rn at weblogic.application.utils.annotation.ClassfinderClassInfos.populateClassInfos(ClassfinderClassInfos.java:137)rn at weblogic.application.utils.annotation.ClassfinderClassInfos.(ClassfinderClassInfos.java:28)rn at weblogic.servlet.internal.War.initializeClassInfosIfNecessary(War.java:443)rn at weblogic.servlet.internal.War.getAnnotatedClasses(War.java:373)rn at weblogic.servlet.internal.WebBaseModuleExtensionContext.getAnnotatedClasses(WebBaseModuleExtensionContext.java:62)rn at weblogic.j2ee.managedbean.ManagedBeanModuleExtensionFactory.create(ManagedBeanModuleExtensionFactory.java:42)rn at weblogic.servlet.internal.WebAppModule.initModuleExtensions(WebAppModule.java:562)rn at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:271)rn at weblogic.servlet.internal.WebAppModule.init(WebAppModule.java:636)rn at weblogic.application.internal.flow.ScopedModuleDriver.init(ScopedModuleDriver.java:162)rn at weblogic.application.internal.ExtensibleModuleWrapper.init(ExtensibleModuleWrapper.java:74)rn at weblogic.application.internal.flow.ModuleListenerInvoker.init(ModuleListenerInvoker.java:84)rn at weblogic.application.internal.flow.InitModulesFlow.initModule(InitModulesFlow.java:312)rn at weblogic.application.internal.flow.InitModulesFlow.initModules(InitModulesFlow.java:325)rn at weblogic.application.internal.flow.InitModulesFlow.prepare(InitModulesFlow.java:378)rn at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)rn at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)rn at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)rn at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)rn at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)rn at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)rn at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:155)rn at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)rn at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)rn at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)rn at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)rn at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)rn at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)rn at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:186)rn at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:94)rn at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)rn at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)rn at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)rn> rn#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1422933211518> rn#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1422933211543>
linux下weblogic 12c 之集群技术
本文档用于指导WebLogic集群配置及集群应用程序部署
Weblogic 12c启动安装程序
Weblogic 12c启动安装程序 安装weblogic时,会遇到很多坑,去网上一搜,大多数都没有教你如何避免。尤其是启动安装程序,按网上的方法怎么做都不对。当你在命令行敲处解压压缩包的代码 java -jar fmw_12.2.1.2.0_wls.jar,都会出现这种错误 或者你这样做,把压缩包直接解压了。在这个目录下fmw_12.
weblogic 12c安装指导
环境信息: jdk:1.8 weblogic:12.1.3.0.0 redhat: 7.2 1、jdk安装 解压后配置环境变量 [root@rhoms ~]# more /etc/profile ...... export JAVA_HOME=/usr/bin/jdk1.8 export CLASSPATH=.:/usr/bin/jdk1.8/lib:$CLASSPATH export PA...
linux下weblogic 12c 之软件安装
本文档用于介绍WebLogic概念,指导weblogic的安装及基本配置,及应用程序部署,常见问题分析和解决
weblogic 12c 官方文档
本文档是从weblogic官方下载下来的文档,英文。
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview