Tomcat « Tomcat « JPA Q&A





1. Tomcat + Hibernate + JNLP    stackoverflow.com

I have a small question, I'm trying to build and application that run's on Tomcat 6.0.28. My application is a JNLP that has a swing frame. The deployment works fine, ...

2. Unable to get JPA working with Hibernate    stackoverflow.com

For a weekend project I was trying to run JPA 2 with Hibernate 3.5. Please note that I am not getting any compile errors or runtime exceptions (when I deploy the ...

3. java.lang.IllegalStateException: Timer already cancelled when webapp redeploys on tomcat    stackoverflow.com

Using Hibernate in a struts2 webapp when the application redeploys I get this error when trying to access pages after redeploy.

java.lang.IllegalStateException: Timer already cancelled.
Just after redeploy tomcat logs the following output ...

4. Problems after Relocated JAVA Libraries to Tomcat Lib folder    stackoverflow.com

I have a problem with my project. I uploaded all my libraries to Tomcat Lib folder, and error occurred. org.hibernate.HibernateException: Could not parse configuration: /hibernate.cfg.xml at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1494) ...

5. Hibernate Instantiation Failure On Serverside    stackoverflow.com

I'm using a mysql database with hibernate that works perfectly locally. But when I deploy it on my server I get the following stacktrace. Please help:

Caused by: org.hibernate.HibernateException: ...

6. does hibernate+sqlite+tomcat work?    stackoverflow.com

I have an urgent problem: I have a jar which contains a hibernate+sqlite project (It does simple operations on a db). I have included this jar in a web project and ...

7. tomcat hibernate    coderanch.com

hi everyone i am using the combination of tomcat5.5.4 hibernate 2.a and ms sql server 2000 i have placed jsqlconnect.jar in the common /lib directory my entry in the server.xml file is as follows: factory org.apache.commons.dbcp.BasicDataSourceFactory url jdbc:JSQLConnect://sanjay:1433//quickstart driverClassNamecom.jnetdirect.jsql.JSQLDriver ...

8. Hibernate with Tomcat    coderanch.com

9. I am unable to use Hibernate with tomcat5.0    coderanch.com

I am using Tomcat5.0 , I want to use hibernate with tomcat but don't know how . I have looked at the hibernate sites but was unable to understand it . I need some body to guide me through the the process of using hibernate . Please is there any one who could tell me how to use hibernate . I ...





10. Question about Hibernate performance using in a Tomcat env.    coderanch.com

Hi, we are running a tomcat application using Hibernate to access to an mysql database and have the problem about the performance using it. When enabling the hibernate_statistics it shows that database queries in average takes about 20 till 30 ms using hibernate. But the mysql-log shows that they only takes about 1 ms. Are 20 ms slow for hibernate; what ...

11. Hibernate, Tomcat5.5, ExceptionInInitializerEr    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4580769 By: oberinspector I tried to install ZK on a debian box with Tomcat5.5. I get an java.lang.ExceptionInInitializerError exception: related log entries: ... Oct 21, 2007 6:53:09 PM org.zkoss.zkplus.hibernate.HibernateUtil initSessionFactory:86 SEVERE: Initial SessionFactory creation failed.java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) Oct 21, 2007 6:53:09 PM org.zkoss.zk.ui.util.Configuration invokeExecutionCleanups:800 SEVERE: Failed to invoke class org.zkoss.zkplus.hibernate.OpenSessionInViewListener java.lang.ExceptionInInitializerError at org.zkoss.zkplus.hibernate.HibernateUtil.initSessionFactory(HibernateUtil.ja va:87) ... Looks ...

12. solved! Hibernate, Tomcat5.5, Exc...    zkoss.org

Orignial message at: https://sourceforge.net/forum/message.php?msg_id=4581506 By: oberinspector seems there where jars missing in my war file... now i have problems with my connection pool under debian/tomcat/hibernate... same works under eclipse/windows environment WARNING: SQL Error: 0, SQLState: null Oct 22, 2007 10:56:24 AM org.hibernate.util.JDBCExceptionReporter logExceptions SEVERE: Cannot create JDBC driver of class '' for connect URL 'null' org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLSta ...

13. How to use Tomcat + Hibernate + JPA?    forum.hibernate.org

