RE: v 2.0.2 doesn't work in Tomcat 4?!
"James Rigg" <[email protected]>
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <001001c41958$8ae841f0$0000fea9@kouros> |
I have now tried OSCache v2.0.2 with Tomcat 5.0.19 and it works fine. Interesting that it fails with Tomcat 4.1.x, especially considering the vast majority of Java web hosting providers provide version 4.1 and not 5. I guess the clustering functionality in version 2.0.2 doesn't really make sense in Tomcat 4 which as far as I know isn't clusterable? -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of James Rigg Sent: 01 April 2004 08:24 To: 'Scott Farquhar' Cc: [email protected] Subject: RE: [Opensymphony-oscache] v 2.0.2 doesn't work in Tomcat 4?! Scott, I thought about that... I have used the tld and properties file that come with v2.0.2 and I have also tried the version of these files from the "v2.0.2 with source" ZIP, just in case there's any difference. The first thing I did was check the tld to see if there was an reference to com.opensymphony.module.* and there isn't. Looking through the source code I cannot see that package either, so I am baffled where that is coming from. Could it be a Tomcat problem? I intend to test my web application in Tomcat 5, and I will retry OsCache 2.0.2 with that too. Thanks, James. -----Original Message----- From: [email protected] [mailto:[email protected]]On Behalf Of Scott Farquhar Sent: 01 April 2004 00:37 To: James Rigg Cc: [email protected] Subject: Re: [Opensymphony-oscache] v 2.0.2 doesn't work in Tomcat 4?! Looks like you might have the wrong tld? Can you check that you are using the correct tld from the correct jar file? Whilst I don't use OSCache at the current project, I'm sure that there are lots of people using 2.0.2. Cheers, Scott On Wed, Mar 31, 2004 at 09:39:47PM +0100, James Rigg wrote: > > I've had another look at this and it looks like a nasty bug to me. Tomcat > reports: > > java.lang.NoClassDefFoundError: > com/opensymphony/module/oscache/web/tag/CacheTag > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:1590) > at java.lang.Class.getConstructor0(Class.java:1762) > at java.lang.Class.newInstance0(Class.java:276) > at java.lang.Class.newInstance(Class.java:259) > > But there is no such package com.opensymphony.module - where the hell is > that coming from??? > > > I have reverted to version 1.75 which works fine. Maybe I'll return to 2.02 > when it's actually stable. Out of interest, can anyone make it work? ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Opensymphony-oscache mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensymphony-oscache ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Opensymphony-oscache mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensymphony-oscache ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click