关于JBOSS的HOST配置问题
WEB-INF/jboss-web.xml
In your web application you’ll want to add an xml file named “jboss-web.xml” to your WEB-INF folder. This is the file that’s going to map both the web application’s context and host in jboss.
上面是官方的host配置文档。我发现host name必须为www.**.com的形式,不能没有www,要不然,JBOSS识别不了。目前就发现这个问题,不知为什么。配置Tomcat时,并没有这个闻听出现。
还有,当遇到,什么ROOT.WAR已经存在的问题,可以把web.xml中的 <context-root>/</context-root> 改成你,当前部署的war名字,就行了。