Hello again,
> Where's the webmacro jar? It needs to be added to the classpath as well.
> wrapper.classpath=/usr/local/turbine/lib/webmacro-jdk1.2.jar
Thanks for your help. I added the above line to jserv.properties and also
added all of the other jars in the lib directory of Turbine just to be
safe. Is there a list somewhere of jars that are needed just to see the
Turbine login and Welcome screen?
Now I am getting the following exception:
Exception: org.apache.turbine.services.InstantiationException: Service
TurbineWebMacroService failed to initialize: init() failed to initialize
service TurbineWebMacroService
at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:226)
at
org.apache.turbine.services.webmacro.TurbineWebMacro.getContext(TurbineWebMacro.java:123)
at
org.apache.turbine.modules.pages.WebMacroSitePage.doBuildBeforeAction(WebMacroSitePage.java:93)
at org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:144)
at org.apache.turbine.modules.Page.build(Page.java:92)
at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:122)
at org.apache.turbine.Turbine.doGet(Turbine.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java:484)
So I had a look at my TR.props file for TurbineWebMacroService and I think
the following 2 properties might be causing my problem:
#
# The location of WebMacro configuration file, relative to webapp root.
#
services.TurbineWebMacroService.properties=/WEB-INF/conf/WebMacro.properties
#
# The path where WebMacro will look for templates, relative to webapp
# root. Use your system's path separator to specify multiple paths.
#
services.TurbineWebMacroService.templates=/templates
JServ doesn't have the concept of a webapp root, so where should I place
the WM.props file and the templates?
Thanks,
-- Rodney
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]