geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter <>
Subject Geronimo 1.1 with Hibernate 3.1
Date Wed, 08 Nov 2006 11:23:44 GMT
A suggested solution for Geronimo 1.0 is available at
+Hibernate+Migration. Unfortunately this does not work for Geronimo 1.1.

What I have tried is:
public class GeronimoTransactionManagerLookup
    implements TransactionManagerLookup
   public static final String TransactionMgrGBeanName=
	   		"geronimo.server:J2EEApplication=null," +
   			"J2EEModule=geronimo/j2ee-server/1.1.1/car," +
   			"J2EEServer=geronimo,j2eeType=TransactionManager," +

but I still get

DEBUG [SessionFactoryObjectFactory] initializing class 
DEBUG [SessionFactoryObjectFactory] registered: 
8b81890a0ec727bb010ec727c8de0000 (unnamed)
INFO  [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name 
DEBUG [SessionFactoryImpl] instantiated session factory
DEBUG [SessionFactoryImpl] obtaining JTA TransactionManager
ERROR [PersistenceManager] Geronimo Transaction Manager Lookup Failed
org.hibernate.HibernateException: Geronimo Transaction Manager Lookup Failed
	at org.hibernate.impl.SessionFactoryImpl.<init>
	at org.hibernate.cfg.Configuration.buildSessionFactory

How should this GBeanName be set? Or do I need to change something else?

View raw message