tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Karalus <>
Subject TransactionManager injection
Date Mon, 15 Sep 2008 13:19:17 GMT


Our production Code injects the TransactionManager like this:

TransactionManager txManager;

This is the default binding in JBoss. Testing with openejb fails, below is
the relevant stacktrace ... 
My question is now, if there is any possiblity to configure openejb to bind
TransactionManger to "java:/TransactionManager"

Apache OpenEJB 3.0    build: 20080408-04:13
INFO - openejb.home = D:\projekte\HEAD\ed02\sys\berechtigung\anwender-impl
INFO - openejb.base = D:\projekte\HEAD\ed02\sys\berechtigung\anwender-impl
INFO - Configuring Service(id=Default Security Service,
type=SecurityService, provider-id=Default Security Service)
INFO - Configuring Service(id=Default Transaction Manager,
type=TransactionManager, provider-id=Default Transaction Manager)
INFO - Configuring Service(id=java:/operativDS, type=Resource,
provider-id=Default JDBC Database)
INFO - Configuring Service(id=java:/DefaultDS, type=Resource,
provider-id=Default JDBC Database)
INFO - Configuring Service(id=Default JDK 1.3 ProxyFactory,
type=ProxyFactory, provider-id=Default JDK 1.3 ProxyFactory)

WARN - Jar not loaded.
D:\projekte\HEAD\ed02\sys\berechtigung\anwender-impl\target\classes.  No
provider available for resource-ref 'null' of type
'javax.transaction.TransactionManager' for 'AnwenderHibernateJpaDAO'.
org.apache.openejb.OpenEJBException: No provider available for resource-ref
'null' of type 'javax.transaction.TransactionManager' for
	at org.apache.openejb.config.AutoConfig.getResourceId(
	at org.apache.openejb.config.AutoConfig.getResourceId(
View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message