Session « Tomcat « JPA Q&A





1. MSQL+JDTS+Tomcat(struts) the session is new?    forum.hibernate.org

Hibernate version: I'm using MSQL+JDTS+Tomcat(struts) I have a problem with sessions. I put in the ServletContext the sessionsFactory and always call the opensessionmethod -> use the sessions -> finally close it. Using my junit tests all works fine, but under Tomcat there are problems. Hibernate tell me (with an Exception) that during the saveorUpdate method there are already object with the ...

2. session disconnection in tomcat    forum.hibernate.org

3. Hibernate session problem with Tomcat5.5.xx + MySQL5.x    forum.hibernate.org

Application Server:Tomcat 5.5.20 on WindowsXP/Debian Etch Hibernate version: 3.0.x Database version: MySQL 5.0.32-Debian_7etch5-log and 5.0.51b-community-nt Hi, I got a problem with hibernate 3 and mysql 5, [when I select, I get 2 datas] Hibernate: select this_.FolderId as FolderId15_0_, this_.Name as Name15_0_, this_.Type as Type15_0_, this_.Created as Created15_0_, this_.ParentId as ParentId15_0_ from dashboardfolder this_ where this_.ParentId=? folder size= 2 <--- [I count ...

4. hibernate session and Tomcat    forum.hibernate.org

5. Tomcat can't find org.hibernate.Session    forum.hibernate.org

Hibernate version:3.3.1.GA I'm using Tomcat 6. I can compile my classes fine, but when I try to run the webapp, I get: Code: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class com.pkc.games.GamesServlet org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) ...