Jon,
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(...).
--- web.xml stored in {TOMCAT_HOME}/conf --- mime mappings cut-off ---
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name>
default
</servlet-name>
<servlet-class>
org.apache.tomcat.servlets.DefaultServlet
</servlet-class>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet>
<servlet-name>
invoker
</servlet-name>
<!--
org.apache.tomcat.servlets.NoInvokerServlet
-->
<servlet-class>
org.apache.tomcat.servlets.InvokerServlet
</servlet-class>
</servlet>
<servlet>
<servlet-name>
jsp
</servlet-name>
<servlet-class>
org.apache.jasper.runtime.JspServlet
</servlet-class>
<!-- uncomment the following to use Jikes for JSP compilation
<init-param>
<param-name>jspCompilerPlugin</param-name>
<param-value>org.apache.jasper.compiler.JikesJavaCompiler</param-value>
</init-param>
-->
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet>
<servlet-name>
Turbine
</servlet-name>
<servlet-class>
Turbine
</servlet-class>
<init-param>
<param-name>
properties
</param-name>
<param-value>
/WEB-INF/conf/TurbineResources.properties
</param-value> </init-param>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
<servlet>
<servlet-name>
org.apache.cocoon.Cocoon
</servlet-name>
<servlet-class>
org.apache.cocoon.Cocoon
</servlet-class>
<init-param>
<param-name>
properties
</param-name>
<param-value>
/usr/local/java-apache/jakarta-tomcat/conf/cocoon.properties
</param-value>
</init-param>
<load-on-startup>
-2147483646
</load-on-startup>
</servlet>
--- mime mappings cut-off ---
----- Original Message -----
From: "jon *" <[EMAIL PROTECTED]>
To: "Turbine" <[EMAIL PROTECTED]>
Sent: Tuesday, May 09, 2000 2:31 AM
Subject: Re: Path of TurbineResources.properties?
> on 5/8/2000 3:09 PM, Thomas Krebs <[EMAIL PROTECTED]> wrote:
>
> > I have last weeks Turbine drop installed on Suse Linux 6.4, Tomcat 3.1,
> > Apache 1.3.12. I defined the servlet as desribed in the documentation in
the
> > web.xml file in {TOMCAT_HOME}/conf, passing as init parameter the
absolute
> > path to TurbineResources.properties which I stored also in
> > {TOMCAT_HOME}/conf. However, when starting Tomcat, I received an
exception
> > indicating a problem while loading the TurbineResources.properties file.
It
> > seems that other than specified in the documentation Turbine tries to
locate
> > the file in the servlet context. First it seemed that Turbine tries to
> > locate the file in the ROOT context which would make sense to me. So I
> > copied the file into the root context and just passed the file name as
input
> > parameter. But as you see from the servlet.log snippet below, Turbine
will
> > not startup. It seems to expect the file in all contexts. This seems
strange
> > to me.
> >
> > I am really keen to get Turbine running. So I would appreciate any help
on
> > this matter.
> >
> > thanks,
> > thomas
>
> Can you send me what your web.xml file looks like? I made some changes to
> the Turbine servlet sometime last week (6 days ago) that makes for
"better"
> integration with Tomcat. I'm using things just fine...
>
> Here is my web.xml that I am using:
>
<http://www.working-dogs.com/turbine/cvsweb/index.cgi/turbine/conf/web.xml?r
> ev=1.2&content-type=text/x-cvsweb-markup>
>
> You _may_ need to update your CVS version of Turbine in order to get this
> working properly. You need version 1.55 of the Turbine.java class.
>
> -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]