chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Syao Work <syao.w...@gmail.com>
Subject [OpenCMIS Jcr] war deploy
Date Tue, 11 Sep 2012 07:55:51 GMT
Hello,

We got an error deploying chemistry-opencmis-server-jcr-0.7.0.war on jetty
(or other container).
I as understand I need to change
war's/WEB-INF/classes/repository.properties file.
Problem is that it cant find
"org.apache.chemistry.opencmis.jcr.JcrServiceFactory" but it is bundled in
war as lib.
May be you have some thoughts on this error?

P.S. war is not hand extracted and deployed as it is.

[repository.properties file]_______________________________________________
class=org.apache.chemistry.opencmis.jcr.JcrServiceFactory

mount-path=/

# Properties prefixed by 'jcr.' are passed to the repository factory
verbatim
# after removing the 'jcr.' prefix.
jcr.org.apache.jackrabbit.repository.uri=file://<Jetty home>/jackrabbit
_______________________________________________________

__________________________________________________________________________________________________________
jetty-distribution-8.1.6.v20120903/webapps/chemistry-opencmis-server-jcr-0.7.0.war
org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException:
No JCR repository factory for configured parameters
    at
org.apache.chemistry.opencmis.jcr.JcrServiceFactory.acquireJcrRepository(JcrServiceFactory.java:119)
    at
org.apache.chemistry.opencmis.jcr.JcrServiceFactory.init(JcrServiceFactory.java:72)
    at
org.apache.chemistry.opencmis.server.impl.CmisRepositoryContextListener.createServiceFactory(CmisRepositoryContextListener.java:126)
    at
org.apache.chemistry.opencmis.server.impl.CmisRepositoryContextListener.contextInitialized(CmisRepositoryContextListener.java:56)
    at
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:771)
    at
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:411)
    at
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:763)
    at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:247)
    at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1238)
    at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:706)
    at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:480)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39)
    at
org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
    at
org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494)
    at
org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141)
    at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145)
    at
org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56)
    at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
    at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540)
    at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403)
    at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555)
    at
org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81)
    at
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58)
    at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96)
    at org.eclipse.jetty.server.Server.doStart(Server.java:277)
    at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
    at
org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1265)
    at java.security.AccessController.doPrivileged(Native Method)
    at
org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1188)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.eclipse.jetty.start.Main.invokeMain(Main.java:468)
    at org.eclipse.jetty.start.Main.start(Main.java:616)
    at org.eclipse.jetty.start.Main.main(Main.java:92)
____________________________________________________________________________________________________________

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