--- 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 y
EB-INF/lib
> Class C is in WEB-INF/classes
>
> Any idea. If not, I'll try to make the most simple example that reproduces
> what I have and I'll send it over.
> Thanks a lot.
> -Vincent
>
> - Original Message -
> From: "Craig R. McClanahan"
> >
> > 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
> -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
&g
- 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
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
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 ServletTestRedir
nal details.
>
> Classes A, B, and D are in a jar under WEB-INF/lib
> Class C is in WEB-INF/classes
>
> Any idea. If not, I'll try to make the most simple example that reproduces
> what I have and I'll send it over.
> Thanks a lot.
> -Vincent
>
> - Original
-
> > import junit.framework.*;
> >
> > public class C extends TestCase
> > {
> > ...
> > }
> >
> >
> > Now all of this is packaged in a war, classes A and B and in a jar put
in
> > WEB-INF/lib and class C is put in WEB-INF/classes. The junit
t; Now all of this is packaged in a war, classes A and B and in a jar put in
> > WEB-INF/lib and class C is put in WEB-INF/classes. The junit jar is *not*
> > put in WEB-INF/lib.
> >
> > Calling the servlet A result in an error occurring between the logs "before
>
; error" and "after error" and the log "I would have thought here" is never
> printed because the error happens _before_ ... This is what I don't
> understand.
>
> Any idea ?
> Thanks a lot
> -Vincent
>
> - Original Message -
> Fro
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
>
> Now all of this is packaged in a war, c
sage -
From: "Craig R. McClanahan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "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
, and a
version of that same class in your web app, the version in your webapp
wins.
> - Original Message -
> From: "Alex Fernández" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 25, 2001 3:44 PM
> Subject: Re: WebappClassLoader questi
the 2nd class !
This is what I don't understand.
Am I dreaming or is this a behaviour of Tomcat 4 ?
Thanks
-Vincent
- Original Message -
From: "Alex Fernández" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 3:44 PM
Subject: Re: Webapp
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 instantiat
16 matches
Mail list logo