Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-26062

(8.0.z) Hotrod: can't create distributed session for externalization to Infinispan

XMLWordPrintable

    • False
    • None
    • False
    • +
    • Known Issue
    • Workaround Exists
    • Hide

      Configure the associated remote-cache-container with marshaller=PROTOSTREAM, e.g.:

      /subsystem=infinispan/remote-cache-container=<RHDG_REMOTE_CACHE_CONTAINER_RESOURCE_NAME>:write-attribute(name=marshaller,value=PROTOSTREAM)
      
      Show
      Configure the associated remote-cache-container with marshaller=PROTOSTREAM, e.g.: /subsystem=infinispan/remote-cache-container=<RHDG_REMOTE_CACHE_CONTAINER_RESOURCE_NAME>:write-attribute(name=marshaller,value=PROTOSTREAM)

      An interoperability test involving EAP 8 + RHDG on OpenShift is showing a regression of EAP 8 CR2 candidate against EAP 8 CR1.
      Specifically the issue is traced by the server the first time an attempt is made to store a session value to a Infinispan remote cache, which is set up to communicate via HotRod (fulll server log attached):

      ...
      Suppressed: org.infinispan.commons.util.logging.TraceException
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.interceptors.impl.SimpleAsyncInvocationStage.get(SimpleAsyncInvocationStage.java:39)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.interceptors.impl.AsyncInterceptorChainImpl.invoke(AsyncInterceptorChainImpl.java:249)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.InvocationHelper.doInvoke(InvocationHelper.java:323)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:111)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.InvocationHelper.invoke(InvocationHelper.java:93)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.CacheImpl.putAll(CacheImpl.java:1361)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.DecoratedCache.putAll(DecoratedCache.java:562)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.DecoratedCache.putAll(DecoratedCache.java:567)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.EncoderCache.putAll(EncoderCache.java:792)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.AbstractDelegatingCache.putAll(AbstractDelegatingCache.java:451)
      at org.infinispan@14.0.17.Final-redhat-00002//org.infinispan.cache.impl.AbstractDelegatingCache.putAll(AbstractDelegatingCache.java:451)
      at org.wildfly.clustering.web.infinispan@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.infinispan.session.AbstractInfinispanSessionMetaDataFactory.createValue(AbstractInfinispanSessionMetaDataFactory.java:104)
      at org.wildfly.clustering.web.infinispan@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.infinispan.session.AbstractInfinispanSessionMetaDataFactory.createValue(AbstractInfinispanSessionMetaDataFactory.java:66)
      at org.wildfly.clustering.web.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.cache.session.CompositeSessionFactory.createValue(CompositeSessionFactory.java:55)
      at org.wildfly.clustering.web.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.cache.session.CompositeSessionFactory.createValue(CompositeSessionFactory.java:40)
      at org.wildfly.clustering.web.infinispan@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.infinispan.session.InfinispanSessionManager.createSession(InfinispanSessionManager.java:165)
      at org.wildfly.clustering.web.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager.apply(ConcurrentSessionManager.java:88)
      at org.wildfly.clustering.web.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager.apply(ConcurrentSessionManager.java:85)
      at org.wildfly.clustering.ee.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.ee.cache.ConcurrentManager.apply(ConcurrentManager.java:91)
      at org.wildfly.clustering.web.cache@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.cache.session.ConcurrentSessionManager.createSession(ConcurrentSessionManager.java:92)
      at org.wildfly.clustering.web.undertow@8.0.0.GA-redhat-00010//org.wildfly.clustering.web.undertow.session.DistributableSessionManager.createSession(DistributableSessionManager.java:171)
      at io.undertow.servlet@2.3.10.SP2-redhat-00001//io.undertow.servlet.spec.ServletContextImpl.getSession(ServletContextImpl.java:967)
      at io.undertow.servlet@2.3.10.SP2-redhat-00001//io.undertow.servlet.spec.HttpServletRequestImpl.getSession(HttpServletRequestImpl.java:454)
      at deployment.ROOT.war//org.jboss.qa.appsint.deployments.HelloWorldServlet.doGet(HelloWorldServlet.java:18)
      ...

            istudens@redhat.com Ivo Studensky
            fburzigo Fabio Burzigotti
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: