The JBossAS7 root is served from the static $JBOSS_HOME/welcome-content directory (not a servlet app).
You
can still add the ROOT.war into $JBOSS_HOME/standalone/deployments
directory, but you must first disable the above first. Go in your
"$JBOSS_HOME/standalone/configuration/standalone.xml", then find
<subsystem xmlns="urn:jboss:domain:web:1.1"
and in the section find and set "enable-welcome-root="false" instead of "true".
With that disabled, your ROOT.war should work just as the old days.
If your ROOT.war is a directory (exploded war mode), then you need to create an empty file name "ROOT.war.dodeploy" to tell JBossAS to deploy it. I think JBossAS will only auto deploy packaged single .war file only.
If your ROOT.war is a directory (exploded war mode), then you need to create an empty file name "ROOT.war.dodeploy" to tell JBossAS to deploy it. I think JBossAS will only auto deploy packaged single .war file only.
No comments:
Post a Comment