5 Replies Latest reply on Dec 22, 2015 10:37 AM by Paul Ferraro

    Infinispan NotSerializableException

    valsaraj viswanathan Master

      Hi,

       

      I am getting following error in wildfly-8.2.0 cluster:

      2015-12-01 04:13:06,762 WARN [org.infinispan.factories.ComponentRegistry] (ServerService Thread Pool -- 112) ISPN000189: While stopping a cache or cache manager, one of its components failed to stop: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.eviction.PassivationManagerImpl.passivateAll() throws org.infinispan.persistence.spi.PersistenceException on object of type PassivationManagerImpl

      at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:185)

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

      at org.infinispan.factories.AbstractComponentRegistry.internalStop(AbstractComponentRegistry.java:674)

      at org.infinispan.factories.AbstractComponentRegistry.stop(AbstractComponentRegistry.java:552)

      at org.infinispan.factories.ComponentRegistry.stop(ComponentRegistry.java:241)

      at org.infinispan.CacheImpl.stop(CacheImpl.java:697)

      at org.infinispan.CacheImpl.stop(CacheImpl.java:692)

      at org.infinispan.AbstractDelegatingCache.stop(AbstractDelegatingCache.java:316)

      at org.jboss.as.clustering.infinispan.subsystem.CacheService.stop(CacheService.java:96)

      at org.jboss.as.clustering.msc.AsynchronousService$2.run(AsynchronousService.java:114)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.infinispan.persistence.spi.PersistenceException: org.infinispan.persistence.spi.PersistenceException: org.infinispan.commons.marshall.NotSerializableException: io.undertow.util.HeaderMap

      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:317)

      at org.infinispan.persistence.manager.PersistenceManagerImpl.writeToAllStores(PersistenceManagerImpl.java:457)

      at org.infinispan.eviction.PassivationManagerImpl.passivateAll(PassivationManagerImpl.java:94)

      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]

      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]

      at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]

      at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:183)

      ... 13 more

      Caused by: org.infinispan.persistence.spi.PersistenceException: org.infinispan.commons.marshall.NotSerializableException: io.undertow.util.HeaderMap

      at org.infinispan.marshall.core.MarshalledEntryImpl.marshall(MarshalledEntryImpl.java:107)

      at org.infinispan.marshall.core.MarshalledEntryImpl.getValueBytes(MarshalledEntryImpl.java:88)

      at org.infinispan.persistence.file.SingleFileStore.write(SingleFileStore.java:275)

      ... 20 more

      Caused by: org.infinispan.commons.marshall.NotSerializableException: io.undertow.util.HeaderMap

      Caused by: an exception which occurred:

      in field headerMap

      in object java.util.HashMap@9a1bd028

      in object org.jboss.as.clustering.marshalling.SimpleMarshalledValue@9a1bd028

       

      2015-12-01 04:13:07,379 ERROR [io.undertow.servlet.request] (default task-40) UT015005: Error invoking method requestDestroyed on listener class com.sun.faces.config.ConfigureListener: java.lang.RuntimeException: javax.servlet.ServletException: UT010013: Could not instantiate com.sun.faces.config.ConfigureListener

      at io.undertow.servlet.core.ManagedListener.instance(ManagedListener.java:77) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ApplicationListeners.get(ApplicationListeners.java:297) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ApplicationListeners.requestDestroyed(ApplicationListeners.java:225) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:304) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      Caused by: javax.servlet.ServletException: UT010013: Could not instantiate com.sun.faces.config.ConfigureListener

      at io.undertow.servlet.core.ManagedListener.start(ManagedListener.java:50) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ManagedListener.instance(ManagedListener.java:75) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      ... 11 more

      Caused by: java.lang.IllegalStateException

      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)

      at org.jboss.as.ee.component.ComponentStartService.getValue(ComponentStartService.java:97)

      at org.jboss.as.ee.component.ComponentStartService.getValue(ComponentStartService.java:41)

      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1158)

      at org.jboss.as.ee.component.ComponentRegistry$ComponentManagedReferenceFactory.getReference(ComponentRegistry.java:149)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$5.createInstance(UndertowDeploymentInfoService.java:1233)

      at io.undertow.servlet.core.ManagedListener.start(ManagedListener.java:48) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      ... 12 more

       

      2015-12-01 04:13:07,380 ERROR [io.undertow.servlet.request] (default task-40) UT015005: Error invoking method requestDestroyed on listener class org.jboss.weld.servlet.WeldInitialListener: java.lang.RuntimeException: javax.servlet.ServletException: UT010013: Could not instantiate org.jboss.weld.servlet.WeldInitialListener

      at io.undertow.servlet.core.ManagedListener.instance(ManagedListener.java:77) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ApplicationListeners.get(ApplicationListeners.java:297) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ApplicationListeners.requestDestroyed(ApplicationListeners.java:225) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:304) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:247) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:76) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:166) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.server.Connectors.executeRootHandler(Connectors.java:197) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:759) [undertow-core-1.1.0.Final.jar:1.1.0.Final]

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

      Caused by: javax.servlet.ServletException: UT010013: Could not instantiate org.jboss.weld.servlet.WeldInitialListener

      at io.undertow.servlet.core.ManagedListener.start(ManagedListener.java:50) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      at io.undertow.servlet.core.ManagedListener.instance(ManagedListener.java:75) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      ... 11 more

      Caused by: java.lang.IllegalStateException

      at org.jboss.msc.value.InjectedValue.getValue(InjectedValue.java:47)

      at org.jboss.as.ee.component.ComponentStartService.getValue(ComponentStartService.java:97)

      at org.jboss.as.ee.component.ComponentStartService.getValue(ComponentStartService.java:41)

      at org.jboss.msc.service.ServiceControllerImpl.getValue(ServiceControllerImpl.java:1158)

      at org.jboss.as.ee.component.ComponentRegistry$ComponentManagedReferenceFactory.getReference(ComponentRegistry.java:149)

      at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService$5.createInstance(UndertowDeploymentInfoService.java:1233)

      at io.undertow.servlet.core.ManagedListener.start(ManagedListener.java:48) [undertow-servlet-1.1.0.Final.jar:1.1.0.Final]

      ... 12 more

      What could e the reason?

       

      Thanks!