Getting 404 when deploying a war file in JBoss 7.1

I am using JBoss 7.1.0 AS for Mac OSX Lion. It’s hard for me to understand why one of my artifacts is not deploying. I copied my war file to the $ JBOSS_HOME / standalone / deployments directory. When I enter the JBoss admin console, it tells me that my war file (named "eventmaven.war") is included. However, when I am at http: // localhost: 8080 / eventmaven , I get a 404 error page saying

The requested resource (/eventmaven/) is not available.

There is nothing in my logs (found in $ JBOSS_HOME / standalone / log / server.log or $ JBOSS_HOME / standalone / log / boot.log) to indicate why I am getting this 404. Can anyone think of a reason or suggest extra troubleshooting steps?

Thanks - Dave

+5
source share
2 answers

Try to access a file that, as you know, exists, for example, a jpg or gif file. The above may be caused if you do not have the correct settings for the welcome page.

+2
source

In JBoss 7, you must create a file in the deployment directory named .dodeploy to start the deployment.

eventmaven.dodeploy in your case.

0
source

All Articles