chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (CMIS-956) Webservices binding fails to load repositories when deployed in WebSphere Application server
Date Thu, 12 Nov 2015 15:09:10 GMT

     [ https://issues.apache.org/jira/browse/CMIS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Florian Müller resolved CMIS-956.
---------------------------------
    Resolution: Not A Problem

> Webservices binding fails to load repositories when deployed in WebSphere Application
server 
> ---------------------------------------------------------------------------------------------
>
>                 Key: CMIS-956
>                 URL: https://issues.apache.org/jira/browse/CMIS-956
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.13.0
>         Environment: Windows Server 2012/ RHEL, tomcat/ WAS. Open CMIS 0.13.0 / Tip build,
IBM FileNet repository
>            Reporter: Srinivas Gannavarapu
>            Priority: Critical
>             Fix For: OpenCMIS 0.14.0
>
>         Attachments: SystemOut_OpenCMIS_Inmemory.log
>
>
> IBM FileNet CMIS leveraging opencmis 0.13.0 tip build is deployed into IBM Webspehere
Application server 8.5.0.2. Webservices binding selected in Workbench failes to load the repositories
(atompub and browser works fine). All bindings works fine in tomcat 7.0.47
> Also verified deploying in-memory repository in WAS that resulted in the same error.

> Here is the error stack trace where the error is coming up from opencmis code
> [11/12/15 6:15:37:496 PST] 0000010e XmlWebApplica W org.springframework.context.support.AbstractApplicationContext
refresh Exception encountered during context initialization - cancelling refresh attempt
>                                  org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'cxf' defined in class path resource [META-INF/cxf/cxf.xml]:
Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException:
Failed to instantiate [org.apache.cxf.bus.spring.SpringBus]: Constructor threw exception;
nested exception is org.apache.cxf.bus.extension.ExtensionException: Could not load extension
class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1101)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
> 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
> 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
> 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
> 	at org.apache.cxf.transport.servlet.CXFServlet.createSpringContext(CXFServlet.java:151)
> 	at org.apache.cxf.transport.servlet.CXFServlet.loadBus(CXFServlet.java:74)
> 	at org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.loadBus(CmisWebServicesServlet.java:257)
> 	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.init(CXFNonSpringServlet.java:77)
> 	at org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.init(CmisWebServicesServlet.java:105)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:337)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.init(ServletWrapperImpl.java:168)
> 	at com.ibm.ws.webcontainer.servlet.ServletWrapper.load(ServletWrapper.java:1369)
> 	at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:982)
> 	at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
> 	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:908)
> 	at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
> 	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
> 	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
> 	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
> 	at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
> 	at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
> 	at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
> 	at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
> 	at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
> 	at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
> 	at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
> 	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1815)
> Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.apache.cxf.bus.spring.SpringBus]: Constructor threw exception; nested exception is org.apache.cxf.bus.extension.ExtensionException:
Could not load extension class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl.
> 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
> 	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1094)
> 	... 37 more
> 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:183)
> 	at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:199)
> 	at org.apache.cxf.bus.extension.ExtensionManagerImpl.activateAllByType(ExtensionManagerImpl.java:144)
> 	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:179)
> 	at org.apache.cxf.bus.extension.ExtensionManagerBus.<init>(ExtensionManagerBus.java:191)
> 	at org.apache.cxf.bus.spring.SpringBus.<init>(SpringBus.java:45)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:56)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:527)
> 	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
> 	... 39 more
> Caused by: java.lang.IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory
> 	at java.lang.ClassLoader.defineClassImpl(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:264)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
> 	at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:853)
> 	at com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassLoader.java:763)
> 	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:586)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:650)
> 	at java.lang.ClassLoader.defineClassImpl(Native Method)
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:264)
> 	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
> 	at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:853)
> 	at com.ibm.ws.classloader.CompoundClassLoader.localFindClass(CompoundClassLoader.java:763)
> 	at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:586)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:650)
> 	at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:164)
> 	... 49 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message