How to deploy a war file in JBoss AS 7?

后端 未结 6 1804
没有蜡笔的小新
没有蜡笔的小新 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:02

    Actually, for the latest JBOSS 7 AS, we need a .dodeploy marker even for archives. So add a marker to trigger the deployment.

    In my case, I added a Hello.war.deployed file in the same directory and then everything worked fine.

    Hope this helps someone!

提交回复
热议问题