[jboss-jira] [JBoss JIRA] (WFLY-3576) persistent-sessions fail: NotSerializableException

Chris Ritchie (JIRA) issues at jboss.org
Thu Jul 3 04:18:25 EDT 2014


Chris Ritchie created WFLY-3576:
-----------------------------------

             Summary: persistent-sessions fail: NotSerializableException
                 Key: WFLY-3576
                 URL: https://issues.jboss.org/browse/WFLY-3576
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web (Undertow)
    Affects Versions: 8.1.0.Final
         Environment: Linux Mint 13 (based on Ubuntu 12.04), Java 1.7.0_21
            Reporter: Chris Ritchie
            Assignee: Stuart Douglas


When WildFly is configured to persist sessions during restart/redeploy, upon application undeployment, a NotSerializableException is thrown:

15:59:19,459 WARN  [io.undertow.servlet] (MSC service thread 1-10) UT015010: Failed to persist sessions: java.io.NotSerializableException: org.wildfly.extension.undertow.AbstractPersistentSessionManager$SessionEntry
  at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:894)
  at org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:683)
  at org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:62)
  at org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:115)
  at org.wildfly.extension.undertow.DiskBasedModularPersistentSessionManager.persistSerializedSessions(DiskBasedModularPersistentSessionManager.java:72)
  at org.wildfly.extension.undertow.AbstractPersistentSessionManager.persistSessions(AbstractPersistentSessionManager.java:63)
  at io.undertow.servlet.handlers.SessionRestoringHandler.stop(SessionRestoringHandler.java:90) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
  at io.undertow.servlet.core.DeploymentManagerImpl.stop(DeploymentManagerImpl.java:512) [undertow-servlet-1.0.0.Final.jar:1.0.0.Final]
  at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stopContext(UndertowDeploymentService.java:113)
  at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.stop(UndertowDeploymentService.java:100)
  at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:2056)
  at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:2017)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
  at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
Caused by: an exception which occurred:
  in object java.util.HashMap at b0096a85

The application I deployed does not do anything fancy with the session. I do not add anything to the session. It is merely a simple web page with an EJB backend.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list