Does it matter if the WAR is not running in exploded directory format?

On Sat, Jan 9, 2010 at 6:06 PM, ChadDavis <[email protected]> wrote:
> Jackrabbit 2.0
>
> I'm trying to run the jackrabbit-webapp application.  I've reviewed
> the mailing list for related threads.  A couple of threads discuss
> this topic  but do not resolve it, and I can find no documentation.
>
> I've explicitly documented my failed attempts.  Please insert helpful
> information where ever you can.
>
> 1) I'm running the web app by dropping the WAR file into the webapps
> directory of my container, Jetty.
>
> 2) There is NO existing configuration files, no bootstrap.properites
> and no jackrabbit home, nothing
>
> 3) I get the somewhat expected complaint in the logs that the
> repository couldn't be inititialized
>
> 9.01.2010 17:01:55 *ERROR* RepositoryStartupServlet: Repository
> startup configuration is not valid but a bootstrap config is
> specified. (RepositoryStartupServlet.java, line 366)
>
> 9.01.2010 17:01:55 *ERROR* RepositoryStartupServlet: Either create the
> jackrabbit/bootstrap.properties file or
> (RepositoryStartupServlet.java, line 367)
>
> 9.01.2010 17:01:55 *ERROR* RepositoryStartupServlet: use the
> '/config/index.jsp' for easy configuration.
> (RepositoryStartupServlet.java, line 368)
>
> 9.01.2010 17:01:55 *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.
>
>
> 4) Note, a jackrabbit folder was actually created at this point.  It's
> empty except for a single directory in it, tmp.  tmp is also empty.
>
> 5) I try to follow the instructions from this log statement -- but
> there is NO such thing as /config/index.jsp
>
> 6) If I hit the webapp root, I get the "Content Repository Setup" page
>  -- is this the "wizard" referenced by the javadoc for the
> RepositoryStartupServlet?
>
> 7) I choose Create a new repository, it complains that the jackrabbit
> directory already exists ( see #4 above )
>
> 8) If i manually delete that directory and hit the create a new
> repository again, it kind of works.  The repository directories seem
> to have been created with complete info.
>
> 9) But I can't use the remote webdav servlet.  If I hit the URL, like
> localhost:8080/myapp/server, I get an RMI error of all things
>
> <D:error>
> <dcr:exception>
> <dcr:class>
> org.apache.jackrabbit.rmi.client.RemoteRepositoryException
> </dcr:class>
> <dcr:message>
> java.rmi.RemoteException: No target found:
> //localhost:1099/jackrabbit.repository; nested exception is:
>        java.rmi.NotBoundException: jackrabbit.repository
> </dcr:message>
>
> 10) I suppose this is because the init process didn't go down as exptected.
>

Reply via email to