I got it running. I figured that the following is happening:
1. Since I configured Turbine in the web.xml of ${TOMCAT_HOME}/conf. Tomcat
is initializing Turbine within each context, I have configured.
2. I assume that the call to getRealPath in Turbine.java returns as path to
the turbine property file the path to the context concatenated with the path
as configured in TurbineResource.properties.

So, I put a link to my TurbineResource.properties file in each context
directory and after this change it worked.

Although, I am rather new to servlet programming, I suggest that determining
the path to the property file should be changed.

thanks for your help,
thomas
----- Original Message -----
From: "jon *" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Wednesday, May 10, 2000 7:51 PM
Subject: Re: Path of TurbineResources.properties?


> on 5/9/2000 1:59 PM, Thomas Krebs <[EMAIL PROTECTED]> wrote:
>
> > I checked my installation, I have Turbine 1.55 installed. Attached
you'll
> > find my web.xml file. I actually tried to place the properties file
under
> > the ROOT context in WEB-INF/conf as specified in the file you provided
> > without any success. Indeed it seems that turbine is searching for the
> > property file in **all** defined contexts as the error messages in
> > servlet.log indicate.
> > Besides the errors in the servlet.log file tomcat is throwing a
> > NullPointerException while initializing the servlet in Log.init within
> > TurbineResource.GetString(...).
>
> Thomas, please look at the web.xml file that is included in the
> turbine/conf/ directory. It is MUCH simpler than the one that you are
using
> which appears to be a server.xml file???
>
> -jon
>
> --
>     Java Servlet Based - Open Source  |        Collab.Net
>         Bug/Issue Tracking System     |   now hiring smart people
>        <http://scarab.tigris.org/>    |  <http://Collab.Net/jobs/>
>
>
>
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
>
>



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to