首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 操作系统 >

关于JBOSS的HOST配置有关问题

2012-11-10 
关于JBOSS的HOST配置问题WEB-INF/jboss-web.xmlIn your web application you’ll want to add an xml file

关于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名字,就行了。

热点排行