Thanks for your answer and yes, maybe I'm confused :) In this post (https://forum.hibernate.org/viewtopic.php?f=1&t=1000680) I asked why the callbacks are not supported and mmerder answered: "Are you using JPA or plain hibernate?" and "Well, It's been a long time since I used plain hibernate and not JPA in a container. But as far as I remember, the entity listeners only work ...

14. Hibernate + Tomcat. org.hibernate.MappingNotFoundException    forum.hibernate.org

I have software which is worked correctly without Tomcat. teacat.registration.ContenderUserRegistration use Hibernate. I map teacat.core.User and teacat.registration.ContenderUser (extends teacat.core.User) into db. The structure of project: |- teacat |--- Main.class | |--- core |------ IP.class |------ Request.class |------ Ticket.class |------ Train.class |------ User.class | |--- registration |------ ContenderUser.class |------ ContenderUserRegistration.class |------ util |--------- SHA1.class | |--- hibernate |------ HibernateUtile.class | |- hibernate ...

15. tomcat hanging issue!    forum.hibernate.org

Greeting, We are running our web application on tomcat6 in cloud server. Filesystem is ext3, disk total is 160Gb, 4 x CPU@2200Mhz. Memory is 4Gb. Recently, the site hanging happened many times. The site is totally unresponsive in the hung state. I can only see a loading status in browser. As a result, we have to restart tomcat. Online users seemed ...

16. Question about Hibernate performance using in a Tomcat env.    forum.hibernate.org

Newbie Joined: Thu Aug 27, 2009 10:35 am Posts: 6 Hi, we are running a tomcat application using Hibernate to access to an mysql database and have the problem about the performance using it. When enabling the hibernate_statistics it shows that database queries in average takes about 20 till 30 ms using hibernate. But the mysql-log shows that they only takes ...





17. Hibernate - Tomcat UserTransaction via JDNI not found    forum.hibernate.org

I want to upgrade from Hibernate 3.4.2 to 3.6.3. When running the application using Tomcat 5.5 and with Hibernate 3.4.2 everything works fine. But when upgrading to Hibernate 3.6.3 I receive this blocking error saying that the user transaction could not be found. Does someone know a workaround for this? I already tried to rename the JNDI name from "java:comp/UserTransaction" to ...

18. Problems with Hibernnate and Tomcat    forum.hibernate.org

Hi, I must say first that I am new to Hibernate and the code on which I am working is not written by me. I am trying to configure an application, the server component of whose uses Hibernate to communicate with the database. I have changed the config files to suit the configurations in my machine. When I do a maven ...

19. Different behavior of hibernate between 2 tomcat    forum.hibernate.org

Hello, I have a problem I can't understand and I hope somebody will be able to help. I'm currently developing a portlet using spring MVC and Hibernate. On my development computer, everything works fine as I deploy my portlet but on when I try to deploy it on a server, Hibernate can't load my entities. In the two cases, I'm deploying ...

20. Hibernate 4 and tomcat    forum.hibernate.org

Hi, I try to migrate to hibernate 4 snapshot with an existing code that works fine under hibernate 3.6.7. It work in standalone mode. But within tomcat, with a datasource key (hibernate.connection.datasource) like "java:comp/env/jdbc/myDb" I get many reloading before crash app. I have namingException that jdni couldn't find datasource. At last I get an exception indicates to use an url key. ...

21. Hibernate and Tomcat Realm    forum.hibernate.org

