Re: WebappClassLoader question

2001-07-27 Thread Vincent Massol
that reproduces what I have and I'll send it over. Thanks a lot. -Vincent - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Vincent Massol [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 10:08 PM Subject: Re: WebappClassLoader question On Thu, 26 Jul

Re: WebappClassLoader question

2001-07-27 Thread Dmitri Colebatch
] Sent: Thursday, July 26, 2001 10:08 PM Subject: Re: WebappClassLoader question On Thu, 26 Jul 2001, Craig R. McClanahan wrote: Hmm, I just tried a case like what you have below. As long as B does not explicitly reference class C, then it works. In other words, in my example where

RE: WebappClassLoader question

2001-07-27 Thread Andrew Inggs
Hi Vincent You seem to be missing at least two things here: 1. In your original post you said: When I access the servlet, I get a ClassNotFoundException on a JUnit class. So far it is normal ... When I debugged it, I have actually found that the error was happening when

Re: WebappClassLoader question

2001-07-27 Thread Alex Fernández
Hola Nacho, Ignacio J. Ortega wrote: I'm lost here, where you put the Junit.jar? , because it will be on some place? no? to allow you load classes from , no?, i think you need the entire inheritance chain for resolving dependencies, so you need Junit.jar in some place in classpath AFAIK..

Re: WebappClassLoader question

2001-07-27 Thread Vincent Massol
- Original Message - From: Andrew Inggs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 10:01 AM Subject: RE: WebappClassLoader question Hi Vincent You seem to be missing at least two things here: 1. In your original post you said: When I access the servlet

RE: WebappClassLoader question

2001-07-27 Thread Ignacio J. Ortega
-Mensaje original- De: Alex Fernández [mailto:[EMAIL PROTECTED]] Enviado el: viernes 27 de julio de 2001 11:17 Para: [EMAIL PROTECTED] Asunto: Re: WebappClassLoader question The problem is, Cactus (Jakarta's J2EE testing package) raises an exception if junit.jar is not found

RE: WebappClassLoader question

2001-07-27 Thread Jim Cheesman
The problem is, Cactus (Jakarta's J2EE testing package) raises an exception if junit.jar is not found; it should catch the exception and kindly explain the situation to the user. Right now, the exception is raised in a strange place, and thus the user is faced with an abstruse

Re: WebappClassLoader question

2001-07-27 Thread Craig R. McClanahan
: WebappClassLoader question On Thu, 26 Jul 2001, Craig R. McClanahan wrote: Hmm, I just tried a case like what you have below. As long as B does not explicitly reference class C, then it works. In other words, in my example where you've got the // call the method by reflection comment, I

[Summary] Re: WebappClassLoader question

2001-07-27 Thread Vincent Massol
Inggs [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, July 27, 2001 10:01 AM Subject: RE: WebappClassLoader question Hi Vincent You seem to be missing at least two things here: 1. In your original post you said: When I access the servlet, I get a ClassNotFoundException on a JUnit

Re: WebappClassLoader question

2001-07-26 Thread Craig R. McClanahan
Fernández [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 25, 2001 3:44 PM Subject: Re: WebappClassLoader question Hi Vincent! I've run into the same situation a couple of times, when one class uses a second class, and this second class uses a third one

Re: WebappClassLoader question

2001-07-26 Thread Vincent Massol
[EMAIL PROTECTED] Sent: Thursday, July 26, 2001 6:18 PM Subject: Re: WebappClassLoader question On Thu, 26 Jul 2001, Vincent Massol wrote: Thanks Alex, I don't think the standard classloader mechanism is involved here. I believe it is a 'feature' of Tomcat and more specifically of it's

RE: WebappClassLoader question

2001-07-26 Thread Ignacio J. Ortega
Hola Vincent: -Mensaje original- De: Vincent Massol [mailto:[EMAIL PROTECTED]] Enviado el: jueves 26 de julio de 2001 22:20 Para: Craig R. McClanahan; [EMAIL PROTECTED] Asunto: Re: WebappClassLoader question snip/ Now all of this is packaged in a war, classes A and B

Re: WebappClassLoader question

2001-07-26 Thread Craig R. McClanahan
: Thursday, July 26, 2001 6:18 PM Subject: Re: WebappClassLoader question On Thu, 26 Jul 2001, Vincent Massol wrote: Thanks Alex, I don't think the standard classloader mechanism is involved here. I believe it is a 'feature' of Tomcat and more specifically of it's WebappClassLoader

WebappClassLoader question

2001-07-25 Thread Vincent Massol
Hi, Here is the situation : * I have a class that makes use of JUnit (by extending the JUnit TestCase class). Let's call it ServletTestCase * I have a second class that is used to call a method in ServletTestCase, let's call it MyProxyClass * I have a thirdclass (a servlet) that does

Re: WebappClassLoader question

2001-07-25 Thread Alex Fernández
Hi Vincent! I've run into the same situation a couple of times, when one class uses a second class, and this second class uses a third one that is not present. 1st - 2nd - 3rd (missing) One would think that instantiating the 2nd should give an error, but that loading the 2nd and/or