[infinispan-issues] [JBoss JIRA] (ISPN-2605) single node cluster (local mode) can not start with IllegalStateException

Dan Berindei (JIRA) jira-events at lists.jboss.org
Tue Dec 11 06:56:17 EST 2012


     [ https://issues.jboss.org/browse/ISPN-2605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei resolved ISPN-2605.
--------------------------------

    Resolution: Won't Fix


I'm marking this "Won't fix" because the cluster is behaving as designed: there is a <transport> element in the global configuration, so the cache manager is clustered and should create a JGroups channel.
                
> 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: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list