alanhay
Jul 17th, 2007, 05:35 AM
I'm having trouble with persistent sessions in Tomcat when using Session scoped objects.
The exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.springframework.aop.scope.DefaultScopedObject
The contents of the session at the time of the reload are as below.
USER_AUTHENTICATED_KEY :: USER_AUTHENTICATED_KEY :: class java.lang.String
scopedTarget.navigation :: com.barrhibb.ifa.framework.web.tag.NavigationImpl@ e69619 :: class com.barrhibb.ifa.framework.web.tag.NavigationImpl
scopedTarget.systemUser :: com.barrhibb.ifa.framework.auth.SystemUser@8869b9 :: class com.barrhibb.ifa.framework.auth.SystemUser
scopedTarget.capitaInitialState :: com.barrhibb.ifa.service.CapitaInitialStateImpl@1d 5264c :: class com.barrhibb.ifa.service.CapitaInitialStateImpl
scopedTarget.ifaCommandBean :: com.barrhibb.ifa.web.command.IfaCommandBeanImpl@19 7e57c :: class com.barrhibb.ifa.web.command.IfaCommandBeanImpl
Can I use a DefaultScopedObject somehow that implements Serializable or is there another solution to this problem?
Thanks.
The exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.springframework.aop.scope.DefaultScopedObject
The contents of the session at the time of the reload are as below.
USER_AUTHENTICATED_KEY :: USER_AUTHENTICATED_KEY :: class java.lang.String
scopedTarget.navigation :: com.barrhibb.ifa.framework.web.tag.NavigationImpl@ e69619 :: class com.barrhibb.ifa.framework.web.tag.NavigationImpl
scopedTarget.systemUser :: com.barrhibb.ifa.framework.auth.SystemUser@8869b9 :: class com.barrhibb.ifa.framework.auth.SystemUser
scopedTarget.capitaInitialState :: com.barrhibb.ifa.service.CapitaInitialStateImpl@1d 5264c :: class com.barrhibb.ifa.service.CapitaInitialStateImpl
scopedTarget.ifaCommandBean :: com.barrhibb.ifa.web.command.IfaCommandBeanImpl@19 7e57c :: class com.barrhibb.ifa.web.command.IfaCommandBeanImpl
Can I use a DefaultScopedObject somehow that implements Serializable or is there another solution to this problem?
Thanks.