I deployed a simple war file (vivek.war) which contains a simple index.jsp file successfully in Jboss-5.X.X and Jboss-6.X.X.
I simply placed the war file in server\default\deploy
And then went to localhost:8080/vivek/index.jsp
and everything was fine.
But Similarly, for Jboss-as-7.1.1, I deployed the war file in standalone standalone\deployments
and started \bin\standalone.sh
and then went to localhost:8080/Hello/index.jsp
does not display the file.
it shows HTTP Status 404-/vivek/
(description The requested resource (/axis2/) is not available.)
in the browser.
What is the procedure to deploy a simple war file on Jboss-as-7.1.1 and how i get in browser.
if nay one have idea please help me?
Thanx
You should PUT an empty flag file warname.dodeploy (ex. vivek.war.dodeploy) in your deployments directory.
More information about flag files is available in the README.TXT in the deployments directory.
Hmm, my JBoss 7.1.1 do not need .dodeploy file in deployments directory. Its enough simply to copy .war or .ear or ejb.jar to deployments dir for server to start deployment process. Please provide server.log to see the details. Do you set context-root tag in META-INF/web.xml or application.xml?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With