chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishna Penugonda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-420) CMIS provided JAX-WS/JAXB engine compatibility issues when using IBM Webshere server
Date Thu, 18 Aug 2011 14:50:28 GMT

    [ https://issues.apache.org/jira/browse/CMIS-420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087041#comment-13087041
] 

Krishna Penugonda commented on CMIS-420:
----------------------------------------

Already tried that. getting following error

[8/17/11 12:56:05:396 CDT] 00000011 http          E   WSSERVLET11: failed to parse runtime
descriptor: java.lang.VerifyError: JVMVRFY013 class loading constraint violated; class=com/sun/xml/bind/DatatypeConverterImpl,
method=parseQName(Ljava/lang/String;Ljavax/xml/namespace/NamespaceContext;)Ljavax/xml/namespace/QName;,
pc=0
                                 java.lang.VerifyError: JVMVRFY013 class loading constraint
violated; class=com/sun/xml/bind/DatatypeConverterImpl, method=parseQName(Ljava/lang/String;Ljavax/xml/namespace/NamespaceContext;)Ljavax/xml/namespace/QName;,
pc=0
	at java.lang.J9VMInternals.verifyImpl(Native Method)
	at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:273)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:272)
	at java.security.AccessController.doPrivileged(AccessController.java:202)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:271)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1111)
	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:214)
	at javax.xml.bind.ContextFinder.find(ContextFinder.java:375)
	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:586)
	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:534)
	at org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler.<clinit>(AuthHandler.java:72)
	at java.lang.J9VMInternals.initializeImpl(Native Method)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
	at java.lang.Class.forNameImpl(Native Method)
	at java.lang.Class.forName(Class.java:172)
	at com.sun.xml.ws.handler.HandlerChainsModel.loadClass(HandlerChainsModel.java:365)
	at com.sun.xml.ws.handler.HandlerChainsModel.parseHandlerFile(HandlerChainsModel.java:268)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.setHandlersAndRoles(DeploymentDescriptorParser.java:474)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:250)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1681)
	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:374)
	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:609)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2046)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:110)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:949)
	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)

[8/17/11 12:56:05:740 CDT] 00000011 FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident
FFDC1003I: FFDC Incident emitted on C:\Apps\IBM\SDP\runtimes\base_v7\profiles\TECM\logs\ffdc\server1_53c053c0_11.08.17_12.56.05.631558813442409353790.txt
com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated 1341
[8/17/11 12:56:05:756 CDT] 00000011 webapp        E com.ibm.ws.webcontainer.webapp.WebApp
notifyServletContextCreated SRVE0283E: Exception caught while initializing context: {0}
                                 com.sun.xml.ws.transport.http.servlet.WSServletException:
WSSERVLET11: failed to parse runtime descriptor: java.lang.VerifyError: JVMVRFY013 class loading
constraint violated; class=com/sun/xml/bind/DatatypeConverterImpl, method=parseQName(Ljava/lang/String;Ljavax/xml/namespace/NamespaceContext;)Ljavax/xml/namespace/QName;,
pc=0
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:118)
	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1681)
	at com.ibm.ws.webcontainer.webapp.WebApp.commonInitializationFinish(WebApp.java:374)
	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:299)
	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:100)
	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:166)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:731)
	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:616)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:376)
	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:668)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1122)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1319)
	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:609)
	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:944)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:725)
	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2046)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:439)
	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:382)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:110)
	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:949)
	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1563)
Caused by: java.lang.VerifyError: JVMVRFY013 class loading constraint violated; class=com/sun/xml/bind/DatatypeConverterImpl,
method=parseQName(Ljava/lang/String;Ljavax/xml/namespace/NamespaceContext;)Ljavax/xml/namespace/QName;,
pc=0
	at java.lang.J9VMInternals.verifyImpl(Native Method)
	at java.lang.J9VMInternals.verify(J9VMInternals.java:72)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:273)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$3.run(JAXBContextImpl.java:272)
	at java.security.AccessController.doPrivileged(AccessController.java:202)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:271)
	at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1111)
	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:154)
	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:121)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:600)
	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:214)
	at javax.xml.bind.ContextFinder.find(ContextFinder.java:375)
	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:586)
	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:534)
	at org.apache.chemistry.opencmis.server.impl.webservices.AuthHandler.<clinit>(AuthHandler.java:72)
	at java.lang.J9VMInternals.initializeImpl(Native Method)
	at java.lang.J9VMInternals.initialize(J9VMInternals.java:200)
	at java.lang.Class.forNameImpl(Native Method)
	at java.lang.Class.forName(Class.java:172)
	at com.sun.xml.ws.handler.HandlerChainsModel.loadClass(HandlerChainsModel.java:365)
	at com.sun.xml.ws.handler.HandlerChainsModel.parseHandlerFile(HandlerChainsModel.java:268)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.setHandlersAndRoles(DeploymentDescriptorParser.java:474)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parseAdapters(DeploymentDescriptorParser.java:250)
	at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:147)
	at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
	... 22 more

> CMIS provided JAX-WS/JAXB engine compatibility issues when using IBM Webshere server
> ------------------------------------------------------------------------------------
>
>                 Key: CMIS-420
>                 URL: https://issues.apache.org/jira/browse/CMIS-420
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.4.0
>         Environment: Websphere 7.0
> JRE1.6
> Spring 2.5.5
> Linux
>            Reporter: Krishna Penugonda
>            Priority: Critical
>             Fix For: OpenCMIS 0.4.0
>
>
> We have created CMIS services as per the OpenCMIS package from Apache Chemistry. Since
OpenCMIS uses the Sun JAX-WS/JAXB runtimes, we are seeing conflicts between Sun's implementation
of JAX-WS and WebSphere 7's JAX-WS runtime. 
> When processing SOAP faults within the OpenCMIS package, we get ClassCastExceptions where
it's clear that WebSphere's JAXB implementation is being used instead of Sun's JAXB implementation.
The exact error is: 
> Caused by: java.lang.ClassCastException: com.ibm.xml.xlxp2.jaxb.JAXBContextImpl incompatible
with com.sun.xml.bind.api.JAXBRIContext
> at com.sun.xml.ws.fault.SOAPFaultBuilder.<clinit>(SOAPFaultBuilder.java:544)
> at java.lang.J9VMInternals.initializeImpl(Native Method)
> Please help us and suggest a solution in getting these issues resolved.
> Thanks in advance.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message