1. HIbernate 3 + Tomcat 5.5.7 + JOTM coderanch.comHas anyone successfully managed to get hibernate running with tomcat and using JOTM. I've followed a few examples and am using the HibernateUtil example from the CaveatEmptor example. In my application I get a begin a transaction by calling HibernateUtil.getSeesionFactory().getCurrentSession().beginTransactionI() but this always fails giving me a "org.hibernate.HibernateException: No TransactionManagerLookup specified" exception. My hibernate.cfg.xml file is: |
2. hibernate project configuration in tomcat 6(jotm) forum.hibernate.org |
3. hibernate proj to make work with tomcat 6(jotm) forum.hibernate.org |
4. tomcat/jotm/hibernate combination ? forum.hibernate.orgHellu, I finally got the time to setup a configuration without Jboss, and I like to have some advice on the following design issues. I was thinking about a combination of tomcat/jotm/hibernate. Configure jotm in tomcat like documented and let hibernate use it through a jndi lookup. However I still have some uncertains about the design that have to found out. ... |
5. jotm tomcat advice please ? forum.hibernate.orgHellu, I am (still) integrating jotm/hibernate under tomcat. I am strugling with the following two questions, please some advice ?: - I like to use my application standalone for testing purposes, so I don't want to register my data source under tomcat. I don't see any problems why not... so is there any ?? why shouldn't I do this ? - ... |
6. Hibernate + JOTM + XAPool +Tomcat forum.hibernate.org |
7. Hibernate + JOTM + Tomcat = Database writes not happening. forum.hibernate.orgHibernate version:2.1.6 Code between sessionFactory.openSession() and session.close(): //JOTM JTA Transaction already started.... MyObj obj; Session ses;//actually doing my session getting here. net.sf.hibernate.Transaction tx = ses.beginTransaction(); if( obj.getId() == null ) {//if the Long is Null then we need to save. obj.setId((Long)ses.save(obj)); } else { ses.update(obj); } tx.commit(); //Session closing handled by a filter. //JOTM JTA commit call handled by an outside ... |
8. Tomcat + Hibernate + JOTM intergration problem forum.hibernate.orgNewbie Joined: Thu Mar 09, 2006 7:02 am Posts: 6 Location: Kiev Hello, I'm trying to use Hibernate + Tomcat in cluster. For cache provider I chose JBoss Treecache (it's only one provider that I can use in cluster with supporting query cache). The case strategy is "transactional"(ready-only is not applicable for my system), so I need in any case to ... |
9. Tomcat, JOTM - Could not register synchronization forum.hibernate.orgNewbie Joined: Tue Aug 15, 2006 4:56 am Posts: 1 Location: London, United Kingdom Hello all, I've been trying to set up Tomcat 5.5.17 and Hibernate 3.1.3 to use transactions using JOTM ( http://jotm.objectweb.org/ ). I used JOTM because it's been recommended for Tomcat and I have several existing clients who wouldn't want to upgrade their application server. I'm having some ... |