Hello, I am writing a Web Application on Tomcat 4.1. I am using Hibernate for all my business objects, and I wanted to write a Tomcat Realm to use one of those objects (User's object). I have encountered a big problem : - When I want to declare the use of my custom's realm within the webapp context, Hibernate is not ...

22. Hibernate/Tomcat 5    forum.hibernate.org

23. JCS and Tomcat authentication    forum.hibernate.org

We appear to have an intermittent problem in that updates made by Hibernate are not seen by Tomcat when it tries to validate a userid/password combination. I do not believe it is really a Hibernate problem, but certainly could impact other Tomcat/Hibernate users. Our webapp uses Hibernate 2.02, MySQL 4.0.12 and Tomcat 4.1.24 on SPARC Solaris 8. We are using Tomcat ...

24. Mysterious Tomcat Death with JCS    forum.hibernate.org

Ever since I added JCS caching to Hibernate 2.1 my Tomcat server likes to die 6-12 hours after it was started up. Absolutely no logging messages are written to catalina.out, the host logger, or a log4j log, the server just stops. I figure this is probably not a problem with Hibernate but I was wondering if anyone had experience using JCS ...

25. java.lang.AbstractMethodError with older tomcat and java    forum.hibernate.org

I'm getting the following stracktrace: Using: hibernate 2.1beta4, jython 2.1, tomcat 3.2.3, java 1.3.1, linux The same code does work on: hibernate 2.1beta4, jython 2.1, tomcat 4.1.27, java 1.4.2, winXP Not even sure where to start looking java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.insert at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:216) at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:465) at net.sf.hibernate.loader.OuterJoinLoader.walkCollectionTree(OuterJoinLoader.java:120) at net.sf.hibernate.loader.OuterJoinLoader.walkCollectionTree(OuterJoinLoader.java:97) at net.sf.hibernate.loader.CollectionLoader.(CollectionLoader.java:42) at net.sf.hibernate.loader.CollectionLoader.(CollectionLoader.java:31) at net.sf.hibernate.collection.CollectionPersister.createCollectionInitializer(CollectionPersister.java:325) at net.sf.hibernate.collection.CollectionPersister.(CollectionPersister.java:298) at net.sf.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:141) at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:660) at kls.db.HibernateSingleton.(HibernateSingleton.java:50) ...

26. MBean example for use with Tomcat?    forum.hibernate.org

Hi All, I'd like to use an MBean to configure Hibernate on Tomcat. I can only find examples of MBeans for use with JBoss, so I'm not sure which attributes/values are needed for use with Tomcat. Is there anyone who's done this and could share/explain their Tomcat MBean configuration, or point me to some relevant documentation? Thanks, Steve

27. tomcat output    forum.hibernate.org

hi how do i completely turn off that output generated in tomcat window? i get a huge list being displayed on the screen. the bigger the database is, the longer this listing is going to take. after every request to the database (done by my application, of course) this listing shows up.i suspect this is the reason of my outOfMemoryError after ...

28. Hibernate and tomcat-3.2.4    forum.hibernate.org

29. hibernate with tomcat: No persister for    forum.hibernate.org

30. hibernate dependecies in tomcat - clarification needed    forum.hibernate.org

HI all, What version of commons.beanutil is used by hibernate? ( it's without version name in distro's lib/ ) 1.6.1? 1.7-dev? I got a really strange behaviour in tomcat ( bundled with jBoss) when using their commons-beanutils supplied in distribution - map of primitives ( strings ) was not cascaded properly. maybe it's wikiworthy, and also adding proper version names to ...

31. Does Hibernate have to use Tomcat    forum.hibernate.org

32. Hibernate works in tomcat4 /does not in tomcat5    forum.hibernate.org

Hi, I'm using hibernate in our jsr portlet container. We are using tomcat4 so far as servlet container. Everything works fine. (using the 2.1.2 release). Now we want to move on to tomcat5 and we run into some problems with hibernate. it looks like when I deploy the exact same code to tomcat5 hibernate has some strange behavior on try { ...

33. Hibernate with Tomcat    forum.hibernate.org

34. Tomcat control-c removes added entries    forum.hibernate.org

I'm using an example found at http://homepage.mac.com/edahand/project ... mple1.html with Sybase Anywhere 9 and Tomcat 5.0.19. Adding entries to my testdb seems to work fine, however when I shut down the instance of Tomcat with a control-c the entries within my table get removed. I turned on logging with gives the following, but I can't tell what's going on. Please help. ...

35. Proxool Hibernate/Tomcat example    forum.hibernate.org

[quote="anthony"] if you want to use proxool; search proxool on google, you'll find all about configuring it, then you only have to declare filepath on the hibernate.cgf.xml --> proxool.properties but the problem is that it is using filesystem and not classpath. quote] Not true - you can configure proxool's behavior directly from within the hibernate.properties configuration file. As far as I ...

36. jgroups won't die! : SwarmCache : Tomcat    forum.hibernate.org

37. hibernate project from Tomcat to WebLogic    forum.hibernate.org

Hello, I use Hibernate 2.1, mysql 4.0.18 database. I used Tomcat 5 and all run perfectly. now, I try to put my application on a webLogic server under linux. note that weblogic is on a machine and mysql on an other. I put my application folder under weblogic and try to start my application. my application is found by weblogic because ...

38. Problems with hibernate and tomcat    forum.hibernate.org

Sorry to bother everyone i have small problem. I am writing a small struts application, and am stuck on the login. Wrote a java class that access the database, and retreives the data from the database, this works fine when i build it with a simple java application file. As soon as the code moves in to the struts action class ...

40. EvictionPolicyConfig not recognized in Tomcat    forum.hibernate.org

If I understand correctly I should be able to use jboss-cache with a standard Tomcat 5.0.x servlet container (i.e. not the JBoss app server). I need to do this so that I may run two separate Tomcat machines as a cluster for improved availability. Things work great with ehcache, but when I switch the configuration to jboss-cache 1.1.1 (the one included ...

41. Newbie Problem with Quickstart and Tomcat 5.5    forum.hibernate.org

Greetings, I am working on the quickstart and I have my web app in Tomcat 5.5 (I MUST use 5.5 for the project.) For some reason Hibernate gets hit with a JNDI exception when it tries to create the session factory. The message in the log is ... - Could not find datasource: java:comp/env/jdbc/CandiedServices What am I doing wrong here? TIA ...

42. using hibernate under tomcat    forum.hibernate.org

43. Configuring hibernate to run inside and outside tomcat    forum.hibernate.org

Are there any recommended pratctices how to configure hibernate.cfg.xml and\or HibernateUtil to run inside tomcat and standalone? I have test-cases that run standalone against the hibernate-classes, and I use these classes from inside tomcat: In the first case, I use the hibernate.connection.pool, in the second case, I get my connections from a datasource. Are there any proposed best-practices how to achieve ...

44. Problem with Hibernate and Tomcat    forum.hibernate.org

Hi, I am implemented a web service with a method for save an Object in the DB. When I invoke this service the commit method of hibernate throws an exception. I am implementing the session scope like http://www.hibernate.org/114.html Any Help? [b]Hibernate version:[/b] 2.1.8 [b]Mapping documents:[/b] net.sourceforge.jtds.jdbc.Driver jdbc:jtds:sqlserver://snt-desarrollo:1433;DatabaseName=MailService net.sf.hibernate.dialect.SQLServerDialect false xxxxx xxxxx true ...

45. two webapps+ hibernate + tomcat5.0    forum.hibernate.org

Hi, I am trying to get my webapp to run under an installation of tomcat that already has a webapp that uses hibernate2.2. When I start up tomcat it spits out the mappings for the webapp. When I attempted to run my webservice which I installed under axis it throws a java.lang.reflect.InvocationTargetException. Is it possible because two webapps are using different ...

46. Hibernate 3.0 + OSCache 2.1 + Tomcat 5.0    forum.hibernate.org

47. Tomcat/Hibernate    forum.hibernate.org

I am not sure if this is a Tomcat issue or hibernate so I have posted this on both forums. I deploy an application to Tomcat and it runs for about a day then when I come in the following day I can pull up my applications web pages but I cant retrieve or add anything to the database. But, if ...

48. Quick Start with tomcat    forum.hibernate.org

Have you exhausted http://www.hibernate.org/194.html I've looked into this idea too. Short of hacking something together for one application / development use My undertanding of it is that for it to work properly a more featureful JNDI implementation is needed inside tomcat. This all then starts to sound like more featureful application server, like JBoss which includes a HAR Deployer mechanism which ...

49. How to use hibernate in Tomcat?    forum.hibernate.org

50. How to use hibernate on Tomcat 5.5    forum.hibernate.org

Hi; With the point system posting an answer rather than a question is strongly discouraged - but I figure this is important enough to use up a point. Tomcat 5.5 has changed how it does the JNDI settings for a JDBC setup. I am still working through some minor details making sure I have them exactly right. But the following works. ...

51. When Running the app on Tomcat, increase no of DBconnections    forum.hibernate.org

Hi, I'm developing web application which is running on Tomcat 4.1.24. Web application developed with Struts, Hibernate. Database: MySQL 4.0.12 Operating system : Linux 9 While running the application some times it will throws "org.hibernate.exception.GenericJDBCException: Cannot open connection" and "Caused by: java.sql.SQLException: Server configuration denies access to data source" exceptions. Then I looked at the number of mysql processes running in ...

52. Hibernate and tomcat 5.0    forum.hibernate.org

I am trying to develop an application using Hibernate and Tomcat5.0. What i am doing is 1.setting up the datasource in server.xml file in tomcat5.0 all the context variables etc. 2. trying to create a hibernate.cfg.xml file with "Use JNDI datasource" option in MyEclipseIDE. I am getting an error "no initialization context" exception raised is...javax.naming.NoInitialContextException: Cannot instantiate class: org.apache.commons.dbc p.BasicDataSourceFactory [Root ...

53. Having problem using Iterator, tomcat console show WARNING    forum.hibernate.org

Greeting, Environment ========= hibernate3.1 Tomcat5028 spring1.2 MSSQL Server 2005 The DBCP connection pool is configured at the Tomcat. A static utility class is used to load the ApplicationContext.xml so that the ApplicationContext instance is available to the whole application. I'm having the following problem when i tried to retrieve a record using Iterator ( Below is part of a DAO class ...

54. TransactionManagement with Tomcat    forum.hibernate.org

I'm trying to use hibernate with tomcat. I have made use of the caveat-emptor HibernateUtil and want to be able to make calls like sessionFactory.getCurrentSession().beginTransaction(). In my context.xml in tomcat, I have these settings factory org.objectweb.jotm.UserTransactionFactory ...

55. Hibernate code works standalone but not within Tomcat - Bug?    forum.hibernate.org

Hi all, I'm using Hibernate 3.1 and created an application which works fine as standalone. But if I deploy the application to my tomcat I receive a ClassCastException within the following code passage: Session session = SessionUtil.getCurrentSession(); Criteria criteria = session.createCriteria(User.class); List userList = criteria.list(); for (int i=0; i

56. question : hibernate3.0.5+ tomcat5.5.12    forum.hibernate.org

I create the webapps according to the reference of hibernate of version 3.0.5. In tomcat webapps i create the directory of quickstart who is just like this: +src +org +hibernate +examples +quickstart -Cat.java -HibernateUtil.java -TestHServlet.java (a servlet ) +WEB-INF +classes +org -Cat.hbm.xml -hibernate.cfg.xml -log4j.properties +hibernate +examples +quickstart -Cat.class -HibernateUtil.class -TestHServlet.class +lib -web.xml in tomcat ,under the directory of conf\server.xml ,i added ...

57. hibernate with tomcat    forum.hibernate.org

I amtrying to integrate tomcat with hibernate I am making a project titled as online examination module for the middle layer which access the data layer I wanted to implememt hibernate in that. But the problem arises when I am integrating hibernate with tomcat and none of the online tutorial seems to help me. I am not able to understand the ...

58. Hibernate and tomcat realms    forum.hibernate.org

Hello, I am using Hibernate from few days then I have a lot of black holes. I am writing a Web Application on Tomcat 5.5 and i have a problem: - Tomcat jdcrealm not use hibernate but standard jdbc database access. I want write a custom tomcat realm that use hibernate to access user and role tables of my database. Is ...

59. Tomcat FAQ/Documentation outdated    forum.hibernate.org

60. Differences in proxy strategy on Tomcat?    forum.hibernate.org

61. DB2 + Tomcat + 2 Webapps    forum.hibernate.org

Hi i'm using a tomcat 5.0.27 installation an have deployed 2 webapps. Both webapps have their own db2java.jar (renamed) as DB2Driver. The problem is that only one webapp could load/use the DB2Driver class to establish a connection to the database a the same time. This means after a cleanly startup of the tomcat, i visite the first webapp A and all ...

62. criteriaQuery() outside tomcat = 0 results    forum.hibernate.org

63. Tomcat and Hibernate    forum.hibernate.org

64. hibernate - tomcat    forum.hibernate.org

65. is ANYONE using hibernate in tomcat??    forum.hibernate.org

ok i'm getting very frustrated here, this is starting to piss me off. i've read a lot of stuff but no matter what i try i can't get it right. either the session is closed, i get non-unique object exceptions because the session stays open forever, or if i get past that cascades don't work right for some reason. so if ...

66. User to UserRole strings in Tomcat    forum.hibernate.org

...

67. Hibernate - Tomcat Dialect problem    forum.hibernate.org

I am using strutsrecipes hibernate plugin and using tomcat 5.5 as my webserver. I am getting the following error when i try to run a struts hibernate application. It gives the following error error org.hibernate.HibernateException: Dialect class not found: org.hibernate.dialect.MySqlDialect at org.hibernate.dialect.Dialect.getDialect(Dialect.java:521) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:109) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054) The dialect is in the hibernate3.jar and it is in the class path ...

68. Tomcat java.lang.ExceptionInInitializerError    forum.hibernate.org

Author Message JennyG Post subject: Tomcat java.lang.ExceptionInInitializerError Posted: Tue Feb 27, 2007 1:51 pm Newbie Joined: Tue Feb 27, 2007 12:47 pm Posts: 1 I am trying to do a simple hello world application with hibernate annotations +mySQL in netbeans. I can successfully get hibernate to work as a stand alone application. (also the junit test works) However when ...

69. OutOfMemory with Tomcat: maybe some old Problem?    forum.hibernate.org

70. tomcat5.5+hibernate3.1.3,help needed, thanks    forum.hibernate.org

My servlet Hb2test.java at web/inf/src: package javatest.hibernate; import org.hibernate.*; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; import java.io.*; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; public class Hb2test extends HttpServlet { public void init() throws ServletException { } public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { doPost(request, response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { try { ...

71. hibernate configuration via java code on tomcat    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: 3 Full stack trace of any exception that occurs: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN Please initialize the log4j system properly. Initial SessionFactory creation failed.java.lang.NullPointerException 27/Set/2007 15:18:05 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 27/Set/2007 15:18:05 org.apache.catalina.core.StandardContext start SEVERE: Context [/formacao] startup failed due to previous errors ...

72. How to Use Hibernate with Tomcat    forum.hibernate.org

73. How to first Hibernate+Tomcat    forum.hibernate.org

74. hibernate, tomcat 5.0.X and jdk 1.4    forum.hibernate.org

75. want to config hibernate in tomcat    forum.hibernate.org

76. Hibernate under tomcat    forum.hibernate.org

Hello All, I have a very basic question on Tomcat and Hibernate. I took a deep dive into the many tutorials and I'm confused... I don't really understand if I need to close the sessions or not.... Assuming that I have the following session factory util class : public class HibernateUtil { private static final SessionFactory sessionFactory; public static final String ...

77. Very Urgent: Tomcat stuck up on production    forum.hibernate.org

Newbie Joined: Wed Aug 20, 2008 8:27 am Posts: 3 connection pooling is not working and also tomcat is getting stuck after some time of usage. application context file is --------------- org.postgresql.Driver jdbc:postgresql://localhost:5433/SOPA_CS client111111111 client111111111 1 1000 10 true

78. Can Hibernate be in Tomcat 6 $Catalina/lib?    forum.hibernate.org

79. Eror implementing hibernate app in tomcat 6    forum.hibernate.org

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: Servlet execution threw an exception root cause java.lang.ExceptionInInitializerError util.HibernateUtil.(Unknown Source) events.EventManagerServlet.doGet(Unknown Source) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) root cause org.hibernate.InvalidMappingException: Could not parse mapping document from resource events/Event.hbm.xml org.hibernate.cfg.Configuration.addResource(Configuration.java:602) org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1621) org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1589) org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1568) org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1542) org.hibernate.cfg.Configuration.configure(Configuration.java:1462) org.hibernate.cfg.Configuration.configure(Configuration.java:1448) util.HibernateUtil.(Unknown Source) events.EventManagerServlet.doGet(Unknown ...

80. Hibernate + envers + Tomcat    forum.hibernate.org

Hi, I'm testing with hibernate envers. I'm using a tomcat 6.0.18 with the following libs: - hibernate Annotation 3.4.0.ga - hibernate core 3.3.0.SP1 - hibenate envers 1.2.1.ga I added to following lines to my hibernate.cfg.xml hibernate.ejb.event.post-insert org.hibernate.envers.event.AuditEventListener hibernate.ejb.event.post-update org.hibernate.envers.event.AuditEventListener hibernate.ejb.event.post-delete org.hibernate.envers.event.AuditEventListener hibernate.ejb.event.pre-collection-update org.hibernate.envers.event.AuditEventListener hibernate.ejb.event.pre-collection-remove org.hibernate.envers.event.AuditEventListener hibernate.ejb.event.post-collection-recreate org.hibernate.envers.event.AuditEventListener org.jboss.envers.warnOnUnsupportedTypes true I also added the following annotations to my class @Entity @Audited @Table(name ...

81. I want to use hibernate with the tomcat    forums.oracle.com

To be honest, I wouldn't even know where to start. Do you know what Hibernate does and how it works? Do you know how Tomcat works? All you'd need to do to combine those two would be to let Tomcat provide the DB connections for Hibernate, I suppose. Neither of those products are a topic of this board though.