"Unable to instantiate class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory" when configuring a remote cache store for JBoss EAP 6.0 web clustering
Issue
-
While externalizing sessions into a remote Infinispan cluster instead of the classic EAP embedded clustering.
<replicated-cache name="repl" mode="ASYNC" batching="true"> <remote-store cache="default" socket-timeout="60000" tcp-no-delay="true" fetch-state="false" preload="true" purge="false" shared="true"> <remote-server outbound-socket-binding="remote-store-hotrod-server"/> </remote-store> </replicated-cache>the following exception occurs when trying to configure the remote store, on
application initilization: ERROR [org.jboss.msc.service.fail] (CacheService lifecycle - 1) MSC000001: Failed to start service jboss.infinispan.web.default-host/test: org.jboss.msc.service.StartException in service jboss.infinispan.web.default-host/test: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.loaders.CacheLoaderManagerImpl.start() on object of type CacheLoaderManagerImpl ... Caused by: org.infinispan.CacheConfigurationException: Unable to instantiate class org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory ...
Environment
- JBoss Enterprise Application Platform (EAP)
- 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.