chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinivas Nv Gannavarapu" <srinivas.gannavar...@in.ibm.com>
Subject How to make opencmis 0.14.0 work with webservices binding in WAS
Date Wed, 28 Oct 2015 11:49:06 GMT



Hi

We are trying to leverage the new opencmis 0.14.0 (tip build of 0.13.0) in
IBM FileNet CMIS and could successfully build after few changes to our
build configurations and deployed in both tomcat 7.0.47 and WAS 8.5.0.2. To
verify, basic sanity, we executed simple tests using workbench.

Workbench with the Browser binding and Atompub binding, could connect to
the repository and add / checkout a document without any issues. But with
Webservices binding we are encountering the following error. (unable to
connect to the repository). Can someone help / share information to get
this working.


WebService binding(url:
http://localhost:8080/openfncmis/services/RepositoryServcie) not working.
Throwing error at framework level.

We are getting below exception when we tried to access  webservice binding
url from workbench. The error shown in stacktrace is from opencmis, not
sure is there any config misses from our side or known issue in opemcmis
0.14. It will be good if we can get help from Jay or some one from opencmis
team.


Error:




1836296 [http-bio-8080-exec-8] INFO
org.springframework.web.context.support.XmlWebApplicationContext  -
Refreshing Root WebApplicationContext: startup date [Tue Oct 20 05:40:50
PDT 2015]; root of context hierarchy
1836297 [http-bio-8080-exec-8] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading
XML bean definitions from class path resource [META-INF/cxf/cxf.xml]
1836326 [http-bio-8080-exec-8] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader  - Loading
XML bean definitions from URL
[jndi:/localhost/openfncmis/WEB-INF/cxf-servlet.xml]
Oct 20, 2015 5:40:50 AM org.apache.catalina.core.ApplicationContext log
SEVERE: StandardWrapper.Throwable
java.lang.IllegalAccessError: Class
org/springframework/context/event/AbstractApplicationEventMulticaster
illegally accessing "protected" member of class
org/springframework/beans/factory/support/AbstractBeanFactory
	at
org.springframework.context.event.AbstractApplicationEventMulticaster.setBeanFactory
(
AbstractApplicationEventMulticaster.java:84)
	at
org.springframework.context.event.SimpleApplicationEventMulticaster.<init>(
SimpleApplicationEventMulticaster.java:60)
	at
org.springframework.context.support.AbstractApplicationContext.initApplicationEventMulticaster
(
AbstractApplicationContext.java:667)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:471)
	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:76)
	at
org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.init
(
CmisWebServicesServlet.java:105)
	at org.apache.catalina.core.StandardWrapper.initServlet(
StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.allocate(
StandardWrapper.java:865)
	at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:136)
	at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(
AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol
$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(
JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1153)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(Thread.java:785)

Oct 20, 2015 5:40:50 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet cmisws10
java.lang.IllegalAccessError: Class
org/springframework/context/event/AbstractApplicationEventMulticaster
illegally accessing "protected" member of class
org/springframework/beans/factory/support/AbstractBeanFactory
	at
org.springframework.context.event.AbstractApplicationEventMulticaster.setBeanFactory
(
AbstractApplicationEventMulticaster.java:84)
	at
org.springframework.context.event.SimpleApplicationEventMulticaster.<init>(
SimpleApplicationEventMulticaster.java:60)
	at
org.springframework.context.support.AbstractApplicationContext.initApplicationEventMulticaster
(
AbstractApplicationContext.java:667)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:471)
	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:76)
	at
org.apache.chemistry.opencmis.server.impl.webservices.CmisWebServicesServlet.init
(
CmisWebServicesServlet.java:105)
	at org.apache.catalina.core.StandardWrapper.initServlet(
StandardWrapper.java:1280)
	at org.apache.catalina.core.StandardWrapper.loadServlet(
StandardWrapper.java:1193)
	at org.apache.catalina.core.StandardWrapper.allocate(
StandardWrapper.java:865)
	at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:136)
	at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:123)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:171)
	at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(
AccessLogValve.java:953)
	at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:408)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(
AbstractHttp11Processor.java:1041)
	at org.apache.coyote.AbstractProtocol
$AbstractConnectionHandler.process(AbstractProtocol.java:603)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(
JIoEndpoint.java:310)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1153)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:628)
	at java.lang.Thread.run(Thread.java:785)



Thanks in advance,
                                                                                        
                                                                                        
                                                                                        
 Srinivas Gannavarapu (Srini G)                                                         
 Senior Software Engineer                                                               
 IBM Analytics                                                                          
                                                                                        
 Phone: +91 40 669 57058                                                                
 E-mail:                                                                                
 srinivas.gannavarapu@in.ibm.com                                                        
                                                                                        
                                                                                        
                                                                                        









Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message