users@jax-ws.java.net

failed to parse runtime descriptor: java.lang.VerifyError

From: Sören Chittka <soeren.chittka_at_volkswohl-bund.de>
Date: Tue, 16 Jan 2007 16:41:47 +0100

Hi,

I created a Webservice based on JAX-WS RI and JAX-B RI (included in
WSIT-libs) and everything works fine on my Tomcat development server.

Now I have to deploy this application into production where we use
Websphere 6.1 on IBM JDK 1.5 (I really don't know why we do so -
politics *sigh*).
I already changed all those classloader-settings in Websphere to load my
provided JAX-WS and JAX-B libraries and not the j2ee-(1.4)-classes,
which are included in Websphere.

Now on server-startup I get the following exception and stacktrace and I
don't have any idea how to fix it.

WSSERVLET11: failed to parse runtime descriptor: java.lang.VerifyError
         at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:103)
         at
com.ibm.ws.wswebcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:608)
         at
com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:266)
         at
com.ibm.ws.wswebcontainer.webapp.WebApp.initialize(WebApp.java:272)
         at
com.ibm.ws.wswebcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:88)
         at
com.ibm.ws.wswebcontainer.VirtualHost.addWebApplication(VirtualHost.java:157)
         at
com.ibm.ws.wswebcontainer.WebContainer.addWebApp(WebContainer.java:655)
         at
com.ibm.ws.wswebcontainer.WebContainer.addWebApplication(WebContainer.java:608)
         at
com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:333)
         at
com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:549)
         at
com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1295)
         at
com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1129)
         at
com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:567)
         at
com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:814)
         at
com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:948)
         at
com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2114)
         at
com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:340)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)
Caused by: java.lang.VerifyError
         at
com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:186)
         at java.lang.J9VMInternals.initializeImpl(Native Method)
         at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
         at
com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:25)
         at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:89)
         at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:42)
         at
com.sun.xml.bind.v2.model.impl.ModelBuilder.<init>(ModelBuilder.java:114)
         at
com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.<init>(RuntimeModelBuilder.java:49)
         at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389)
         at
com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253)
         at
com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84)
         at
com.sun.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:86)
         at
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:126)
         at
com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:125)
         at
java.security.AccessController.doPrivileged(AccessController.java:241)
         at
com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:124)
         at
com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:63)
         at
com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
         at
com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:304)
         at
com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:170)
         at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)
         at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:231)
         at
com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:132)
         at
com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:93)
         ... 17 more

-- 
Seems like this error happens somewhere inside the static initialization 
of JAX-B.
Any suggestions?
I really need help with this.
Regards,
Sören Chittka
Mit freundlichen Grüßen
V O L K S W O H L   B U N D
Lebensversicherung a.G.
Sachversicherung Aktiengesellschaft
Südwall 37 - 41
44137 Dortmund
Sören Chittka, EDV-Systementwicklung
Telefon: 0231/5433-471
Telefax: 0231/5433-350
E-Mail: soeren.chittka_at_volkswohl-bund.de