You may need to add a jboss-web.xml file to the default localhost. If you do not have
this file in {JBOSS_HOME}/server/default/deploy/jboss-web.deployer/ROOT.war/WEB-INF/, then
add the file to this directory.
| <?xml version="1.0"?>
| <!DOCTYPE jboss-web>
| <jboss-web>
| <context-root>/</context-root>
| </jboss-web>
|
Notice that there is no virtual host specified because your server.xml specifies that the
default host is localhost.
server.xml:
| [...]
|
| <!-- Define an AJP 1.3 Connector on port 8009 -->
| <Connector port="8009" address="${jboss.bind.address}"
protocol="AJP/1.3"
| emptySessionPath="true" enableLookups="false"
redirectPort="8443" />
|
| <Engine name="jboss.web" defaultHost="localhost">
|
| [...]
|
| <Host name="localhost"
| autoDeploy="false" deployOnStartup="false"
deployXML="false"
|
configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"
| >
|
| [...]
| </Host>
|
| <!-- Define virtual hosts -->
| <Host name="mydomain.com" .... </Host>
|
| </Engine>
| </Service>
| </Server>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095685#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...