[infinispan-issues] [JBoss JIRA] (ISPN-7143) Memcached connector fails if default cache is not configured

Tristan Tarrant (JIRA) issues at jboss.org
Thu Nov 30 08:17:01 EST 2017


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

Tristan Tarrant updated ISPN-7143:
----------------------------------
    Component/s: Memcached


> Memcached connector fails if default cache is not configured
> ------------------------------------------------------------
>
>                 Key: ISPN-7143
>                 URL: https://issues.jboss.org/browse/ISPN-7143
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Memcached, Server
>    Affects Versions: 9.0.0.Alpha4
>            Reporter: Jakub Markos
>
> When core and endpoint configurations in clustered.xml config from server distribution are reduced to this:
> {code}
>         <subsystem xmlns="urn:infinispan:server:core:9.0" default-cache-container="clustered">
>             <cache-container name="clustered" default-cache="default" statistics="true">
>                 <transport lock-timeout="60000"/>
>                 <global-state/>
>                 <distributed-cache name="memcachedCache" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">
>                     <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>
>                     <transaction mode="NONE"/>
>                 </distributed-cache>
>             </cache-container>
>         </subsystem>
>         <subsystem xmlns="urn:infinispan:server:endpoint:9.0">
>             <memcached-connector socket-binding="memcached" cache-container="clustered" cache="memcachedCache"/>
>         </subsystem>
> {code}
> the server throws this ERROR on startup:
> {code}
> 17:10:14,051 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) DGISPN0001: Started memcachedCache cache from clustered container
> 17:10:14,069 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
>     ("subsystem" => "datagrid-infinispan-endpoint"),
>     ("memcached-connector" => "memcached-connector")
> ]) - failure description: {
>     "WFLYCTL0412: Required services that are not installed:" => ["jboss.datagrid-infinispan.clustered.default"],
>     "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.datagrid-infinispan-endpoint.memcached.memcached-connector is missing [jboss.datagrid-infinispan.clustered.default]"]
> }
> 17:10:14,085 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
> WFLYCTL0184:    New missing/unsatisfied dependencies:
>       service jboss.datagrid-infinispan.clustered.default (missing) dependents: [service jboss.datagrid-infinispan-endpoint.memcached.memcached-connector] 
> 17:10:14,143 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:10090/management
> 17:10:14,143 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:10090
> 17:10:14,144 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: Infinispan Server 9.0.0-SNAPSHOT (WildFly Core 2.2.0.Final) started (with errors) in 7173ms - Started 177 of 222 services (1 services failed or missing dependencies, 110 services are lazy, passive or on-demand)
> {code}
> When a default cache is also defined, like
> {code}
>         <subsystem xmlns="urn:infinispan:server:core:9.0" default-cache-container="clustered">
>             <cache-container name="clustered" default-cache="default" statistics="true">
>                 <transport lock-timeout="60000"/>
>                 <global-state/>
>                
>                 <distributed-cache name="default" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">
>                     <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>
>                     <transaction mode="NONE"/>
>                 </distributed-cache>
>                 <distributed-cache name="memcachedCache" mode="SYNC" segments="20" owners="2" remote-timeout="30000" start="EAGER">
>                     <locking acquire-timeout="30000" concurrency-level="1000" striping="false"/>
>                     <transaction mode="NONE"/>
>                 </distributed-cache>
>             </cache-container>
>         </subsystem>
> {code}
> everything is OK.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the infinispan-issues mailing list