You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by MARTINEZ Antonio <An...@alcatel-lucent.com> on 2009/01/21 04:57:31 UTC

Built 1.5.2 standalone does not start

Hello,

If I download the standalone jar jackrabbit standalone-1.5.2.jar from
http://jackrabbit.apache.org/downloads.html the repository comes up just
fine. 
However if I download the code and build it myself, I get an error
during startup. Any pointers ?

Thanks,
Antonio


# java -jar jackrabbit-standalone-1.5.2.jar
Welcome to Apache Jackrabbit!
-------------------------------
Using repository directory jackrabbit
Writing log messages to jackrabbit/log
Starting the server...
20.01.2009 19:48:26 *INFO * root: Logging initialized.
(LoggingServlet.java, line 87)
20.01.2009 19:48:26 *INFO * /:
org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet-115
74921: Creating default repository configuration:
jackrabbit/repository.xml (?, line ?)
20.01.2009 19:48:27 *INFO * RepositoryImpl: Starting repository...
(RepositoryImpl.java, line 248)
20.01.2009 19:48:27 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/repository (LocalFileSystem.java, line 166)
20.01.2009 19:48:27 *INFO * NodeTypeRegistry: no custom node type
definitions found (NodeTypeRegistry.java, line 847)
20.01.2009 19:48:27 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/version (LocalFileSystem.java, line 166)
20.01.2009 19:48:29 *INFO * ConnectionRecoveryManager: Database: Apache
Derby / 10.2.1.6 - (452058) (ConnectionRecoveryManager.java, line 345)
20.01.2009 19:48:29 *INFO * ConnectionRecoveryManager: Driver: Apache
Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
(ConnectionRecoveryManager.java, line 346)
20.01.2009 19:48:31 *INFO * RepositoryImpl: initializing workspace
'default'... (RepositoryImpl.java, line 1871)
20.01.2009 19:48:31 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/workspaces/default (LocalFileSystem.java, line 166)
20.01.2009 19:48:32 *INFO * ConnectionRecoveryManager: Database: Apache
Derby / 10.2.1.6 - (452058) (ConnectionRecoveryManager.java, line 345)
20.01.2009 19:48:32 *INFO * ConnectionRecoveryManager: Driver: Apache
Derby Embedded JDBC Driver / 10.2.1.6 - (452058)
(ConnectionRecoveryManager.java, line 346)
20.01.2009 19:48:33 *INFO * RepositoryImpl: workspace 'default'
initialized (RepositoryImpl.java, line 1874)
20.01.2009 19:48:33 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/repository/index (LocalFileSystem.java, line 166)
20.01.2009 19:48:34 *INFO * SearchIndex: Index initialized:
jackrabbit/repository/index Version: 3 (SearchIndex.java, line 494)
20.01.2009 19:48:34 *INFO * LocalFileSystem: LocalFileSystem initialized
at path jackrabbit/workspaces/default/index (LocalFileSystem.java, line
166)
20.01.2009 19:48:34 *INFO * SearchIndex: Index initialized:
jackrabbit/workspaces/default/index Version: 3 (SearchIndex.java, line
494)
20.01.2009 19:48:34 *INFO * RepositoryImpl: created system workspace:
security (RepositoryImpl.java, line 483)
20.01.2009 19:48:34 *INFO * RepositoryImpl: Repository started
(RepositoryImpl.java, line 357)
20.01.2009 19:48:34 *INFO * RepositoryStartupServlet:
RepositoryStartupServlet initializing... (RepositoryStartupServlet.java,
line 235)
20.01.2009 19:48:34 *ERROR* RepositoryStartupServlet: Repository startup
configuration is not valid but a bootstrap config is specified.
(RepositoryStartupServlet.java, line 366)
20.01.2009 19:48:34 *ERROR* RepositoryStartupServlet: Either create the
jackrabbit/bootstrap.properties file or (RepositoryStartupServlet.java,
line 367)
20.01.2009 19:48:34 *ERROR* RepositoryStartupServlet: use the
'/config/index.jsp' for easy configuration.
(RepositoryStartupServlet.java, line 368)
20.01.2009 19:48:34 *ERROR* RepositoryStartupServlet:
RepositoryStartupServlet initializing failed:
javax.servlet.ServletException: Repository startup configuration is not
valid. (RepositoryStartupServlet.java, line 245)
javax.servlet.ServletException: Repository startup configuration is not
valid.
        at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.configure(Repository
StartupServlet.java:369)
        at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(RepositorySt
artupServlet.java:237)
        at
org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(RepositoryStart
upServlet.java:211)
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
        at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:4
31)
        at
org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:
643)
        at
org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
        at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1
234)
        at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517
)
        at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:460)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130
)
        at
