How do I deploy my WAR to the JBoss Root Context?
Issue
- After deploying an application titled 'TEST.war' to the "/" context and browsing to the index.html "Jboss EAP Welcome page", the following error is seen:
org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start:
name=jboss.web.deployment:war=/ state=Create mode=Manual requiredState=Installed
[ActivityHistoryIfExistsFollows:][ExceptionIfExistsFollows:] org.jboss.deployers.spi.DeploymentException:
Web mapping already exists for deployment URL file:/opt/jboss/jboss-eap-5.1.2/jboss-as/server/occ-epc-az-qa/deploy/az.war/
- Additionally,
the ROOT.war/index.htmlpage is shown, when it should be theTEST.war/index.htmlpage.
Environment
- Red Hat JBoss Enterprise Application Platform
- 4.X
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
