Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-714

JWS session externalization: HR manager fails to start due to missing classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • JDG 7.1.0 ER4
    • JDG 7.1.0 ER3
    • Build/Packaging
    • None

      wildfly-clustering-tomcat-[7,8].0-hotrod-1.0.0.ER3-redhat-1-uberjar.jar uberjars are missing at least JBoss Marshalling River bits (maybe also some others) and thus HR manager fails to start, failing with exception:

      SEVERE: Error manager.start()
      org.apache.catalina.LifecycleException: Failed to start component [org.wildfly.clustering.tomcat.hotrod.HotRodManager[/manager]]
              at org.apache.catalina.util.LifecycleBase.start(Unknown Source)
              at org.apache.catalina.core.StandardContext.startInternal(Unknown Source)
              at org.apache.catalina.util.LifecycleBase.start(Unknown Source)
              at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown Source)
              at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
              at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
              at org.apache.catalina.startup.HostConfig.deployDirectory(Unknown Source)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(Unknown Source)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.ExceptionInInitializerError
              at org.wildfly.clustering.web.hotrod.RemoteCacheManagerFactory.get(RemoteCacheManagerFactory.java:48)
              at org.wildfly.clustering.web.hotrod.RemoteCacheManagerFactory.get(RemoteCacheManagerFactory.java:35)
              at org.wildfly.clustering.tomcat.hotrod.HotRodManager.startInternal(HotRodManager.java:122)
              ... 13 more
      Caused by: java.lang.IllegalStateException: River marshaller factory not found.  Verify that the JBoss Marshalling River jar archive is in the classpath.
              at org.infinispan.commons.marshall.jboss.JBossMarshallerFactory.<init>(JBossMarshallerFactory.java:31)
              at org.infinispan.commons.marshall.jboss.AbstractJBossMarshaller.<clinit>(AbstractJBossMarshaller.java:42)
              ... 16 more
      

      and

      SEVERE: Error manager.start()
      org.apache.catalina.LifecycleException: Failed to start component [org.wildfly.clustering.tomcat.hotrod.HotRodManager[/docs]]
              at org.apache.catalina.util.LifecycleBase.start(Unknown Source)
              at org.apache.catalina.core.StandardContext.startInternal(Unknown Source)
              at org.apache.catalina.util.LifecycleBase.start(Unknown Source)
              at org.apache.catalina.core.ContainerBase.addChildInternal(Unknown Source)
              at org.apache.catalina.core.ContainerBase.addChild(Unknown Source)
              at org.apache.catalina.core.StandardHost.addChild(Unknown Source)
              at org.apache.catalina.startup.HostConfig.deployDirectory(Unknown Source)
              at org.apache.catalina.startup.HostConfig$DeployDirectory.run(Unknown Source)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.wildfly.clustering.web.hotrod.HotRodMarshaller
              at org.wildfly.clustering.web.hotrod.RemoteCacheManagerFactory.get(RemoteCacheManagerFactory.java:48)
              at org.wildfly.clustering.web.hotrod.RemoteCacheManagerFactory.get(RemoteCacheManagerFactory.java:35)
              at org.wildfly.clustering.tomcat.hotrod.HotRodManager.startInternal(HotRodManager.java:122)
              ... 13 more
      

      Applies to Tomcat 7 uber jar as well as for Tomcat 8 uber jar.

        1. session-ext.war
          10 kB
          Vojtech Juranek

              pferraro@redhat.com Paul Ferraro
              vjuranek@redhat.com Vojtech Juranek
              Vojtech Juranek Vojtech Juranek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: