]
Dan Berindei commented on ISPN-2605:
------------------------------------
If you configure a shared transport in JGroups, all the cache managers started from the
same JVM have to use different cluster names. The error you're getting implies that
you have two cache managers using the same 'local_gw' cluster name.
The transport component in Infinispan starts a new channel whenever the cache manager is
started iff there is a <transport> element in the global configuration. So if this
cache manager isn't meant to have any clustered caches, you should remove the
<transport> element.
single node cluster (local mode) can not start with
IllegalStateException
-------------------------------------------------------------------------
Key: ISPN-2605
URL:
https://issues.jboss.org/browse/ISPN-2605
Project: Infinispan
Issue Type: Bug
Components: Core API
Affects Versions: 5.1.4.FINAL
Reporter: dex chen
Assignee: Mircea Markus
I have a single one node cluster configured a cache with cluster mode set to
"local", and have several instances with the similar configurations without
problem. However, one of system just can not start up.
I made sure there is no duplicate names. Every time, I start the application and get the
same error even after I change the cluster name in Infinispan.xml.
I am using Infinisapn 5.1.4.Final for this.
The jgroups channel better does not get started for "local" cluster.
=================
org.infinispan.manager.EmbeddedCacheManagerStartupException:
org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type
JGroupsTransport
at
org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:223)
at
org.infinispan.manager.DefaultCacheManager.wireCache(DefaultCacheManager.java:684)
at
org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
at
org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
....
Caused by: java.lang.IllegalStateException: cluster 'local_gw' is already
connected to singleton transport: [dummy-1354557074615, dummy-1354557038904,
dummy-1354557028675, dummy-1354557069508, dummy-1354557054249, dummy-1354557064426,
dummy-1354557049152, dummy-1354557059345, dummy-1354557033791, dummy-1354557044023,
local_gw]
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:909)
at org.jgroups.JChannel.startStack(JChannel.java:841)
at org.jgroups.JChannel.connect(JChannel.java:277)
at org.jgroups.JChannel.connect(JChannel.java:261)
at
org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:184)
... 21 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: