cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sudheer <SudheerThu...@saimail.com>
Subject Re: Issue in deploying cxf3.0.2.jar in Websphere 8.5
Date Tue, 20 Jan 2015 10:57:37 GMT

Anshul Bhatt <abhatt4@...> writes:

> 
> Hi Team,
> 
> We are facing one issue with the websphere application server 8.5 
standalone environment and we are unable
> to fix that, require your help so that they can take it further,
> 
> Isuue description is mentioned below:
> 
> I am using apache cxf in my application but while deploying the same 
in IBM websphere 8.5, I am getting below
> exception. This seems to be the issue with version of apache neethi 
jar which apache cxf  internally refers
> where WAS internally has some older version of the same and while 
deploying the application it is picking
> the older version of neethi.jar from WAS as compared to newer version.
> 
> I followed several post in IBM and other forum where this seems to be 
a common problem with apache cxf with
> websphere where it was asked to change the class loader configuration 
in application to make it "parent
> last", so that it doesn't pick the same from WAS . I did the same as 
well (as snapshot attached in below email
> thread), but still this error appears on application load.
> 
> Please check and let me know if you can provide any input.
> 
> Caused by: org.apache.cxf.bus.extension.ExtensionException: Could not 
load extension class 
org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.
>        at 
org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:182)
>        at 
org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:194
)
>        at 
org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(Exte
nsionManagerImpl.java:142)
>        at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>
(ExtensionManagerBus.java:126)
>        at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>
(ExtensionManagerBus.java:138)
>        at org.apache.cxf.bus.spring.SpringBus.<init>
(SpringBus.java:46)
>        at 
org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor.getBusForNam
e(BusWiringBeanFactoryPostProcessor.java:72)
>        at 
org.apache.cxf.bus.spring.BusWiringBeanFactoryPostProcessor.addDefaultBu
s(BusWiringBeanFactoryPostProcessor.java:188)
>        at 
org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSS
pringClientProxyFactoryBean.setApplicationContext(JaxWsProxyFactoryBeanD
efinitionParser.java:74)
>        at 
org.springframework.context.support.ApplicationContextAwareProcessor.inv
okeAwareInterfaces(ApplicationContextAwareProcessor.java:117)
>        at 
org.springframework.context.support.ApplicationContextAwareProcessor.pos
tProcessBeforeInitialization(ApplicationContextAwareProcessor.java:92)
>        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapable
BeanFactory.java:408)
>        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.initializeBean(AbstractAutowireCapableBeanFactory.java:1560)
>        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
>        ... 122 more
> Caused by: java.lang.IncompatibleClassChangeError: 
org.apache.neethi.AssertionBuilderFactory
>        at java.lang.ClassLoader.defineClassImpl(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:295)
>        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
>        at 
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoa
der.java:853)
>        at 
com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassL
oader.java:763)
>        at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader
.java:586)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:690)
>        at java.lang.ClassLoader.defineClassImpl(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:295)
>        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:154)
>        at 
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoa
der.java:853)
>        at 
com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassL
oader.java:763)
>        at 
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader
.java:586)
>        at java.lang.ClassLoader.loadClass(ClassLoader.java:690)
>        at 
org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:163)
>        ... 135 more
> 
> We tried to fix it by using the below mentioned link:
> 
> http://public.dhe.ibm.com/software/dw/wes/1001_thaker/1001_thaker.pdf
> 
> but after this we are facing the below error
> 
> [11/17/14 15:23:32:119 IST] 0000009d SystemErr     R 
com.ibm.ws.exception.RuntimeWarning:
> com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to 
load webapp: Failed to
> load webapp: javax.servlet.ServletContainerInitializer: Provider
> org.springframework.web.SpringServletContainerInitializer could not be 
instantiated:
> java.lang.VerifyError: JVMVRFY013 class loading constraint 
violated&#59;
> class=org/springframework/web/SpringServletContainerInitializer,
> 
method=onStartup&#40;Ljava/util/Set&#59;Ljavax/servlet/S
ervletContext&#59;&#41;V, pc=0
> [11/17/14 15:23:32:120 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerI
mpl.java:432)
> [11/17/14 15:23:32:121 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImp
l.java:718)
> [11/17/14 15:23:32:121 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.java:1175)
> [11/17/14 15:23:32:122 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectS
tart(DeployedApplicationImpl.java:1370)
> [11/17/14 15:23:32:122 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl
.java:639)
> [11/17/14 15:23:32:122 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedAppli
cationImpl.java:968)
> [11/17/14 15:23:32:123 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tionMgrImpl.java:774)
> [11/17/14 15:23:32:123 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamica
lly(ApplicationMgrImpl.java:1374)
> [11/17/14 15:23:32:123 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl
.java:2179)
> [11/17/14 15:23:32:124 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUni
tMgrImpl.java:445)
> [11/17/14 15:23:32:124 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitIm
pl.java:123)
> [11/17/14 15:23:32:125 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUni
tMgrImpl.java:388)
> [11/17/14 15:23:32:125 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(Compositi
onUnitMgrImpl.java:116)
> [11/17/14 15:23:32:126 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUni
tMgrImpl.java:663)
> [11/17/14 15:23:32:126 IST] 0000009d SystemErr     R   at 
com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.jav
a:5384)
> [11/17/14 15:23:32:127 IST] 0000009d SystemErr     R   at 
com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerIm
pl.java:5600)
> [11/17/14 15:23:32:127 IST] 0000009d SystemErr     R   at 
com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.jav
a:255)
> [11/17/14 15:23:32:128 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit
(CompositionUnitMgrImpl.java:677)
> [11/17/14 15:23:32:130 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit
(CompositionUnitMgrImpl.java:621)
> [11/17/14 15:23:32:131 IST] 0000009d SystemErr     R   at 
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(Applica
tionMgrImpl.java:1266)
> [11/17/14 15:23:32:131 IST] 0000009d SystemErr     R   at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [11/17/14 15:23:32:131 IST] 0000009d SystemErr     R   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:88)
> [11/17/14 15:23:32:132 IST] 0000009d SystemErr     R   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:55)
> [11/17/14 15:23:32:132 IST] 0000009d SystemErr     R   at 
java.lang.reflect.Method.invoke(Method.java:613)
> [11/17/14 15:23:32:132 IST] 0000009d SystemErr     R   at 
sun.reflect.misc.Trampoline.invoke(MethodUtil.java:68)
> [11/17/14 15:23:32:133 IST] 0000009d SystemErr     R   at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [11/17/14 15:23:32:133 IST] 0000009d SystemErr     R   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:88)
> [11/17/14 15:23:32:133 IST] 0000009d SystemErr     R   at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:55)
> [11/17/14 15:23:32:133 IST] 0000009d SystemErr     R   at 
java.lang.reflect.Method.invoke(Method.java:613)
> [11/17/14 15:23:32:337 IST] 0000009d SystemErr     R   at 
sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
> [11/17/14 15:23:32:338 IST] 0000009d SystemErr     R   at 
javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.
java:1256)
> [11/17/14 15:23:32:338 IST] 0000009d SystemErr     R   at 
java.security.AccessController.doPrivileged(AccessController.java:252)
> [11/17/14 15:23:32:338 IST] 0000009d SystemErr     R   at 
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomai
n.java:87)
> [11/17/14 15:23:32:339 IST] 0000009d SystemErr     R   at 
javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredMode
lMBean.java:1250)
> [11/17/14 15:23:32:339 IST] 0000009d SystemErr     R   at 
javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean
.java:1088)
> [11/17/14 15:23:32:339 IST] 0000009d SystemErr     R   at 
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBea
nServerInterceptor.java:831)
> [11/17/14 15:23:32:340 IST] 0000009d SystemErr     R   at 
com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:804)
> [11/17/14 15:23:32:341 IST] 0000009d SystemErr     R   at 
com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
> [11/17/14 15:23:32:344 IST] 0000009d SystemErr     R   at 
com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.
java:118)
> [11/17/14 15:23:32:349 IST] 0000009d SystemErr     R   at 
com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228
)
> [11/17/14 15:23:32:349 IST] 0000009d SystemErr     R   at 
com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(Ad
minServiceCommands.java:251)
> [11/17/14 15:23:32:350 IST] 0000009d SystemErr     R   at 
com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:241)
> [11/17/14 15:23:32:350 IST] 0000009d SystemErr     R   at 
com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.e
xecute(ApplicationDeploymentCollectionAction.java:578)
> [11/17/14 15:23:32:350 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.RequestProcessor.processActionPerform(Unknown 
Source)
> [11/17/14 15:23:32:351 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.RequestProcessor.process(Unknown Source)
> [11/17/14 15:23:32:351 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.ActionServlet.process(Unknown Source)
> [11/17/14 15:23:32:351 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.ActionServlet.doPost(Unknown Source)
> [11/17/14 15:23:32:352 IST] 0000009d SystemErr     R   at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> [11/17/14 15:23:32:352 IST] 0000009d SystemErr     R   at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> [11/17/14 15:23:32:352 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1227)
> [11/17/14 15:23:32:352 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:776)
> [11/17/14 15:23:32:353 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:458)
> [11/17/14 15:23:32:353 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(Servlet
WrapperImpl.java:178)
> [11/17/14 15:23:32:353 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilt
erChain.java:136)
> [11/17/14 15:23:32:353 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:79)
> [11/17/14 15:23:32:354 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:928)
> [11/17/14 15:23:32:354 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppF
ilterManager.java:1025)
> [11/17/14 15:23:32:354 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRe
questDispatcher.java:1385)
> [11/17/14 15:23:32:355 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppReq
uestDispatcher.java:194)
> [11/17/14 15:23:32:355 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
> [11/17/14 15:23:32:355 IST] 0000009d SystemErr     R   at
> org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown 
Source)
> [11/17/14 15:23:32:355 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown 
Source)
> [11/17/14 15:23:32:356 IST] 0000009d SystemErr     R   at
> 
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unkno
wn Source)
> [11/17/14 15:23:32:356 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.RequestProcessor.process(Unknown Source)
> [11/17/14 15:23:32:356 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.ActionServlet.process(Unknown Source)
> [11/17/14 15:23:32:357 IST] 0000009d SystemErr     R   at
> org.apache.struts.action.ActionServlet.doPost(Unknown Source)
> [11/17/14 15:23:32:357 IST] 0000009d SystemErr     R   at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
> [11/17/14 15:23:32:357 IST] 0000009d SystemErr     R   at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
> [11/17/14 15:23:32:358 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.ja
va:1227)
> [11/17/14 15:23:32:359 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:776)
> [11/17/14 15:23:32:361 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrap
per.java:458)
> [11/17/14 15:23:32:362 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(Servlet
WrapperImpl.java:178)
> [11/17/14 15:23:32:362 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilt
erChain.java:136)
> [11/17/14 15:23:32:362 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:97)
> [11/17/14 15:23:32:363 IST] 0000009d SystemErr     R   at 
com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCU
rlFilter.java:955)
> [11/17/14 15:23:32:363 IST] 0000009d SystemErr     R   at 
com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WS
CUrlFilter.java:504)
> [11/17/14 15:23:32:363 IST] 0000009d SystemErr     R   at 
com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:
325)
> [11/17/14 15:23:32:364 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInst
anceWrapper.java:195)
> [11/17/14 15:23:32:364 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterCh
ain.java:91)
> [11/17/14 15:23:32:364 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilter
Manager.java:928)
> [11/17/14 15:23:32:364 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppF
ilterManager.java:1025)
> [11/17/14 15:23:32:365 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheS
ervletWrapper.java:87)
> [11/17/14 15:23:32:365 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909
)
> [11/17/14 15:23:32:365 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java
:1662)
> [11/17/14 15:23:32:366 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:2
00)
> [11/17/14 15:23:32:366 IST] 0000009d SystemErr     R   at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscriminatio
n(HttpInboundLink.java:459)
> [11/17/14 15:23:32:366 IST] 0000009d SystemErr     R   at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(Ht
tpInboundLink.java:526)
> [11/17/14 15:23:32:366 IST] 0000009d SystemErr     R   at 
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(Http
InboundLink.java:312)
> [11/17/14 15:23:32:367 IST] 0000009d SystemErr     R   at 
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpIC
LReadCallback.java:88)
> [11/17/14 15:23:32:367 IST] 0000009d SystemErr     R   at 
com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(Ai
oReadCompletionListener.java:175)
> [11/17/14 15:23:32:367 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.
java:217)
> [11/17/14 15:23:32:368 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFu
ture.java:161)
> [11/17/14 15:23:32:368 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
> [11/17/14 15:23:32:369 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
> [11/17/14 15:23:32:369 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java
:775)
> [11/17/14 15:23:32:369 IST] 0000009d SystemErr     R   at 
com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
> [11/17/14 15:23:32:370 IST] 0000009d SystemErr     R   at 
com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
> [11/17/14 15:23:32:370 IST] 0000009d SystemErr     R Caused by:
> com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to 
load webapp: Failed to
> load webapp: javax.servlet.ServletContainerInitializer: Provider
> org.springframework.web.SpringServletContainerInitializer could not be 
instantiated:
> java.lang.VerifyError: JVMVRFY013 class loading constraint 
violated&#59;
> class=org/springframework/web/SpringServletContainerInitializer,
> 
method=onStartup&#40;Ljava/util/Set&#59;Ljavax/servlet/S
ervletContext&#59;&#41;V, pc=0
> [11/17/14 15:23:32:371 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:759
)
> [11/17/14 15:23:32:372 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.
java:634)
> [11/17/14 15:23:32:372 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerI
mpl.java:426)
> [11/17/14 15:23:32:373 IST] 0000009d SystemErr     R   ... 96 more
> [11/17/14 15:23:32:373 IST] 0000009d SystemErr     R Caused by:
> com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to 
load webapp:
> javax.servlet.ServletContainerInitializer: Provider
> org.springframework.web.SpringServletContainerInitializer could not be 
instantiated:
> java.lang.VerifyError: JVMVRFY013 class loading constraint 
violated;
> class=org/springframework/web/SpringServletContainerInitializer,
> 
method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext
9;)V, pc=0
> [11/17/14 15:23:32:375 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImp
l.java:176)
> [11/17/14 15:23:32:376 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746
)
> [11/17/14 15:23:32:376 IST] 0000009d SystemErr     R   ... 98 more
> [11/17/14 15:23:32:377 IST] 0000009d SystemErr     R Caused by: 
java.util.ServiceConfigurationError:
> javax.servlet.ServletContainerInitializer: Provider
> org.springframework.web.SpringServletContainerInitializer could not be 
instantiated:
> java.lang.VerifyError: JVMVRFY013 class loading constraint violated;
> class=org/springframework/web/SpringServletContainerInitializer,
> method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
> [11/17/14 15:23:32:378 IST] 0000009d SystemErr     R   at 
java.util.ServiceLoader.fail(ServiceLoader.java:235)
> [11/17/14 15:23:32:379 IST] 0000009d SystemErr     R   at 
java.util.ServiceLoader.access$100(ServiceLoader.java:192)
> [11/17/14 15:23:32:379 IST] 0000009d SystemErr     R   at 
java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:388)
> [11/17/14 15:23:32:380 IST] 0000009d SystemErr     R   at 
java.util.ServiceLoader$1.next(ServiceLoader.java:456)
> [11/17/14 15:23:32:380 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInit
ializers(WebAppImpl.java:535)
> [11/17/14 15:23:32:380 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:409
)
> [11/17/14 15:23:32:380 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupIm
pl.java:88)
> [11/17/14 15:23:32:381 IST] 0000009d SystemErr     R   at 
com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImp
l.java:169)
> [11/17/14 15:23:32:381 IST] 0000009d SystemErr     R   ... 99 more
> [11/17/14 15:23:32:382 IST] 0000009d SystemErr     R Caused by: 
java.lang.VerifyError: JVMVRFY013 class
> loading constraint violated;
> class=org/springframework/web/SpringServletContainerInitializer,
> method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
> [11/17/14 15:23:32:383 IST] 0000009d SystemErr     R   at 
java.lang.J9VMInternals.verifyImpl(Native Method)
> [11/17/14 15:23:32:385 IST] 0000009d SystemErr     R   at 
java.lang.J9VMInternals.verify(J9VMInternals.java:93)
> [11/17/14 15:23:32:387 IST] 0000009d SystemErr     R   at 
java.lang.J9VMInternals.initialize(J9VMInternals.java:170)
> [11/17/14 15:23:32:392 IST] 0000009d SystemErr     R   at
> java.lang.J9VMInternals.newInstanceImpl(Native Method)
> [11/17/14 15:23:32:394 IST] 0000009d SystemErr     R   at 
java.lang.Class.newInstance(Class.java:1600)
> [11/17/14 15:23:32:395 IST] 0000009d SystemErr     R   at 
java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:384)
> [11/17/14 15:23:32:395 IST] 0000009d SystemErr     R   ... 104 more
> 
> Any help would be appreciated.
> 
> Thanks
> Regards
> Anshul Bhatt
> Senior Associate L1 Infra
> -
> SapientNitro
> 8th Floor, Tower B, Building 8
> Gurgaon (Haryana) 122016  IN
> 
> Phone  +91-124-489-9000 extn:67617
> mobile  981-826-2404
> 
> 

Hi Anshul,
  Did you find  any solution for the below problem? I am also facing the 
same problem. In case if you had already found a solution for this 
please let me know.

Regards,
Sudheer





Mime
View raw message