[jboss-jira] [JBoss JIRA] (WFLY-6632) Unable to create replicated cache

Vinay Lodha (JIRA) issues at jboss.org
Fri May 20 09:24:00 EDT 2016


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

Vinay Lodha updated WFLY-6632:
------------------------------
    Steps to Reproduce: 
1. Add new cache in infinispan subsystem

{code:xml}

<cache-container name="tompOtp" default-cache="default" jndi-name="java:jboss/infinispan/tompOtp" aliases="test123" statistics-enabled="false">
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
<cache-container name="tomp" default-cache="default" jndi-name="java:jboss/infinispan/tomp" aliases="test1234" statistics-enabled="false">
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
{code}


2. Deploy a sample application which use that cache. (You will need to update web.xml also as mentioned in https://issues.jboss.org/browse/WFLY-4562)

3. Server startup fail saying 


{code:java}
2016-05-20 17:33:52,308 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 62) MSC000001: Failed to start service jboss.infinispan.tompOtp.default.config: org.jboss.msc.service.StartException in service jboss.infinispan.tompOtp.default.config: org.infinispan.commons.CacheConfigurationException: ISPN000343: Must have a transport set in the global configuration in order to define a clustered cache

{code}

4. Try adding trasport configuration manually 

{code:xml}
<cache-container name="tompOtp" default-cache="default" jndi-name="java:jboss/infinispan/tompOtp" aliases="test123" statistics-enabled="false">
		<transport channel="TCP" lock-timeout="60000"/>
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
<cache-container name="tomp" default-cache="default" jndi-name="java:jboss/infinispan/tomp" aliases="test1234" statistics-enabled="false">
		<transport channel="TCP" lock-timeout="60000"/>
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
{code}
5. server still fail to start

  was:
1. Add new cache in infinispan subsystem

{code:xml}

<cache-container name="tomp" default-cache="default" jndi-name="java:jboss/infinispan/test" aliases="test123" statistics-enabled="false">
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
{code}


2. Deploy a sample application which use that cache. (You will need to update web.xml also as mentioned in https://issues.jboss.org/browse/WFLY-4562)

3. Server startup fail saying 


{code:java}
2016-05-20 17:33:52,308 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 62) MSC000001: Failed to start service jboss.infinispan.tompOtp.default.config: org.jboss.msc.service.StartException in service jboss.infinispan.tompOtp.default.config: org.infinispan.commons.CacheConfigurationException: ISPN000343: Must have a transport set in the global configuration in order to define a clustered cache

{code}

4. Try adding trasport configuration manually 

{code:xml}
<cache-container name="tomp" default-cache="default" jndi-name="java:jboss/infinispan/test" aliases="test123" statistics-enabled="false">
		<transport channel="TCP" lock-timeout="60000"/>
                <replicated-cache name="default" mode="SYNC"/>
</cache-container>
{code}
5. server still fail to start



> Unable to create replicated cache 
> ----------------------------------
>
>                 Key: WFLY-6632
>                 URL: https://issues.jboss.org/browse/WFLY-6632
>             Project: WildFly
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 9.0.2.Final
>            Reporter: Vinay Lodha
>            Assignee: Paul Ferraro
>         Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war
>
>
> servers is unable to create replicated or distributed infinispan cache, 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list