the context associated with @AppResource only contains java:global tree *Romain Manni-Bucau* *Twitter: @rmannibucau <https://twitter.com/rmannibucau>* *Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau* *Github: https://github.com/rmannibucau*
2013/5/28 AndreasN <[email protected]> > Hi Andrew, > > thank you for answer! > > I have a slightly different setup and these properties were already set... > I > guess the problem is the InitialContext which is constructed by OpenEJB in > conjunction with the usage of an ApplicationComposer instance, where the > persistence unit and the EJBs got instanciated implicitly, some methods > needs to be annotated with @Module. > > What I need I guess is the access / injection of the InitialContext, don't > know how it works, I have this here: > > @AppResource > Context context; > > That might be the reason that the lookup doesn't work. > > Kind regards, > Andreas > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/How-to-create-JNDI-interface-in-Application-Composer-later-tp4663243p4663274.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
