2 Replies Latest reply on Apr 7, 2017 7:22 AM by nadirx

    org.infinispan.statetransfer.StateTransferException: Transport does not, or is not configured to, support state transfer

    floidcosta

      I have JBoss 5 and JBoss 7 running  in parallel in the same box using the same database. Plus I have Java database change notification and Infinispan configured. But while trying to start the application in JBoss7 without temporarily bring down JBoss 5 I get the below error in JBoss 7. Please advice on how do I overcome this

       

       

      2017.04.06 10:09:46 INFO  GlobalComponentRegistry(691): Infinispan version: Infinispan 'Ursus' 4.2.1.FINAL

      2017.04.06 10:09:46 INFO  GlobalComponentRegistry(691): Infinispan version: Infinispan 'Ursus' 4.2.1.FINAL

      2017.04.06 10:09:46 DEBUG InterceptorChain(67): Interceptor chain size: 6

      2017.04.06 10:09:46 DEBUG InterceptorChain(67): Interceptor chain size: 6

      2017.04.06 10:09:46 DEBUG InterceptorChain(68): Interceptor chain is:

              >> org.infinispan.interceptors.InvocationContextInterceptor

              >> org.infinispan.interceptors.TxInterceptor

              >> org.infinispan.interceptors.NotificationInterceptor

              >> org.infinispan.interceptors.LockingInterceptor

              >> org.infinispan.interceptors.ReplicationInterceptor

              >> org.infinispan.interceptors.CallInterceptor

      2017.04.06 10:09:46 DEBUG InterceptorChain(68): Interceptor chain is:

              >> org.infinispan.interceptors.InvocationContextInterceptor

              >> org.infinispan.interceptors.TxInterceptor

              >> org.infinispan.interceptors.NotificationInterceptor

              >> org.infinispan.interceptors.LockingInterceptor

              >> org.infinispan.interceptors.ReplicationInterceptor

              >> org.infinispan.interceptors.CallInterceptor

      2017.04.06 10:09:46 DEBUG StateTransferManagerImpl(126): Initiating state transfer process

      2017.04.06 10:09:46 DEBUG StateTransferManagerImpl(126): Initiating state transfer process

      2017.04.06 10:09:46 WARN  JGroupsTransport(359): Channel not set up properly!

      2017.04.06 10:09:46 ERROR CacheManager(444): Exception while trying to take over listening

      org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.start() throws org.infinispan.statet

      ransfer.StateTransferException on object

              at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:174)

              at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:889)

              at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:687)

              at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:589)

              at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:147)

              at org.infinispan.CacheDelegate.start(CacheDelegate.java:323)

              at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:516)

              at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:439)

              at java.lang.Thread.run(Thread.java:745)

      Caused by: java.lang.reflect.InvocationTargetException

              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

              at java.lang.reflect.Method.invoke(Method.java:498)

              at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:171)

              ... 17 more

      Caused by: org.infinispan.statetransfer.StateTransferException: Transport does not, or is not configured to, support state transfer.  Please disable fetching

      state on startup, or reconfigure your transport.

              at org.infinispan.remoting.rpc.RpcManagerImpl.retrieveState(RpcManagerImpl.java:189)

              at org.infinispan.statetransfer.StateTransferManagerImpl.start(StateTransferManagerImpl.java:130)

        • 1. Re: org.infinispan.statetransfer.StateTransferException: Transport does not, or is not configured to, support state transfer
          floidcosta

           

          ----------------------------------------------Infinispan-config.xml-----------------------------------------------------------

           

          <?xml version="1.0" encoding="UTF-8"?>

           

          infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"


          xsi:schemaLocation="urn:infinispan:config:4.2 http://www.infinispan.org/schemas/infinispan-config-4.2.xsd"


          xmlns="urn:infinispan:config:4.2">


          <global>


          <transport clusterName="${rv.cache.clusterName}">


          <properties>


          <property name="configurationFile" value="jgroups-tcp.xml" />


          </properties>


          </transport>


          </global>


          <default>


          <locking isolationLevel="READ_COMMITTED"


          lockAcquisitionTimeout="10000" writeSkewCheck="false"


          concurrencyLevel="50" useLockStriping="false" />


          <clustering mode="replication">


          <stateRetrieval initialRetryWaitTime="1000" timeout="10000" numRetries="10"


          alwaysProvideInMemoryState="true" fetchInMemoryState="true" />           

           

          <sync />


          </clustering>


          </default>


          infinispan>

           

          -----------------------------------------------------------------------------JGroups----------------------------------------------------------------------------

           

                                           

           

          config xmlns="urn:org:jgroups"


          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"


          xsi:schemaLocation="urn:org:jgroups file:schema/JGroups-2.8.xsd">


          <TCP


          bind_addr="${jboss.bind.address}"


          bind_port="${jgroups.tcp.port:7800}"


          loopback="true"


          port_range="30"


          recv_buf_size="20000000"


          send_buf_size="640000"


          discard_incompatible_packets="true"


          max_bundle_size="64000"


          max_bundle_timeout="30"


          enable_bundling="true"


          use_send_queues="true"


          sock_conn_timeout="300"


          enable_diagnostics="false"


          thread_pool.enabled="true"


          thread_pool.min_threads="2"


          thread_pool.max_threads="30"


          thread_pool.keep_alive_time="5000"


          thread_pool.queue_enabled="false"


          thread_pool.queue_max_size="100"


          thread_pool.rejection_policy="Discard"


          oob_thread_pool.enabled="true"


          oob_thread_pool.min_threads="2"


          oob_thread_pool.max_threads="30"


          oob_thread_pool.keep_alive_time="5000"


          oob_thread_pool.queue_enabled="false"


          oob_thread_pool.queue_max_size="100"


          oob_thread_pool.rejection_policy="Discard"       

           

          />


          <!-- Ergonomics, new in JGroups 2.11, are disabled by default in TCPPING until JGRP-1253 is resolved -->  

           

          <TCPPING timeout="3000"


          initial_hosts="${jgroups.initial.hosts}"


          port_range="0"


          num_initial_members="${jgroups.num.initial.members:2}"


          ergonomics="false"


          /> 

           

          <MERGE2 max_interval="30000" min_interval="10000"/>


          <FD_SOCK/>


          <FD timeout="3000" max_tries="3"/>


          <VERIFY_SUSPECT timeout="1500"/>


          <pbcast.NAKACK


          use_mcast_xmit="false" gc_lag="0"


          retransmit_timeout="300,600,1200,2400,4800"


          discard_delivered_msgs="false"/>


          <UNICAST timeout="300,600,1200"/>


          <pbcast.STABLE stability_delay="1000" desired_avg_gossip="50000" max_bytes="400000"/>


          <pbcast.GMS print_local_addr="false" join_timeout="7000" view_bundling="true"/>


          <UFC max_credits="2000000" min_threshold="0.10"/>


          <MFC max_credits="2000000" min_threshold="0.10"/>


          <FRAG2 frag_size="60000"/>


          <pbcast.STREAMING_STATE_TRANSFER/>


          <pbcast.FLUSH timeout="0"/>


          config>

           

           

           

          • 2. Re: org.infinispan.statetransfer.StateTransferException: Transport does not, or is not configured to, support state transfer
            nadirx

            Infinispan 4.2 is ancient (released in 2011) and completely unsupported. You should upgrade from AS 7 to WildFly 10 which includes Infinispan 8.2.

             

            Tristan