I was having this problem before.  I'm pretty sure it's because you have the
jar libraries referenced twice (once in the tomcat startup and once in the
war-webmacro lib directory).  Since the jars are all in the
war-webmacro/WEB-INF/lib, they no longer need to be in the classpath in
tomcat.sh or tomcat.bat in the tomcat bin directory.


> -----Original Message-----
> From: Steve Ruby [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 3:45 PM
> To: Turbine
> Subject: WebMacroSite
> 
> 
> 
> 
> I've had turbine working for a while now, but I'm trying to work with
> the WebMacro integration and having 0 luck...
> 
> I've installed a new copy of turbine (from CVS 20000623)
> 
> Running tomcat I've done the following on NT and linux
> build-turbine 
> move turbine jar and all support jars to TOMCAT_HOME/lib/turbine/
> added all jars (including tomcat) to CLASSPATH for tomcat
> edit TurbineResources.properties to set database options.
> restarted tomcat
> 
> At this point the default Turbine stuff works as well as some apps
> I've written..
> 
> Now trying to get WebMacroSite to work: repeated the 
> following on NT and
> linux
> ran build-turbine war-webmacro
> moved the turbine-war-webmacro directory to webapp and renamed it
> at this point turbine works just like the default copy (without
> WebMacro)
> edited the TurbineResources.properties in WEB-INF/conf according to
> README.txt
> set TemplatePath in WEB-INF/classes/WebMacro.properties (tried both
> webmacro/examples
>     directory and the WEB-INF/templates directory for the 
> TemplatePath)
> restarted tomcat
> 
> Now, any URL that I hit
> http://myserver/myapp/servlet/Turbine
> with results in a NullPointerException on
> org.apache.turbine.services.webmacro.TurbineWebMacroService.ge
> tContext(TurbineWebMacroService.java:135)
> 
> I'm getting exactly the same results on NT and linux 
> (probably made the
> exact
> same mistake).
> 
> suggestions?
> 
> Thanks for any help..
> 
> 
> ------------------------------------------------------------
> 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