org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.ja
va:115)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130
)
        at org.mortbay.jetty.Server.doStart(Server.java:222)
        at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
        at org.apache.jackrabbit.standalone.Main.run(Main.java:131)
        at org.apache.jackrabbit.standalone.Main.main(Main.java:54)
20.01.2009 19:48:34 *INFO * RepositoryAccessServlet:
RepositoryAccessServlet initialized. (RepositoryAccessServlet.java, line
98)
20.01.2009 19:48:34 *INFO * SimpleWebdavServlet: resource-path-prefix =
'/repository' (SimpleWebdavServlet.java, line 149)
20.01.2009 19:48:34 *INFO * SimpleWebdavServlet: WWW-Authenticate header
= 'Basic realm="Jackrabbit Webdav Server"' (SimpleWebdavServlet.java,
line 155)
Apache Jackrabbit is now running at http://localhost:8080/






Re: Built 1.5.2 standalone does not start

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Jan 21, 2009 at 9:04 PM, MARTINEZ Antonio
<An...@alcatel-lucent.com> wrote:
> I was using maven 2.0.7. Now with 2.0.9 works fine.

Good to know, we should probably fix that. Can you file a bug report
about this in Jira?

BR,

Jukka Zitting

RE: Built 1.5.2 standalone does not start

Posted by MARTINEZ Antonio <An...@alcatel-lucent.com>.
I was using maven 2.0.7. Now with 2.0.9 works fine.
Thanks,
Antonio 

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Wednesday, January 21, 2009 9:47 AM
To: users@jackrabbit.apache.org
Subject: Re: Built 1.5.2 standalone does not start

Hi,

On Wed, Jan 21, 2009 at 6:36 PM, MARTINEZ Antonio
<An...@alcatel-lucent.com> wrote:
> I build exactly the same way.
> I end up with a 34M jackrabbit-standalone-1.5.2.jar which fails to 
> start, while the one downloaded from the download page is 20M.
>
> What is the file size in your case?

Mine is 20M. I'm on:

$ mvn -v
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "linux" version: "2.6.26.6-79.fc9.i686" arch: "i386" Family:
"unix"

BR,

Jukka Zitting

Re: Built 1.5.2 standalone does not start

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Jan 21, 2009 at 6:36 PM, MARTINEZ Antonio
<An...@alcatel-lucent.com> wrote:
> I build exactly the same way.
> I end up with a 34M jackrabbit-standalone-1.5.2.jar which fails to
> start, while the one downloaded from the download page is 20M.
>
> What is the file size in your case?

Mine is 20M. I'm on:

$ mvn -v
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "linux" version: "2.6.26.6-79.fc9.i686" arch: "i386" Family: "unix"

BR,

Jukka Zitting

RE: Built 1.5.2 standalone does not start

Posted by MARTINEZ Antonio <An...@alcatel-lucent.com>.
Hello,

I build exactly the same way. 
I end up with a 34M jackrabbit-standalone-1.5.2.jar which fails to
start, while the one downloaded from the download page is 20M.

What is the file size in your case?
Thanks,
Antonio

-----Original Message-----
From: Jukka Zitting [mailto:jukka.zitting@gmail.com] 
Sent: Wednesday, January 21, 2009 3:00 AM
To: users@jackrabbit.apache.org
Subject: Re: Built 1.5.2 standalone does not start

Hi,

On Wed, Jan 21, 2009 at 4:57 AM, MARTINEZ Antonio
<An...@alcatel-lucent.com> wrote:
> If I download the standalone jar jackrabbit standalone-1.5.2.jar from 
> http://jackrabbit.apache.org/downloads.html the repository comes up 
> just fine.
> However if I download the code and build it myself, I get an error 
> during startup. Any pointers ?

It looks like the configuration embedded within the standalone jar is
somehow broken. How did you build it?

The following works for me:

    jar xf source/jackrabbit-1.5.2-src.jar
    cd jackrabbit-1.5.2
    mvn install
    cd jackrabbit-standalone/target
    java -jar jackrabbit-standalone-1.5.2.jar

BR,

Jukka Zitting

Re: Built 1.5.2 standalone does not start

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Wed, Jan 21, 2009 at 4:57 AM, MARTINEZ Antonio
<An...@alcatel-lucent.com> wrote:
> If I download the standalone jar jackrabbit standalone-1.5.2.jar from
> http://jackrabbit.apache.org/downloads.html the repository comes up just
> fine.
> However if I download the code and build it myself, I get an error
> during startup. Any pointers ?

It looks like the configuration embedded within the standalone jar is
somehow broken. How did you build it?

The following works for me:

    jar xf source/jackrabbit-1.5.2-src.jar
    cd jackrabbit-1.5.2
    mvn install
    cd jackrabbit-standalone/target
    java -jar jackrabbit-standalone-1.5.2.jar

BR,

Jukka Zitting