weblogic启动报错:BEA-149265 Stack trace for mess...

<2011-10-12 下午02时25分31秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 11.0-b15 from Sun Microsystems Inc.>
<2011-10-12 下午02时25分32秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3  Fri Jul 25 16:30:05 EDT 2008 1137967 >
<2011-10-12 下午02时25分34秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2011-10-12 下午02时25分34秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2011-10-12 下午02时25分34秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file C:\bea10\user_projects\domains\domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2011-10-12 下午02时25分37秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2011-10-12 下午02时25分41秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2011-10-12 下午02时25分41秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2011-10-12 下午02时25分43秒 CST> <Warning> <HTTP> <BEA-101369> <weblogic.servlet.internal.WebAppServletContext@17c45ee - appName: '_appsdir_DefaultWebApp_dir', name: 'DefaultWebApp', context-path: '', spec-version: '2.5': The encoding jsp-descriptor param has been deprecated. Consider declaring the encoding in the jsp-config element (web.xml) or as a page directive (pageEncoding) instead.>
<2011-10-12 下午02时25分45秒 CST> <Warning> <HTTP> <BEA-101369> <weblogic.servlet.internal.WebAppServletContext@6d8240 - appName: '_appsdir_inface_war', name: 'inface.war', context-path: '/inface', spec-version: '2.5': The encoding jsp-descriptor param has been deprecated. Consider declaring the encoding in the jsp-config element (web.xml) or as a page directive (pageEncoding) instead.>
<2011-10-12 下午02时25分45秒 CST> <Warning> <HTTP> <BEA-101369> <weblogic.servlet.internal.WebAppServletContext@e4ec18 - appName: '_appsdir_sysadmin_war', name: 'sysadmin.war', context-path: '/sysadmin', spec-version: 'null': The encoding jsp-descriptor param has been deprecated. Consider declaring the encoding in the jsp-config element (web.xml) or as a page directive (pageEncoding) instead.>
<2011-10-12 下午02时25分46秒 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<2011-10-12 下午02时25分46秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2011-10-12 下午02时25分46秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2011-10-12 下午02时25分47秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1318400747150' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
 at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
 at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
 at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
 at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
 Truncated. see log file for complete stacktrace
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
 at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
 at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:124)
 at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
 at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
 at weblogic.servlet.internal.War.getTagInfo(War.java:891)
 Truncated. see log file for complete stacktrace
>
<2011-10-12 下午02时25分48秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_ServiceDFK_dir'.>
<2011-10-12 下午02时25分48秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
 at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
 at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
 at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
 at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
 Truncated. see log file for complete stacktrace
java.lang.ClassCastException: com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
 at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:137)
 at weblogic.servlet.internal.TldCacheHelper$TldIOHelper.parseXML(TldCacheHelper.java:124)
 at weblogic.descriptor.DescriptorCache.parseXML(DescriptorCache.java:380)
 at weblogic.servlet.internal.TldCacheHelper.parseTagLibraries(TldCacheHelper.java:65)
 at weblogic.servlet.internal.War.getTagInfo(War.java:891)
 Truncated. see log file for complete stacktrace
>
<2011-10-12 下午02时25分49秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.56.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2011-10-12 下午02时25分49秒 CST> <Warning> <Server> <BEA-002611> <Hostname "delle64", maps to multiple IP addresses: 192.168.8.20, 192.168.56.1, 127.0.0.1>
<2011-10-12 下午02时25分49秒 CST> <Warning> <Server> <BEA-002611> <Hostname "192.168.56.1", maps to multiple IP addresses: 192.168.8.20, 192.168.56.1, 127.0.0.1>
<2011-10-12 下午02时25分49秒 CST> <Warning> <Server> <BEA-002611> <Hostname "activate.adobe.com", maps to multiple IP addresses: 192.168.8.20, 192.168.56.1, 127.0.0.1>
<2011-10-12 下午02时25分49秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2011-10-12 下午02时25分49秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.8.20:7001 for protocols iiop, t3, ldap, snmp, http.>
<2011-10-12 下午02时25分49秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "domain" running in Development Mode>
<2011-10-12 下午02时25分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2011-10-12 下午02时25分49秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

 

解决方法:

在WEB-INF目录下添加weblogic.xml,内容如下:

<?xml version="1.0" encoding="UTF-8"?>
<weblogic-web-app>
 <container-descriptor>
  <prefer-web-inf-classes>false</prefer-web-inf-classes>
 </container-descriptor>
</weblogic-web-app>

prefer-web-inf-classes  如果设置true还报错,就更改为false

你可能感兴趣的:(weblogic启动报错:BEA-149265 Stack trace for mess...)