Hi,
there are some obstacles in WL60 that might hinder this from working.
1. Make sure you use SP2
2. If you plan to use the REDEPLOY file to automate redeployment from your
build file make sure your exploded ear is below the applications folder. It
won't work anywhere else. The redeploy file must be in the META-INF
directory of your ear. The docs are unclear about that.
3. Put commons-cactus.jar and junit.jar into the WEB-INF\lib directory of
your webapp. Make sure they are nowhere else, you will get strange
ClassNotFoundExceptions if they are located somewhere else.
4. Put your test cases into the WEB-INF\classes directory, nowhere else as
well.
In this combination hot deployment of testcases works fine for me. I did
not follow this thread completely. Do you have any specific problems,
stacktraces etc?
Daniel
> -----Original Message-----
> From: Vincent Massol [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 26, 2001 5:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: hot deploy of cactus test classes on WLS6.0
>
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 10:59 AM
> Subject: hot deploy of cactus test classes on WLS6.0
>
>
> > Is there any way to get my test classes to hot deploy on
> wls6.0 (ie avoid
> > having to restart wls after making changes to my unit tests).
> >
>
> answer is yes ! (I have done it with WL 5.1 but not WL 6)
>
> > My wls is set up to allow hot deploy of servlets. For this
> to work the
> > servlet classes must NOT be in the classpath.
> >
> > ... but to run my cactus servlet tests it seems these
> classes must be in
> > the classpath. Catch 22.
> >
> > Is there any way round this?
> >
>
> under WL 5.x, hot deploy would work for the WebappClassLoader
> (and also the
> EJB one but that's another issue), i.e. anything that you put
> under your
> WEB-INF/lib or WEB-INF/classes directories. Just put your
> classes under test
> and your test classes under WEB-INF/classes and it should be fine ...
> (that's my understanding at least !)
>
> Tell me how it goes.
> Thanks
> -Vincent
>
>
<<<<<<<<<<<<<<<<<<<<<<<<<<<
<sitewaerts> GmbH
Hebelstra�e 15
D-76131 Karlsruhe
Tel: +49 (721) 920 918 0
Fax: +49 (721) 920 918 29
http://www.sitewaerts.de
>>>>>>>>>>>>>>>>>>>>>>>>>>>