weblogic的BEA-101163错误

szx0704 2014-09-24 11:02:51
今天将项目部署到weblogic上总是报下面这错误信息:
[WARN ][jrockit] CompileThreshold=8000 ignored: Not a valid option for JRockit
[WARN ][jrockit] PermSize=48m ignored: Not a valid option for JRockit
[WARN ][jrockit] MaxPermSize=128m ignored: Not a valid option for JRockit
<2014-9-24 上午10时57分39秒 CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<2014-9-24 上午10时57分40秒 CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<2014-9-24 上午10时57分40秒 CST> <Notice> <WebLogicServer> <BEA-000395> <Following extensions directory contents added to the end of the classpath:
E:\Oracle\Middleware\user_projects\domains\base_domain\lib\spring-jms-3.2.1.RELEASE.jar;E:\Oracle\Middleware\user_projects\domains\base_domain\lib\spring-security-config-3.1.0.RELEASE.jar;E:\Oracle\Middleware\user_projects\domains\base_domain\lib\spring-security-core-3.1.0.RELEASE.jar;E:\Oracle\Middleware\user_projects\domains\base_domain\lib\spring-security-crypto-3.1.0.RELEASE.jar;E:\Oracle\Middleware\user_projects\domains\base_domain\lib\spring-security-web-3.1.0.RELEASE.jar>
<2014-9-24 上午10时57分40秒 CST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Oracle JRockit(R) Version R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32 from Oracle Corporation>
<2014-9-24 上午10时57分41秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 >
<2014-9-24 上午10时57分42秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2014-9-24 上午10时57分42秒 CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<2014-9-24 上午10时57分43秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2014-9-24 上午10时57分43秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log00012. Log messages will continue to be logged in E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log.>
<2014-9-24 上午10时57分43秒 CST> <Notice> <Log Management> <BEA-170019> <The server log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\AdminServer.log is opened. All server side log events will be written to this file.>
<2014-9-24 上午10时57分46秒 CST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<2014-9-24 上午10时57分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<2014-9-24 上午10时57分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<2014-9-24 上午10时57分49秒 CST> <Notice> <LoggingService> <BEA-320400> <The log file E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\base_domain.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
<2014-9-24 上午10时57分49秒 CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\base_domain.log00012. Log messages will continue to be logged in E:\Oracle\Middleware\user_projects\domains\base_domain\servers\AdminServer\logs\base_domain.log.>
<2014-9-24 上午10时57分49秒 CST> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<2014-9-24 上午10时57分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<2014-9-24 上午10时57分49秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<2014-9-24 上午10时57分55秒 CST> <Error> <HTTP> <BEA-101163> <Could not load user defined listener: org.springframework.web.context.ContextLoaderListener
java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
<2014-9-24 上午10时57分55秒 CST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1411527470470' for task '0'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
<2014-9-24 上午10时57分56秒 CST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application '_appsdir_soaplatform_dir'.>
<2014-9-24 上午10时57分56秒 CST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:393)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:64)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
Truncated. see log file for complete stacktrace
>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on fe80:0:0:0:1818:8eae:9751:89da:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on 192.168.1.137:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 2001:0:5ef5:79fb:be:130:3f57:fe76:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[6]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on fe80:0:0:0:0:5efe:c0a8:189:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on fe80:0:0:0:be:130:3f57:fe76:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <Server> <BEA-002613> <Channel "Default[5]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<2014-9-24 上午10时57分56秒 CST> <Notice> <WebLogicServer> <BEA-000331> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Development Mode>
<2014-9-24 上午10时57分56秒 CST> <Warning> <Server> <BEA-002611> <Hostname "qiuyb-PC", maps to multiple IP addresses: 192.168.1.137, fe80:0:0:0:1818:8eae:9751:89da%26, fe80:0:0:0:be:130:3f57:fe76%12, 2001:0:5ef5:79fb:be:130:3f57:fe76>
<2014-9-24 上午10时57分57秒 CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<2014-9-24 上午10时57分57秒 CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

项目在tomcat 上部署是没有问题的...
使用的weblogic是10.3.5版本
...全文
927 5 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
dahai2659279 2015-04-14
  • 打赏
  • 举报
回复
引用 2 楼 szx0704 的回复:
[quote=引用 1 楼 magi1201 的回复:] Caused By: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) 先检查下,看是否部署包中缺少jar包了
有引入这些包的,不然在tomcat上部署也会出错的。都不知道weblogic为什么会包这个错误[/quote] 不好意思,新建的项目里有好几个WEB-INF文件夹,该在哪个里添加呢?
dahai2659279 2015-04-14
  • 打赏
  • 举报
回复
不好意思,WEB-INF有好几个,在哪个里添加呢?
姜小白- 2014-09-24
  • 打赏
  • 举报
回复
Caused By: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) 先检查下,看是否部署包中缺少jar包了
姜小白- 2014-09-24
  • 打赏
  • 举报
回复
有可能是项目jar包冲突的问题 在WEB-INF 目录下面新建weblogic.xml文件 添加

<wls:container-descriptor>
      <wls:prefer-web-inf-classes>true</wls:prefer-web-inf-classes>
  </wls:container-descriptor>
让先加载项目的jar,后加载WebLogic的jar 参考 WebLogic 下j2ee 项目部署注意点
szx0704 2014-09-24
  • 打赏
  • 举报
回复
引用 1 楼 magi1201 的回复:
Caused By: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297) 先检查下,看是否部署包中缺少jar包了
有引入这些包的,不然在tomcat上部署也会出错的。都不知道weblogic为什么会包这个错误

67,550

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