Did you try using this path to configure the default repository?

/config/index.jsp

BTW: I've been fighting with Jackrabbit only for 3 weeks so I am no expert! 
Documentation about this kind of issues it's sure hard to come by.


-----Mensaje original-----
De: Mark Phillips [mailto:[email protected]] 
Enviado el: Martes, 18 de Enero de 2011 04:41 p.m.
Para: [email protected]
Asunto: Re: default repository is not created

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 ===
**************************************************************************************
La informacion contenida en este mail es de caracter confidencial o para uso 
exclusivo
del Grupo TOYOTA DE VENEZUELA en sus procesos y actividades de negocio. Los 
puntos de 
vista u  opiniones  presentes  en  el mismo  son  responsabilidad  del  
remitente y no 
representan una posicion formal del grupo TOYOTA DE VENEZUELA (TOYOTA DE 
VENEZUELA, C.A.
o TOYOTA INDUSTRIAL DE VENEZUELA, C.A.). Si  UD. no  es  el destinatario o  
recibio  esta 
informacion por error, agradecemos destruirla de inmediato y notificar al 
remitente por
esta misma via, debido a que su copia, distribucion o uso esta reservado solo 
para
personas autorizadas.
***************************************************************************************
The information contained in this mail is strictly confidential or for the 
exclusive use
by TOYOTA DE VENEZUELA Group in its process and business activities. The points 
of view
or  present  opinions  contained  in the mail, are the senders responsibility 
and  dont
represent a formal opinion of TOYOTA DE VENEZUELA Group (TOYOTA  DE  VENEZUELA, 
C.A. or
TOYOTA INDUSTRIAL DE VENEZUELA, C.A.) If you are not the destined user or 
received this
information by mistake, we appreciate if you destroy  it  inmediately  and  
notify  the
sender  by this same way, because its copying, distributing and use is allowed 
only for 
authorized people.

Reply via email to