[jboss-user] [Beginners Corner] - Re: DeploymentException: Web mapping already exists for depl

jaikiran do-not-reply at jboss.com
Thu Dec 11 02:23:30 EST 2008

anonymous wrote : org.jboss.deployers.spi.DeploymentException: Web mapping already exists for deployment URL file:/C:/MyStuff/jboss-5.0.0.
  | GA/server/default/tmp/deploy/hello56098-exp.war/

By default. there is a ROOT.war in the deploy folder of JBoss which gets bound to / context. Earlier versions of JBoss did not throw an exception when some other application too tried binding its context to /. But looks like JBoss-5GA is stricter (which i believe is good) in this. So i would recommend you either remove the ROOT.war from the deploy folder or change the context-root in your jboss-web.xml to something else, like:


Then you can access the jsp through http://localhost:8080/myApp/hello.jsp

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195807#4195807

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195807

More information about the jboss-user mailing list