Re: Classloading issue

2004-12-09 Thread Wade Chandler
Yu, John wrote: Hi, I'm using Struts plugin, however, I think the issue mostly related to Tomcat ClassLoading. I have a class (in a jar) under WEB-INF/lib, which loads properties from a file located under WEB-INF/classes. ClassLoader cl = getClass().getClassLoader(); InputStream

RE: Classloading issue

2004-12-09 Thread Yu, John
could make a big difference. Better stay away from it? Regards, John -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 4:31 PM To: Tomcat Users List Subject: Re: Classloading issue Yu, John wrote: Hi, I'm using Struts plugin

Re: Classloading issue

2004-12-09 Thread Wade Chandler
: when using /, CL could make a big difference. Better stay away from it? Regards, John -Original Message- From: Wade Chandler [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 4:31 PM To: Tomcat Users List Subject: Re: Classloading issue Yu, John wrote: Hi, I'm using Struts plugin

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Shapira, Yoav wrote: Howdy, - NoClassDefFoundError is different from ClassNotFoundException. Make sure you understand the difference. Then make sure you remove extra copies of the servlet APIs from the classpath, specifically if you have j2ee.jar or servlet.jar somewhere. Yoav, thanks for

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Shapira, Yoav
Howdy, ClassNotFoundException - class you explicitly asked for is not found NoClassDefFoundError - a class required by your class (through a new, e.g.) was available at compile time but cannot be found now. I know what the errors mean, thanks ;) The most common cause for the latter is version

Re: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Jeanfrancois Arcand
Can you post the entire stack trace? This exception usually occurs when a doPrivileged block is missing (when -security). I will try to reproduce the problem since it is a bug in Tomcat. Do you have the same exception if you don't turn security on? What your servlet is trying to do? Thanks

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Shapira, Yoav wrote: Howdy, ClassNotFoundException - class you explicitly asked for is not found NoClassDefFoundError - a class required by your class (through a new, e.g.) was available at compile time but cannot be found now. I know what the errors mean, thanks ;) The most common cause

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Guy Rouillier
Jeanfrancois Arcand wrote: Can you post the entire stack trace? This exception usually occurs when a doPrivileged block is missing (when -security). I will try to reproduce the problem since it is a bug in Tomcat. Jeanfrancois, I'll include the entire stack trace at the bottom on this

Re: Classloading issue: common/lib/servlet-api.jar

2004-01-27 Thread Jeanfrancois Arcand
Guy Rouillier wrote: Jeanfrancois Arcand wrote: Can you post the entire stack trace? This exception usually occurs when a doPrivileged block is missing (when -security). I will try to reproduce the problem since it is a bug in Tomcat. Jeanfrancois, I'll include the entire stack trace at

RE: Classloading issue: common/lib/servlet-api.jar

2004-01-26 Thread Shapira, Yoav
Howdy, - NoClassDefFoundError is different from ClassNotFoundException. Make sure you understand the difference. Then make sure you remove extra copies of the servlet APIs from the classpath, specifically if you have j2ee.jar or servlet.jar somewhere. - In addition to Senor Duffy's post, read