jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mike osterhout <mikeosterh...@gmail.com>
Subject jackrabbit with mysql
Date Fri, 28 Aug 2015 07:36:23 GMT
Hello,

I am trying to get mysql going with jackrabbit but I am seeing the logs
listed below. My jackrabbit server can be successfully accessed from
localhost/8080/jackrabbit and I have placed the
mysql-connector-java-5.1.36-bin.jar in /usr/share/tomcat6/lib directory.
What should I be checking for? How can I debug this? I followed this
tutorial to the T in an attempt to get this running
https://github.com/jackalope/jackalope/wiki/Running-jackrabbit-in-tomcat-with-mysql

Thanks in advance

2015-08-28 07:05:21.047 INFO  [main] RepositoryImpl.java:1060
 Shutting down repository...
2015-08-28 07:05:21.049 INFO  [main] RepositoryImpl.java:1165
 Repository has been shutdown
2015-08-28 07:05:21.049 ERROR [main] RepositoryStartupServlet.java:250
RepositoryStartupServlet initializing failed:
org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating
repository
org.apache.jackrabbit.j2ee.ServletExceptionWithCause: Error while creating
repository
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:415)
[RepositoryStartupServlet.class:na]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java:242)
[RepositoryStartupServlet.class:na]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStartupServlet.java:215)
[RepositoryStartupServlet.class:na]
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
[servlet-api-2.5.jar:2.5.MR2]
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1213)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
[catalina-6.0.39.jar:6.0.39]
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4425)
[catalina-6.0.39.jar:6.0.39]
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4738)
[catalina-6.0.39.jar:6.0.39]
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:943)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:778)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:504)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
[catalina-6.0.39.jar:6.0.39]
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
[catalina-6.0.39.jar:6.0.39]
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardService.start(StandardService.java:525)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
[catalina-6.0.39.jar:6.0.39]
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
[catalina-6.0.39.jar:6.0.39]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.7.0_79]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_79]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_79]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_79]
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
[bootstrap.jar:6.0.39]
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
[bootstrap.jar:6.0.39]
Caused by: javax.jcr.RepositoryException: Cannot instantiate persistence
manager org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager
at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1353)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:486)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:311)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.createRepository(RepositoryStartupServlet.java:445)
[RepositoryStartupServlet.class:na]
at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:413)
[RepositoryStartupServlet.class:na]
... 29 common frames omitted
Caused by: java.lang.NullPointerException: null
at java.io.Reader.<init>(Reader.java:78) ~[na:1.7.0_79]
at java.io.InputStreamReader.<init>(InputStreamReader.java:72)
~[na:1.7.0_79]
at
org.apache.jackrabbit.core.util.db.CheckSchemaOperation.run(CheckSchemaOperation.java:81)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.persistence.pool.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:546)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.persistence.pool.MySqlPersistenceManager.init(MySqlPersistenceManager.java:51)
~[jackrabbit-core-2.6.5.jar:2.6.5]
at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1349)
~[jackrabbit-core-2.6.5.jar:2.6.5]
... 34 common frames omitted
2015-08-28 07:05:21.051 INFO  [main] RepositoryAccessServlet.java:98
RepositoryAccessServlet initialized.
2015-08-28 07:05:21.061 INFO  [main] AbstractWebdavServlet.java:169
 authenticate-header = Basic realm="Jackrabbit Webdav Server"
2015-08-28 07:05:21.061 INFO  [main] AbstractWebdavServlet.java:174
 csrf-protection = null
2015-08-28 07:05:21.062 INFO  [main] AbstractWebdavServlet.java:181
 createAbsoluteURI = true
2015-08-28 07:05:21.062 INFO  [main] SimpleWebdavServlet.java:144
 resource-path-prefix = '/repository'
2015-08-28 07:05:21.311 INFO  [main] AbstractWebdavServlet.java:169
 authenticate-header = Basic realm="Jackrabbit Webdav Server"
2015-08-28 07:05:21.312 INFO  [main] AbstractWebdavServlet.java:174
 csrf-protection = null
2015-08-28 07:05:21.312 INFO  [main] AbstractWebdavServlet.java:181
 createAbsoluteURI = true
Aug 28, 2015 7:05:21 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 28, 2015 7:05:21 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3299 ms

-- 
Regards,
Mike

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