tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Accessing TransactionManager
Date Mon, 21 Aug 2017 15:51:16 GMT
Hi Violeta,

not a clean and reliable one. The JBoss app can't have this name
configurable or even just try both?


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<https://blog-rmannibucau.rhcloud.com> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | JavaEE Factory
<https://javaeefactory-rmannibucau.rhcloud.com>

2017-08-21 17:20 GMT+02:00 Violeta Georgieva <violetagg@apache.org>:

> Hi,
>
> Currently I can access the TransactionManager using:
> - ctx.lookup("java:comp/TransactionManager")
> - org.apache.openejb.OpenEJB.getTransactionManager()
>
> Unfortunately I have third party component that needs to access the
> TransactionManager by invoking ctx.lookup("java:/TransactionManager").
>
> Is there a configuration way of achieving this (java:/TransactionManager)?
>
> Thanks a lot,
> Violeta
>

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