1, add the Application War Package manual deployment, add War package to standalone\deployments, manually create a file, such as the war package name is A.war, create a a.war.deployed file, the content is arbitrary. 2, configure direct access to the domain name: when deploying JBoss, by default access is required to add the project name to access, but more often we are directly through the domain name or IP access, and do not add the project name. To configure the domain name access you need to create a web-inf directory below the project, under which a configuration file named Jboss-web.xml is created with the following contents: <?xml version= "1.0" encoding= "UTF-8"?> <! DOCTYPE jboss-web> <jboss-web> <context-root>/</context-root> <virtual-host>a</ Virtual-host> </jboss-web> Add the following in the subsystem tag that contains virtual-server in the Standalone.xml file: <virtual-server Name= "A" default-web-module= "Minunix" > <alias name= "www.a.com"/> </virtual-server> Note: The value of Virtual-host in Jboss-web.xml is consistent with Virtual-server name in Standalone.xml, otherwise an error occurs, and then the project can be accessed via www.a.com
JBoss eap6.1 (4) (Deploy app)