tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Borislav Kapukaranov <>
Subject OpenEjb transaction manager recipe
Date Thu, 05 Jul 2012 09:01:23 GMT
Hi all,

I've got a question about handling of the transaction manager in connection
I'm using openejb-4.0.0-beta2. In the Assembler class , the
createResource(ResourceInfo serviceInfo) method creates a service out of a
service recipe.
In case the service is a ResourceAdapter it checks the transaction manager
if it is the default Geronimo one or something else and acts accordingly,
however these checks don't exist in the case where the service is a
In that case I see a connectionManagerRecipe being created with a hardcoded
reference to the default GeronimoConnectionManagerFactory which when
invoked tries to cast the transaction manager to the Geronimo one.
In my setup I've changed the transaction manager to one provided by JOTM
and I get a ClassCast there.

Can the connectionManagerRecipe initialization be more configurable in case
a user is not using the default transaction manager?

Best Regards

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message