Hi Jon
Thanks for the response. However, I do have Turbine as a set of classes (which I
myself compiled) in my webapps/Web-INF/classes directory. I do not think it is a
Turbine class path issue, for it was, the Turbine class itself would not found. The
reason I have used the Turbine classes as opposed to the Turbine jar, is so that I can
debug easier (and understand Turbine better as well).
As I mentioned previously, I have actually placed a System.out.println() debug
statement in my TurbineServices class, and this print statement actually does appear
in my Tomcat console, which means that the Turbine classes are being found by the JVM.
The problem appears to be specifically around the Global Cache Service. When I remove
the code that actually calls the cache service, my code runs correctly.
By the way, I am using the snapshot of 28 Aug 2000.
I hope this helps explain my error further.
Regards
Chris
<<< [EMAIL PROTECTED] 9/11 9:19p >>>
on 9/11/2000 11:41 AM, "Gopal Ramasammy-Cook" <[EMAIL PROTECTED]>
wrote:
> Starting endpoint port="8080"
> handler="org.apache.tomcat.service.http.HttpConnectionHandler" Starting
> endpoint port="8007"
> handler="org.apache.tomcat.service.connector.Ajp12ConnectionHandler" Context
> log: path="/witsccp" Error in Turbine service() :
> org/apache/turbine/services/TurbineServices java.lang.NoClassDefFoundError:
> org/apache/turbine/services/TurbineServices
> at
> org.wits.servlets.services.CacheManager.setTurbineGlobalCacheService(CacheMana
> ger.java:60)
> at org.wits.servlets.services.CacheManager.getInstance(CacheManager.java:81)
> at org.wits.services.ObjectManager.getAllFaculties(ObjectManager.java:89)
> at org.wits.servlets.screens.EnterFaculty.doBuildTemplate(EnterFaculty.java,
> Compiled Code)
> at
> org.apache.turbine.modules.screens.WebMacroSiteScreen.doBuildTemplate(WebMacro
> SiteScreen.java:112)
> at
> org.apache.turbine.modules.screens.TemplateScreen.doBuild(TemplateScreen.java:
> 111)
>
>
> I have a context path = /witsccp.
>
> This errors appears to imply that the TurbineServices class cannot be found. I
> have place a debug statement in my TurbineServices class, and this is
> displayed in the tomcat console.
Put turbine into your webapps/WEB-INF/lib directory, not the tomcat/lib
directory.
-jon
--
http://scarab.tigris.org/ | http://noodle.tigris.org/
http://java.apache.org/ | http://java.apache.org/turbine/
http://www.working-dogs.com/ | http://jakarta.apache.org/velocity/
http://www.collab.net/ | http://www.sourcexchange.com/
------------------------------------------------------------
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]