tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <>
Subject Re: OpenEjb transaction manager recipe
Date Thu, 05 Jul 2012 09:14:15 GMT

can you share the exact stack please?

Why are you using the beta?

- Romain

2012/7/5 Borislav Kapukaranov <>

> Hi all,
> I've got a question about handling of the transaction manager in connection
> factories.
> 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
> ManagedConnectionFactory.
> 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
> Bobby

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