On Tue, 17 Oct 2000, Simon Hay wrote:

> Thanks very much for the replies, everyone - it all seems to work
> perfectly now...  Just one point.  In the console I used to start Tomcat,
> I get an NullPointerException at
> org.apache.velocity.runtime.Runtime.initializeLogger, then the line
> 'Error=Failed to set up Velocity templates:'.  This is on a fresh install
> of the TDK - I have changed nothing.  It doesn't seem to affect anything,
> but I'm curious - what's causing it, and should I be worried?

I have generated more velocity apps then I can count and
everything has worked fine. You

1. edited newapp.props so that
   turbine.app.type=velocity

2. ./newapp.sh

3. ./bin/tomcat.sh run|start

4. http://localhost:8080/newapp/servlet/newapp

In the TDK, Turbine specifies the location of the
logfile and then initializes the logging system
so the velocity.properties file must be correct,
and is when the TDK generates the app.

If you followed these steps and that's the
error you got, then there is something is awry.
Send me your config files, I can probably figure
out what's wrong from there. I need your
TurbineResources.properties file and your
velocity.properties file. They are both located
in your $TOMCAT_HOME/webapps/newapp/WEB-INF/conf
directory.

jvz.



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to