您的位置:首页 >> 编程开发 >> Java >> JBoss >> 正文
JBoss RSS
 

初试JBOSSIDE1.4

http://www.rdxx.com 05年07月09日 12:12 Blog 我要投稿

关键词: JBOSSIDE1.4

EJB

Object ref = context.lookup("java:/comp/env/ejb/Fibo");

instead of    Object ref = context.lookup("Fibo");

HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

instead of  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

DEPLOY

Go to Succeed in deploying applications to the cluster farm and read the solution there.

"Failed to setup clustering", what does it mean?

[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

Since 3.2.6, HTTP session replication is based on JBossCache, and more precisely the TomcatClusteringCache? service.
In 3.2.6, 3.2.7, 4.0.1 and 4.0.1SP1, the dependency on this service is missing in Tomcat's jboss-service.xml.

To fix it, please edit /all/jbossweb-tomcat5x.sar/META-INF/jboss-service.xml and enable the <depends optional-attribute-name="CacheName?"> element, update the MBean ObjectName as well as the <depends> element itself.

The resulting code should look as follows:


      <!--
         Configuration for HTTP Session Clustering using JBossCache
      -->
      <depends>jboss.cache:service=TomcatClusteringCache</depends>

instead of

      <!--
         Configuration for HTTP Session Clustering using JBossCache
      -->
      <!--
      <depends optional-attribute-name="CacheName">jboss.cache:service=TreeCache</depends>
      -->
一切OK。GO,GO,GO


 
 
标签: JBOSSIDE1.4 打印本文
 
 
  相关资讯
RSS
 
 
 
  热点搜索
 
 
 



Valid XHTML 1.0 Transitional
Copyright ©2005 - 2008 Rdxx.Com,All Rights Reserved
收藏本页
收藏本站