You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Mark Waschkowski <mw...@gmail.com> on 2007/05/07 20:38:54 UTC
config problem for model 2 and resolution
Hi,
I was setting up Jackrabbit for model 2 usage with tomcat and found that
Step 3 on this page:
http://jackrabbit.apache.org/doc/deploy/howto-model2.html
didn't work for me. Specifically,
" In Tomcat versions 4.x and 5.0, add the following snippet in
server.xmlunder the
Context element of your web application. In Tomcat version 5.5, add the
snippet in your application's context.xml or
$CATALINA_HOME/conf/[enginename]/[hostname]/[webappname].xml. If you prefer
central configuration, you can add the configuration to the Host Context
section in the server.xml."
I tried to do central configuration (putting the resource link configuration
into server.xml) without success. As soon as I moved the resource link into:
C:\Java\tomcat-5.5.12\conf\context.xml
everything worked fine.
Therefore, I would recommend removing/amending the instructions to remove
the reference to server.xml, or at least mention usage of
$CATALINA_HOME/conf/context.xml.
Regards,
Mark Waschkowski
Re: config problem for model 2 and resolution
Posted by Nicolas Dufour <nr...@gmail.com>.
can you post your context.xml or all the files you have modified in tomcat
and in your application ??
I have a similar problem.
Nicolas
On 5/7/07, Mark Waschkowski <mw...@gmail.com> wrote:
>
> Hi,
>
> I was setting up Jackrabbit for model 2 usage with tomcat and found that
> Step 3 on this page:
> http://jackrabbit.apache.org/doc/deploy/howto-model2.html
> didn't work for me. Specifically,
>
> " In Tomcat versions 4.x and 5.0, add the following snippet in
> server.xmlunder the
> Context element of your web application. In Tomcat version 5.5, add the
> snippet in your application's context.xml or
> $CATALINA_HOME/conf/[enginename]/[hostname]/[webappname].xml. If you
> prefer
> central configuration, you can add the configuration to the Host Context
> section in the server.xml."
>
> I tried to do central configuration (putting the resource link
> configuration
> into server.xml) without success. As soon as I moved the resource link
> into:
> C:\Java\tomcat-5.5.12\conf\context.xml
>
> everything worked fine.
>
> Therefore, I would recommend removing/amending the instructions to remove
> the reference to server.xml, or at least mention usage of
> $CATALINA_HOME/conf/context.xml.
>
> Regards,
>
> Mark Waschkowski
>