[Clustering/JBoss] - ehCache 1.2 doesn't replicated data in the JBoss cluster
by ytkachenko
Hi, All.
We have a problem with eCache 1.2. We've configured cluster using JBoss 4.0.3 and our project using Hibernate 3.1.3, Spring 1.2.8, ehCache 1.2. In the ehcache.xml configuration file we've configured that some objects should repicated between cluster's nodes. Here example config of ehcache.xml:
<cacheManagerPeerProviderFactory
| class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
| properties="peerDiscovery=automatic, multicastGroupAddress=239.1.1.4, multicastGroupPort=4448"
| />
<cacheManagerPeerListenerFactory
| class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
| properties="port=40007"
| />
<cache name="com.prototype.ehcache.replication.ExampleObject"
| maxElementsInMemory="15000"
| eternal="false"
| timeToIdleSeconds="300"
| timeToLiveSeconds="300">
| <bootstrapCacheLoaderFactory class="net.sf.ehcache.distribution.RMIBootstrapCacheLoaderFactory"/>
| <cacheEventListenerFactory class="net.sf.ehcache.distribution.RMICacheReplicatorFactory"/>
| </cache>
According to manual of ehcache this object should fine replicated between cluster's nodes, but it's not. It's only cached on the current node. But I need that this object replicated between nodes too. Let me know if this an bug of ehcache 1.2 or it's configuration issue and I missed something. Let me know if you need more information about this issue.
Thanks in advance,
Yura.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976883#3976883
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976883
19 years, 7 months
[JBoss Portal] - Re: Both binary and source downloads fails to get deployed
by kkganesan
Nope. Ran from the bundle, this is what i get,
23:38:44,754 INFO [ServerInfo] Java version: 1.4.2_09,Apple Computer, Inc.
23:38:44,755 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-54,"Apple Computer, Inc."
23:38:44,756 INFO [ServerInfo] OS-System: Mac OS X 10.4.8,ppc
23:38:45,548 INFO [Server] Core system initialized
23:38:48,898 INFO [WebService] Using RMI server codebase: http://gunny.local:8083/
23:38:48,961 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
23:38:49,654 INFO [NamingService] JNDI bootstrap JNP=/0.0.0.0:1099, RMI=/0.0.0.0:1098, backlog=50, no client SocketFactory, Server SocketFactory=class org.jboss.net.sockets.DefaultSocketFactory
23:38:54,782 INFO [AspectDeployer] Deployed AOP: file:/Users/gunny/jboss-portal-2.4.0/server/default/deploy/jboss-portal.sar/portal-aop.xml
23:38:59,688 WARN [ServiceController] Problem creating service portal:service=ServerConfig
java.lang.IllegalArgumentException: Mixed content now allowed
at org.jboss.portal.common.util.XML.asString(XML.java:251)
at org.jboss.portal.common.util.XML.asString(XML.java:221)
....
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=ServerConfig
State: FAILED
...
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: portal:service=ServerConfig
State: FAILED
...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976882#3976882
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976882
19 years, 7 months