Hi Kevin,

This is a faq now, and really more of a documentation problem.  I'm
going to fix the war-webmacro document right after I send this mail. 
I'm pretty sure that the problem you're having is because you have the
webmacro (and other turbine) jars in the tomcat/lib dir, and in the
WEB-INF/lib dir.  Remove all of the turbine related jars from
$TOMCAT_HOME/lib, and restart the server and everything should be OK.

        -Nissim


Kevin Clark wrote:
> 
> Hello All,
> 
> I am a new turbine user. After reading the install.txt, I decided to use the
> jserv engine because the configuration documentation seemed more clear.
> After getting turbine up and running stand-alone (no template engine), I
> decided that I would prefer to use webmacro for page design and layout. The
> webmacro docs on the turbine site seemed to be geared towards tomcat, so I
> decided to switch engines. Again, I have turbine working stand alone with
> tomcat, but I am having problems getting webmacro to work. I have made the
> changes in the $TURBINE/examples/webmacro/README.txt. Currently, when I
> visit http://host/context/servlet/Turbine/template/index.wm receive an error
> and trace that starts off:
> 
>         Exception: java.lang.NullPointerException:
>         at      
>org.apache.turbine.services.webmacro.TurbineWebMacroService.getContext
> 
> After reviewing turbine.log, I have noticed that WebMacro.properties could
> not be found in my classpath. Currently, WebMacro.properties is in
> $TOMCAT/webapps/appname/WEB-INF/classes, which is where the turbine
> war-webmacro build script placed it, and I believe tomcat automatically adds
> this directory to the classpath. Has anyone else had this problem, or am I
> misunderstanding something?
> 
> Thanks in advance!
> 
> Best Regards,
> Kevin Clark
> 
> ------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
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