快乐着飞舞着

---Nothing to do is doing nothing
随笔 - 93, 文章 - 5, 评论 - 56, 引用 - 0
数据加载中……

Failed to setup clustering 错误的解决

使用jboss 开发时碰到

[JBossCacheService][main] jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not   found
[JBossCacheManager][main] JBossCacheService to Tomcat clustering not found
[TomcatDeployer][main] Failed to setup clustering, clustering disabled
错误时 网上有一种解决方法是:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClusteringFAQ
上的官方解决办法。

但是如果你的应用根本用不到cluster 用不到 distribution 可以用如下方法更改:
检查 你的应用
/WEB-INF/web.xml
中是不是有

1 <web-app>
2 .
3    <distributable/>
4 ..
5 </web-app>
6 


改为

1 < web-app >
2 .
3 <!--
4    <distributable/>
5 -->
6 ..
7 </ web-app >
8


就可以了



posted on 2006-07-23 16:30 快乐着飞舞着 阅读(1101) 评论(0)  编辑 收藏 引用 所属分类: Others

只有注册用户登录后才能发表评论。

Clicky