Can we delete data tmp and work directories from JBoss EAP 5 / 4

Solution Verified - Updated -

Issue

  • Is there any kind of settings in JBoss which won't create data tmp temp and work dir's at server startup? I am sure we can delete tmp and work at server start up and disable temp in jsr88-service.xml. Are data and temp any useful? Can we disable it permanently?

  • Is there a configuration setting to auto delete the content of the work folder?

  • The /server/default/work directory did not clear down the folder correctly on startup and was still referencing the previously deployed war files/jsp files.

Environment

  • RedHat JBoss Enterprise Application Platform (EAP)
    • 4.x
    • 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.