jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Phillips <mark.phill...@mophilly.com>
Subject Re: default repository is not created
Date Tue, 18 Jan 2011 21:10:50 GMT
On Jan 18, 2011, at 11:28 AM, Tomás Temprano wrote:

> The cause should be in the Tomcat log file.
> 
> Also, error 505 seems to be a completely unrelated error.
> 
> 505 HTTP Version Not Supported:
> 
> Your browser may have made a request using HTTP 1.1, whereas the server you made the
request to supports only up to HTTP 1.0. This may occur when a proxy server sends along a
request with a different version number.

Thank you, Tomas, for the reply.

I made a mistake. The http error returned is 500. I apologize for the misdirection.

I assumed the bootstrap.properties, mentioned in the trace below, would be updated as part
of the deploy feature. That does not seem to be the case.

What is the path JackRabbit is attempting to write into? Is that (part of) the issue?

 - Mark

From catalina.out

Jan 18, 2011 12:58:37 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jackrabbit-webapp-2.2.1.war
2011-01-18 12:58:38.928 INFO  [http-8080-2] RepositoryStartupServlet.java:239 RepositoryStartupServlet
initializing...
2011-01-18 12:58:38.946 ERROR [http-8080-2] RepositoryStartupServlet.java:370 Repository startup
configuration is not valid but a bootstrap config is specified.
2011-01-18 12:58:38.946 ERROR [http-8080-2] RepositoryStartupServlet.java:371 Either create
the jackrabbit/bootstrap.properties file or
2011-01-18 12:58:38.947 ERROR [http-8080-2] RepositoryStartupServlet.java:372 use the '/config/index.jsp'
for easy configuration.
2011-01-18 12:58:38.948 INFO  [http-8080-2] RepositoryStartupServlet.java:246 RepositoryStartupServlet
initialized.
2011-01-18 12:58:38.949 INFO  [http-8080-2] RepositoryAccessServlet.java:98 RepositoryAccessServlet
initialized.
2011-01-18 12:58:38.967 INFO  [http-8080-2] SimpleWebdavServlet.java:163 resource-path-prefix
= '/repository'
2011-01-18 12:58:38.968 INFO  [http-8080-2] SimpleWebdavServlet.java:169 WWW-Authenticate
header = 'Basic realm="Jackrabbit Webdav Server"'

Browser page returned:

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling
this request.

exception

java.lang.IllegalStateException: The repository is not available. Please check RepositoryAccessServlet
configuration in web.xml.
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:306)
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:320)
	org.apache.jackrabbit.j2ee.SimpleWebdavServlet.getRepository(SimpleWebdavServlet.java:42)
	org.apache.jackrabbit.webdav.simple.SimpleWebdavServlet.getDavSessionProvider(SimpleWebdavServlet.java:372)
	org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:212)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


root cause

javax.servlet.ServletException: Repository access configuration is not valid.
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getConfig(RepositoryAccessServlet.java:163)
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepositoryByJNDI(RepositoryAccessServlet.java:195)
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:295)
	org.apache.jackrabbit.j2ee.RepositoryAccessServlet.getRepository(RepositoryAccessServlet.java:320)
	org.apache.jackrabbit.j2ee.SimpleWebdavServlet.getRepository(SimpleWebdavServlet.java:42)
	org.apache.jackrabbit.webdav.simple.SimpleWebdavServlet.getDavSessionProvider(SimpleWebdavServlet.java:372)
	org.apache.jackrabbit.webdav.server.AbstractWebdavServlet.service(AbstractWebdavServlet.java:212)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


note The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.

Apache Tomcat/6.0.24

=== end of browser page ===
Mime
View raw message