Where does jboss eap 6.x deploy a war file?

I used the jboss web console http: // xxxxx: 9990 / console / App.html # deployments to successfully deploy my web application. And I can visit the page in this application.

But I can not find my war file under jboss-eap-6.2 / standalone / deployments. Where does the jboss backend put the war file?

thanks.

+7
jboss jboss-eap-6
source share
1 answer

Under the base directory of your jboss instance there will be /data and /tmp folders corresponding to ${jboss.server.data.dir} and ${jboss.server.tmp.dir} . These folders are created by jboss on first launch.

The loaded war is stored in a file named /data/content/ad/xxxxx/content , where xxxxx is the temporary name of the directory.

When JBoss is running, the exploded contents of your warfare will be in /tmp/vfs/temp/tempxxxxxxx/content-yyyyyyy , where xxxxxxx and yyyyyyy are random hexadecimal values.

These files are internal to JBoss. When JBoss is stopped, you can safely delete the /tmp folder, and the next time you start JBoss will relocate the war from the loaded contents of the /data file - this is controlled by the entry in your configuration.xml file.

If you accidentally delete the /data folder, then JBoss will not start. To fix this, you need to either launch your instance using the --admin-only switch, or redeploy the war, or carefully edit configuration.xml to remove the deployment, then launch JBoss and transfer your war using the console.

+7
source share

All Articles