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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content