Hi,

I am having trouble getting Turbine to work.  The reason I didn't download
the TDK is that I need to use JServ instead of Tomcat.  I got the latest
source from CVS and built it (with no problems) as per the build
instructions.  I then edited my jserv.properties file and added the
following lines:

wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/turbine/lib/activation-1.0.1.jar
wrapper.classpath=/usr/local/turbine/lib/jndi-1.2.1.jar
wrapper.classpath=/usr/local/turbine/lib/mail-1.2ea.jar
wrapper.classpath=/usr/local/turbine/lib/village-1.4.jar
wrapper.classpath=/usr/local/turbine/lib/ecs-1.3.3.jar
wrapper.classpath=/usr/local/turbine/bin/turbine-2.0.jar

My Apache version is:

Apache/1.3.12 (Unix) ApacheJServ/1.1.2 mod_perl/1.24

I then added the TURBINE database to my DB2 instance, edited  
TurbineResources.properties appropriately and defined the init parameter
"properties" for the Turbine servlet to point to the file.

When I hit http://myhost.com/servlets/Turbine in my browser, I get the
following exception:

Exception: org.apache.turbine.services.InstantiationException:
ServiceBroker: failed to instantiate service TurbineWebMacroService:
Class org.apache.turbine.services.webmacro.TurbineWebMacroService is
unavailable. Check your jars and classes.
        at 
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:269)
        at 
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:212)
        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 thought I would make sure this class is in turbine-2.0.jar:

[rodney@boom bin]$ jar tvf turbine-2.0.jar | grep TurbineWebMacroService
  7208 Wed Oct 11 20:03:52 GMT+11:00 2000 
org/apache/turbine/services/webmacro/TurbineWebMacroService.class

It is there, but I still get the above InstantiationException.

Does anyone have any clue what I am doing wrong?

Any help is appreciated.

Thanks,

-- Rodney



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