How to deploy a war file in JBoss AS 7?

后端 未结 6 1789
没有蜡笔的小新
没有蜡笔的小新 2020-12-28 09:25

I downloaded JBoss Application Server 5 and successfully deployed a war file. I copypasted the Hello.war which has a simple index.jsp file into

\\jboss-5.1.         


        
6条回答
  •  庸人自扰
    2020-12-28 10:17

    Read the file $AS/standalone/deployments/README.txt

    • you have two different modes : auto-deploy mode and manual deploy mode
    • for the manual deploy mode you have to placed a marker files as described in the others posts
    • for the autodeploy mode : This is done via the "auto-deploy" attributes on the deployment-scanner element in the standalone.xml configuration file:

      
      

提交回复
热议问题