WAS 8.5中违反了类加载约束

时间:2014-03-07 12:53:08

标签: websphere classloader

我正在尝试在WAS 8.5上部署Web服务,并且在启动应用程序时,我在服务器日志中收到以下异常。此服务之前在WAS 7上运行。

我已经将类加载配置更改为父级最后并进行了测试,但没有运气。 我的装配中有jersey-server 1.9.1。

有没有人对此有任何想法?

提前致谢。

[3/7/14 6:42:30:854 CST] 00000067 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I:在C:\ websphere \ appserver \ profiles \ appsrv01上发出的FFDC事件logs \ ffdc \ HDATA_eaodr01_28fb9514_14.03.07_06.42.30.8542488091000782805797.txt com.ibm.wsspi.runtime.component.WsComponentImpl 297 [3/7/14 6:42:30:854 CST] 00000001 ContainerHelp E WSVR0501E:创建组件时出错com.ibm.ws.runtime.component.CompositionUnitMgrImpl@76c05e49 com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException:无法加载webapp:无法加载webapp:违反了JVMVRFY013类加载约束; class = com / sun / jersey / server / impl / container / servlet / JerseyServletContainerInitializer,method = onStartup(Ljava / util / Set; Ljavax / servlet / ServletContext;)V,pc = 0     在com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:432)     在com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1173)     at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)     在com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)     在com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:772)     在com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2175)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)     在com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access $ 500(CompositionUnitMgrImpl.java:116)     在com.ibm.ws.runtime.component.CompositionUnitMgrImpl $ CUInitializer.run(CompositionUnitMgrImpl.java:994)     at com.ibm.wsspi.runtime.component.WsComponentImpl $ _AsynchInitializer.run(WsComponentImpl.java:496)     在com.ibm.ws.util.ThreadPool $ Worker.run(ThreadPool.java:1815) 引起:com.ibm.ws.webcontainer.exception.WebAppNotLoadedException:无法加载webapp:无法加载webapp:违反了JVMVRFY013类加载约束; class = com / sun / jersey / server / impl / container / servlet / JerseyServletContainerInitializer,method = onStartup(Ljava / util / Set; Ljavax / servlet / ServletContext;)V,pc = 0     在com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:759)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)     在com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)     ......还有14个 引起:com.ibm.ws.webcontainer.exception.WebAppNotLoadedException:无法加载webapp:违反了JVMVRFY013类加载约束; class = com / sun / jersey / server / impl / container / servlet / JerseyServletContainerInitializer,method = onStartup(Ljava / util / Set; Ljavax / servlet / ServletContext;)V,pc = 0     在com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:176)     在com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)     ......还有16个 引起:java.lang.VerifyError:违反JVMVRFY013类加载约束; class = com / sun / jersey / server / impl / container / servlet / JerseyServletContainerInitializer,method = onStartup(Ljava / util / Set; Ljavax / servlet / ServletContext;)V,pc = 0     at java.lang.J9VMInternals.verifyImpl(Native Method)     at java.lang.J9VMInternals.verify(J9VMInternals.java:93)     在java.lang.J9VMInternals.initialize(J9VMInternals.java:170)     at java.lang.J9VMInternals.newInstanceImpl(Native Method)     在java.lang.Class.newInstance(Class.java:1564)     at java.util.ServiceLoader $ ServiceIterator.next(ServiceLoader.java:216)     在com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:535)     在com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409)     在com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)     在com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)     ......还有17个

1 个答案:

答案 0 :(得分:2)

此技术说明可能对您有所帮助: http://www-01.ibm.com/support/docview.wss?uid=nas8N1011249