简体   繁体   中英

Undeploy war by deleting file in jboss

I have deleted wars:
...\\jboss-eap-6.3\\standalone\\mywar.war
...\\jboss-eap-6.3\\standalone\\deployments\\mywar.war
...\\jboss-eap-6.3\\standalone\\deploymentBackup\\mywar.war

and then run:
.\\bin\\standalone.bat

Jboss still sees the war files. Why? Where has he hiden it?

  1. Stop JBoss and verify that it's not running.

  2. Open the file ...\\jboss-eap-6.3\\standalone\\configuration\\standalone.xml with a text editor.

  3. At the bottom of the file you find the deployments section:

<deployments>
...
</deployments>
  1. Remove the whole deployments section.
  2. Save the file
  3. Run JBoss

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM