Please give some information on the app server, jdk, which jars/mars?
something???

-- dims

On 12/27/06, Dejan Milošević <[EMAIL PROTECTED]> wrote:
Logged... (AXIS2-1916)

-----Original Message-----
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 2006 2:43 AM
To: [email protected]
Subject: Re: Re[2]: jars locked forever

It appears to be a bug.. Please log a Jira...
http://issues.apache.org/jira/browse/AXIS2

Thanks,
Thilina

On 12/26/06, Dejan Milošević <[EMAIL PROTECTED]> wrote:
>
>
>
>
> With auto deploy its even worse. Tomcat at first undeploys the app, but
> since it cannot delete the jars during undeployment, they apear to be
> deployed when autodeploy mechanism rereads the webapps folder, so
> application is listed as 'running' again after a few seconds! Application
is
> damaged (web.xml, all the JSPs, images, etc. are deleted) so that it
cannot
> be used but jars remain! Of course that jars are locked by classloader,
but
> I don't know how. When I would want to make such a webapp that makes
tomcat
> lock a jar even after undeployment I wouldn't know how.
>
>
>
> I cannot believe that this is not a bug and that I'm the only one that has
a
> problem with it.
>
>
>
> -----Original Message-----
>  From: Ivan Latysh [mailto:[EMAIL PROTECTED]
>  Sent: Monday, December 25, 2006 6:33 PM
>  To: [email protected]
>  Subject: Re[2]: jars locked forever
>
>
>
>
> Hello Dejan,
>
>
>
> Monday, December 25, 2006, 11:50:29 AM, you wrote:
>
>
>
> > Thanx for the quick reply, but the bug that I pointed remains. I know
how
> to undeploy a regular webapp from Tomcat
>
> > (or WebSphere), but when I try the same method on the axis2 webapp all
the
> jars remain locked until I restart Tomcat
>
> > (the same with WebSphere). Application seems to be undeployed, but I
> cannot delete files from the file system
>
> > (windows) until web server is stopped. And I tried it with the clean
> sample war that ant builds from axis2-1.1 distribution (webapp\build.xml),
> without any of my jars!
>
> To be precise, jars are locked by classloader not by Axis (or any other
> module).
>
> I would suggest you to do a small test. Launch Tomcat without your
> application, and make sure that auto deploy is on,
>
> now add your application and wait until tomcat load the classes, when you
> application deployed check if it is working
>
> fine, now you can un-deploy your application and you should be able to
> update any jars.
>
> If it will work for you it means that when you start Tomcat with your
> application some of the classes has been picked up
>
> by the Tomcat classloader, so you need to figure out the way around.
>
> But you should remember that classloader resources are not recyclable, so
> after a few dozen (or less) redeployment of
>
> your application you may simply run out of the memory. Considering this, I
> will not advice you to update application
>
> without restarting container on production servers.
>
>
>
> --
>
> Best regards,
>
>  Ivan                            mailto:[EMAIL PROTECTED]
>
>
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
> For additional commands, e-mail: [EMAIL PROTECTED]


--
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

Reply via email to