jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kilian Evang <KEV...@de.ibm.com>
Subject Opening an existing repository with jackrabbit-webapp-1.3.1
Date Mon, 01 Oct 2007 15:02:12 GMT
Hi all,

I have an existing Jackrabbit repository that I want to make accessible 
using jackrabbit-webapp-1.3.1. I deployed the webapp and tried to use the 
"easy setup" wizard.

First thing I noticed: The wizard only asks for the repository home, not 
for the repository config file. It seems the config file MUST be in the 
repository home and be named repository.xml for the wizard to work. Okay, 
I moved and renamed my config file to conform.

My repository home is at 
/home/kevang/workspace/myproject/repositories/webtest, and that's what I 
tell the wizard. The answer is: "Some error occured during setup." The log 
files are not much more specific:

01.10.2007 18:58:31 *INFO * Installer: Creating new bootstrap properties: 
jackrabbit/bootstrap.properties (Installer.java, line 202)
01.10.2007 18:58:31 *INFO * RepositoryStartupServlet: 
RepositoryStartupServlet initializing... (RepositoryStartupServlet.java, 
line 233)
01.10.2007 18:58:31 *INFO * AbstractConfig: Configuration of 
BootstrapConfig (AbstractConfig.java, line 101)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
102)
01.10.2007 18:58:31 *INFO * AbstractConfig:   repositoryName: 
jackrabbit.repository (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   jndiConfig: 
org.apache.jackrabbit.j2ee.JNDIConfig@4b104b10 (AbstractConfig.java, line 
106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   repositoryHome: 
/home/kevang/workspace/myproject/repositories/webtest 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   class: class 
org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   repositoryConfig: 
/home/kevang/workspace/myproject/repositories/webtest/repository.xml 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiConfig: 
org.apache.jackrabbit.j2ee.RMIConfig@4c664c66 (AbstractConfig.java, line 
106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   valid: true 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
108)
01.10.2007 18:58:31 *INFO * AbstractConfig: Configuration of JNDIConfig 
(AbstractConfig.java, line 101)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
102)
01.10.2007 18:58:31 *INFO * AbstractConfig:   jndiEnv: 
{java.naming.provider.url=http://www.apache.org/jackrabbit, 
java.naming.factory.initial=org.apache.jackrabbit.core.jndi.provider.DummyInitialContextFactory}

(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   jndiEnabled: true 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   jndiName: 
jackrabbit.repository (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   class: class 
org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   valid: true 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
108)
01.10.2007 18:58:31 *INFO * AbstractConfig: Configuration of RMIConfig 
(AbstractConfig.java, line 101)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
102)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiHost: localhost 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiEnabled: true 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiPort: 1099 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiUri: 
//localhost:1099/jackrabbit.repository (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   class: class 
org.apache.jackrabbit.j2ee.RMIConfig (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   rmiName: 
jackrabbit.repository (AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig:   valid: true 
(AbstractConfig.java, line 106)
01.10.2007 18:58:31 *INFO * AbstractConfig: 
---------------------------------------------- (AbstractConfig.java, line 
108)
01.10.2007 18:58:31 *INFO * RepositoryImpl: Starting repository... 
(RepositoryImpl.java, line 223)
01.10.2007 18:58:31 *INFO * LocalFileSystem: LocalFileSystem initialized 
at path /home/kevang/workspace/myproject/repositories/webtest/repository 
(LocalFileSystem.java, line 166)
01.10.2007 18:58:31 *INFO * NodeTypeRegistry: no custom node type 
definitions found (NodeTypeRegistry.java, line 839)
01.10.2007 18:58:31 *INFO * LocalFileSystem: LocalFileSystem initialized 
at path /home/kevang/workspace/myproject/repositories/webtest/version 
(LocalFileSystem.java, line 166)
01.10.2007 18:58:32 *ERROR* RepositoryStartupServlet: 
RepositoryStartupServlet initializing failed: 
javax.servlet.ServletException: Error while creating repository 
(RepositoryStartupServlet.java, line 243)
javax.servlet.ServletException: Error while creating repository
        at 
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(RepositoryStartupServlet.java:388)
        at 
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositoryStartupServlet.java:236)
        at 
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.restart(RepositoryStartupServlet.java:273)
        at 
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.doPost(RepositoryStartupServlet.java:660)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
        at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
        at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
        at java.lang.Thread.run(Thread.java:801)

Maybe someone can set me on the right track?

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