powered by Jive Software

Smack jar locking problem

Hi,

I am using smack in my web application in tomcat when tomcat try to redeploy the web application he can’'t remove two jars from the lib directory (smack.jar & smackx.jar) probably because some resource is still been used.

When I looked in the source file I saw that “META-INF/smack-config.xml” and “META-INF/smack.providers” are open with classLoader.getResources() so maybe this is the reason nut I didn’'t find any why to release them.

What should I do ?

Thanks

Yair

Message was edited by: shamama

Message was edited by: shamama

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

Try antiJarLocking or antiResourceLocking

Hi,

Thanks for your reply but I am using tomcat 5.0 and as far as I know antiJarLocking or antiResourceLocking are only available since tomcat 5.5

do you have any other idea.

Thanks