[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Unwaring web app - leaves some files in the war

lovelyliatroim do-not-reply at jboss.com
Thu Dec 13 09:50:18 EST 2007

Hi Folks,
     Im using the latest JBoss AS 5.0 beta2 and experiencing something similar to the above.

I have a war file that looks like this
myapp/WEB-INF/ etc etc

Ok now im a bit confused about what the "tmp" directory and the "work" directory do and their relationship if any, i havent see any docs on it and would appreciate any links if possible.(I do need to read up on this but ill ask anyways )

Now the problem Im having is this, the war is exploded fine under the tmp directory but in "work" directory the .properties file is not there. 

 i have a third party library which looks for the properties file under conf/config.properties, but if doesnt find it because there the class loader which loads the libs is loading the classes out of the "work" directory and not the tmp directory. 
So Im confused, which one is the correct exploded directory?? tmp or work and if its "work" which it seems to be because the classloader url is coming from the work directory, why isnt the .properties file exploded in there also??



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112590#4112590

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112590

More information about the jboss-user mailing list