Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting 404 when deploying war file to JBoss 7.1

I'm using JBoss 7.1.0 AS on Mac OSX Lion. I'm having trouble figuring out why one of my artifacts isn't deploying. I copied my war file to the $JBOSS_HOME/standalone/deployments directory. When I login to the JBoss admin console, it tells me my war file (named "eventmaven.war") is enabled. However, when I visit http://localhost:8080/eventmaven, I get the 404 error page saying

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

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

Thanks, - Dave

like image 470
Dave Avatar asked Nov 04 '22 04:11

Dave


1 Answers

Try to access a file that you know exists, like say a jpg or gif file. The above could be caused if you do not have a welcome page setup correctly.

like image 102
souser Avatar answered Nov 13 '22 22:11

souser