[jboss-user] [JBoss Portal] - org.hibernate.SessionException: Session was already closed

NewTo23 do-not-reply at jboss.com
Wed Jan 17 10:11:04 EST 2007


Hi,

I get the following exception when I launch my Sun JSF application deployed as a portlet page in the JBoss portal server version 2.4.1.

I am using hibernate 3 jars. I dont get the below exception in the same jsf application that I have deployed in the JBoss AS 4.0.3

2007-01-17 10:04:06,782 ERROR [org.jboss.portal.portlet.container.com_sun_faces_portlet_FacesPortlet] The portlet threw an exception
  | javax.portlet.PortletException: org.apache.jasper.JasperException: javax.faces.el.EvaluationException: Error getting property 'stateList' from bean of type com.jsf.EntityBean: org.hibernate.SessionException: Session was already closed
  | 	at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:116)
  | 	at com.sun.faces.portlet.ExternalContextImpl.dispatch(ExternalContextImpl.java:126)
  | 	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
  | 	at com.sun.faces.portlet.ViewHandlerImpl.renderView(ViewHandlerImpl.java:122)
  | 	at com.sun.faces.portlet.LifecycleImpl$RenderResponsePhase.execute(LifecycleImpl.java:540)
  | 	at com.sun.faces.portlet.LifecycleImpl.phase(LifecycleImpl.java:246)
  | 	at com.sun.faces.portlet.LifecycleImpl.render(LifecycleImpl.java:188)
  | 	at com.sun.faces.portlet.FacesPortlet.render(FacesPortlet.java:304)

Please help me in resolving this.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002840#4002840

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002840



More information about the jboss-user mailing list