首页 > 代码库 > Where Jboss7.1 take war application to deploy--reference

Where Jboss7.1 take war application to deploy--reference

Question

i‘ve deployed the jboss-as-helloworld-errai application in my standalone jboss7.1 instance, and i‘ve delete it latter ( in the */standalone/deployments folder). But every time i restart my server it deploy again that application. Is there another place where jboss read application to deploy? Best regard。

Answer:

Did you delete the file while the server was running?

Probably, JBoss still finds a deployment information in one your /standalone/configuration/standalone*.xml files (at the end of the file). JBoss unpacks its deployments in one of the /standalone/tmp/vfs/temp* folders. As long as it finds a deployment in your configuration file, it will start the application.

The deployment binaries are located under the standalone/data/content. These would also need to be deleted. The best solution is to properly undeploy the application via CLI, the maven plug-in or the web console.

 

另外:jboss.web目录为jsp编译文件路径,standalone模式下路径为:/jboss_home/standalone/tmp/work/jboss.web/default-host/

         服务器访问日志access_log.date目录为:/jboss_home/standalone/log/default-host/

        部署文件压缩包目录为:/jboss_home/standalone/data/content/