jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gillen, David S" <david.gil...@pnl.gov>
Subject RE: Can't get jackrabbit to work in tomcat 5.0.28
Date Thu, 06 Apr 2006 05:25:31 GMT
> -----Original Message-----
> From: Chan Chin Wei [mailto:chanchinwei@stee.stengg.com] 
> Sent: Wednesday, April 05, 2006 6:27 PM
> To: dev@jackrabbit.apache.org
> Subject: Can't get jackrabbit to work in tomcat 5.0.28
> 
> I tried to set up the jackrabbit in tomcat 5.0.28, but i get 
> "[Fatal Error] :1:1: Content is not allowed in prolog." error 
> when i tried to lookup a repository. 
> I have tried several different methods of changing the 
> configuration, but still the same error occurs.  Please, can 
> anyone help and advice?
> Thank you.
>  
> Below are my configuration setting.
> 
> 
> in server.xml of tomcat:
> 
> <Context path="/rabbittest" docBase="rabbittest" debug="0"
> reloadable="true" crossContext="true">
>  
>    <Resource name="jcr/repository" auth="Container"
> type="javax.jcr.Repository"/>
>   
>    <ResourceParams name="jcr/repository">
>      <parameter>
>        <name>factory</name>
>  
> <value>org.apache.jackrabbit.core.jndi.BindableRepositoryFacto
ry</value>
>      </parameter>
>      <parameter>
>        <name>configFilePath</name>
>  
> <value>F:/Java/jakarta-tomcat-5.0.28/webapps/rabbittest/docMan</value>
>      </parameter>

According to http://jackrabbit.apache.org/doc/deploy/howto-model1.html,
the configFilePath value is supposed to be a full path to the
repository.xml file.
-Dave

Mime
View raw message