geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin <pop...@gmail.com>
Subject Re: JNDI Name of UserTransaction?
Date Tue, 27 Jun 2006 02:51:35 GMT
Have you included the ejb reference in the ejb-jar.xml?
Or try look it up at "java:comp/env/UserTransaction".

thx
Kevin

On 6/26/06, David Jencks <david_jencks@yahoo.com> wrote:
>
> It should be there, but only for BMT beans.  Can you double check
> your descriptors to make sure this ejb is really BMT?
>
> thanks
> david jencks
>
> On Jun 25, 2006, at 6:53 AM, Joerg Friede wrote:
>
> > Hi,
> >
> > in my EJB, i'm trying to lookup a UserTransaction object through
> > JNDI using
> >
> > ctx.lookup("java:comp/UserTransaction");
> >
> > which does not work. I also tried several other names which did not
> > work either.
> >
> > Can somenone tell me, how to obtain the Usertransaction (JNDI-Name,
> > other setup required?) through JNDI in Geronimo 1.1?
> >
> > Thanks in advance, Joerg Friede
>
>

Mime
View raw message