[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-1705) On shutdown the UserInterceptor is throwing an error
Boleslaw Dawidowicz (JIRA)
jira-events at lists.jboss.org
Wed Sep 19 05:38:20 EDT 2007
[ http://jira.jboss.com/jira/browse/JBPORTAL-1705?page=all ]
Boleslaw Dawidowicz resolved JBPORTAL-1705.
-------------------------------------------
Resolution: Done
Its thrown from HttpSessionBindingListener that is triggered during server shutdown after some needed hibernate services where destroyed. Its quite impossible to change the unbinding order so I changed logging - stacktrace goes to debug and error shows only short message.
> On shutdown the UserInterceptor is throwing an error
> ----------------------------------------------------
>
> Key: JBPORTAL-1705
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-1705
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal Core
> Reporter: Thomas Heute
> Assigned To: Boleslaw Dawidowicz
> Fix For: 2.6.2 Final
>
>
> On shutdown, the UserInterceptor is complaining:
> 09:59:08,151 ERROR [UserInterceptor$UserFinalizer] Cannot finalize user 1
> java.lang.IllegalStateException: The org.jboss.portal.identity.db.HibernateUserImpl Cache is not alive.
> at net.sf.ehcache.Cache.checkStatus(Cache.java:1161)
> at net.sf.ehcache.Cache.get(Cache.java:645)
> at org.hibernate.cache.EhCache.get(EhCache.java:74)
> at org.hibernate.cache.ReadWriteCache.get(ReadWriteCache.java:80)
> at org.hibernate.event.def.DefaultLoadEventListener.loadFromSecondLevelCache(DefaultLoadEventListener.java:486)
> at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:357)
> at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
> at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
> at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
> at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
> at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
> at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
> at org.jboss.portal.identity.db.HibernateUserModuleImpl.findUserById(HibernateUserModuleImpl.java:137)
> at org.jboss.portal.core.aspects.server.UserInterceptor$UserFinalizer.org$jboss$portal$core$aspects$server$UserInterceptor$UserFinalizer$finalizeUser$aop(UserInterceptor.java:333)
> at org.jboss.portal.core.aspects.server.UserInterceptor$UserFinalizer$finalizeUser_7936384301567100739.invokeNext(UserInterceptor$UserFinalizer$finalizeUser_7936384301567100739.java)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list