error « Tomcat « JPA Q&A





1. Tomcat error with Hibernate 3.5.1    stackoverflow.com

I just upgraded to hibernate 3.5.1 and I get an error now saying:

java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval () Z. 
This only happens with Tomcat not with Jetty. I've checked and I don't have any conflict ...

2. Tomcat 5.5 OutOfMemory error using Hibernate    stackoverflow.com

I'm experiencing a OutOfMemory error from Tomcat. This error started ever since I added Hibernate into the application. I'm not using Spring, so I do all the open/close for Hibernate Sessions. Below ...

3. Java & Tomcat: Severe Error starting obfuscated app w/ hibernate inside    stackoverflow.com

This is a little hard to explain.. I am using tomcat 6.0 to test deploy a WAR file. I'm using proGuard to obfuscate the WAR file. To use proGuard, all the com.*, org.* ...

4. Error while using Hibernate with Tomcat 5.0    coderanch.com

Hi frnds, Please help me out. Datasource name :java:/sewaDS I am using Hibernate with Tomcat 5.0 and while connecting with Database which is MySQL i am getting the following error : SEVERE: Could not find datasource: java:/sewaDS javax.naming.NameNotFoundException: Name sewaDS is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:768) at org.apache.naming.NamingContext.lookup(NamingContext.java:151) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionP at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionPr at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:362) at ...

5. error while using Hibernate and Tomcat    coderanch.com

Hi frnds , please help me out. I am getting a following error while performing JNDI lookup using Tomcat and Hibernate : WARNING: Could not obtain connection metadata org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:59) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1463) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1004) at com.vision.test.util.HibernateUtils.getSessionFactory(HibernateUtils.java:32) at com.vision.test.action.BaseControllerImpl.getSessionFactory(BaseControllerImpl.java:76) at com.vision.test.action.BaseControllerImpl.getSession(BaseControllerImpl.java:83) at com.vision.test.action.BaseControllerImpl.displayUser(BaseControllerImpl.java:36) at ...

6. Hibernate error on tomcat    coderanch.com

Hi, I posted here because the stack trace is about hibernate, but it I'm not sure that this isn't a tomcat thing. I have a web application that works fine, but sometimes when deployed to tomcat (5.5.16) I get this Hibernate exception. The strange thing is that it doesn't happen every time the application is started, if I redeploy or restart ...

7. ClassCast Hibernate Tomcat Error    forum.hibernate.org

Newbie Joined: Tue May 11, 2004 11:24 pm Posts: 5 Hi, I'm doing an hons thesis using hibernate, so I am quite wet behind the ears at this sort of thing. I've checked the forums (by searching for classcast) and nothing relevant came up. here is the problem: 2004-05-12 12:54:13 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception java.lang.ClassCastException at MarkCT.Actions.login(Actions.java:143) at ...

8. Tomcat 6.0.18 HTTP Status 500 Error    forum.hibernate.org

Code is Generated by Hibernate Tools. Here is the Error Report: HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:398) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause javax.servlet.ServletException: java.lang.NoClassDefFoundError org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.test_jsp._jspService(test_jsp.java:86) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause java.lang.NoClassDefFoundError org.apache.jsp.test_jsp._jspService(test_jsp.java:67) ...

9. Java app on Tomcat return "Network Error (tcp_error)" error    forum.hibernate.org

Hello there, I appologize if it's not related, but I've googled about my problem and it seemed that it might be related to Hibernate in some level. I've recently deployed a java application to an shared Apache / Tomcat server with MySQL as a backend database. It's a UNIX server. Tomcat version is 5.5. Apache uses mod_jk: Code: JkMount /* myAJP ...