This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Jboss deleted tmp folder each time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss deleted tmp folder each time?" Watch "Jboss deleted tmp folder each time?" New topic
Author

Jboss deleted tmp folder each time?

Matt Herrington
Greenhorn

Joined: Oct 26, 2005
Posts: 16
    
    1
Hi all,

I'm on Jboss EAP 4.3 and I have my own server with an EAR deployed. The EAR contains multiple WAR files. I notice that each time I start up the server, it explodes the contents to the tmp folder, which is good. Now if I bring down and bring back up Jboss, it first deleted the tmp folder and rebuilds it. My EAR file is fairly large and takes a good 15 minutes to explode. Is there any way to persist the tmp folder between server restarts?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

The tmp folder (as the name suggests) is for temporary storage. It gets cleaned up on every restart.

My EAR file is fairly large and takes a good 15 minutes to explode


Try exploded deployment http://community.jboss.org/wiki/ExplodedDeployment

[My Blog] [JavaRanch Journal]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Jboss deleted tmp folder each time?
 
Similar Threads
WAR files in JBOSS
Best packaging and deployment strategy for web applications
write jboss service to perform a task at startup.
how to find the location of the dynamic tmp folder created by JBOSS
Getting started - env issues