Cleanup of Jboss
From Initq
- conf
- This directory contains the jboss-service.xml file which specifies the core services. Also used for additional configuration files for these services.
- data
- This directory holds persistent data for services intended to survive a server restart. Serveral JBoss services, such as the embedded Hypersonic database instance, store data there.
- deploy
- The deploy directory contains the hot-deployable services (those which can be added to or removed from the running server) and applications for the current server configuration. You deploy your application code by placing application packages (JAR, WAR and EAR files) in the deploy directory. The directory is constantly scanned for updates, and any modified components will be re-deployed automatically. We’ll look at deployment in more detail later.
- lib
- This directory contains JAR files needed by this server configuration. You can add required library files here for JDBC drivers etc.
- log
- This is where the log files are written. JBoss uses the Jakarta log4j package for logging and you can also use it directly in your own applications from within the server.
- tmp
- The tmp directory is used for temporary storage by JBoss services. The deployer, for example, expands application archives in this directory.
- work
- This directory is used by Tomcat for compilation of JSPs.
Safe to delete
The data, log, tmp and work directories are created by JBoss and won’t exist until you’ve run the server at least once.