Do u have sthg small to share with us so that we can give it a try?
It should works event if as per the spec java:comp is only accessible from
a JEE component (ebb, cdi, servlet, etc) but not any class.


2012/11/5 Derick Potgieter <derick.potgie...@gmail.com>

> Hi All,
>
> I have tried multiple combinations but cant seem to get this right at all.
> Is the TransactionManager accessible from within Tomee? or am i just using
> the wrong names?
>
> return InitialContext.doLookup("java:comp/TransactionManager");
>
> Regards
> Derick
>
> On Mon, Nov 5, 2012 at 9:42 PM, Potgieter, Derick D <
> derick.potgie...@standardbank.co.za> wrote:
>
> > Hi,
> >
> > Can anyone confirm how to get hold of the TransactionManager in tomee?
> I`m
> > trying to integrate Activiti with Tomee using CDI and need to get hold of
> > the TransactionManager.
> >
> > From what I read it should be
> > "java:comp/env/comp/TransactionManager"
> > Or
> > "java:comp/TransactionManager"
> >
> > But that doesn't seem to work
> >
> > Thanks
> > Derick
> > Standard Bank email disclaimer and confidentiality note
> > Please go to
> > http://www.standardbank.co.za/site/homepage/emaildisclaimer.html to read
> > our email disclaimer and confidentiality note. Kindly email
> > disclai...@standardbank.co.za (no content or subject line necessary) if
> > you cannot view that page and we will email our email disclaimer and
> > confidentiality note to you.
> >
>

Reply via email to