avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: Re: Problems with undeploy
Date Fri, 22 Feb 2002 12:10:44 GMT
On Fri, 22 Feb 2002 22:59, Jörg Bauer/Denic wrote:
> ClassLoader issue.
> Here is the test:
> start phoenix using avalon-demo.sar from cornerstone
>
> make request to 8999 and get:
> >Hello World!
> >Requests so far = 1
> >you are thispc on 127.0.0.1
>
> now undeploy avalon-demo, and redeploy it
>
> again request to 8999:
> >Hello World!
> >Requests so far = 2                            <-- here is the problem
> >you are thispc on 127.0.0.1
>
> I would expect that the new avalon-demo is running in a new ClassLoader
> environment with a fresh loaded class.
> Why not ???
> Im no expert with all this classloading stuff, but could you give me a
> hint where to look for the solution ???

A new ClassLoader is created for all the classes that are contained within 
the .sar file. However if the library is contained within $PHOENIX_HOME/libs 
then it will not be reloaded. Could this be the problem?


-- 
Cheers,

Pete

"abandon all hope , ye who enter here" - dante, inferno

--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message