Re: Difference of initializing context

2012-09-24 Thread Clare
ot load the jndi.properties, am I making some mistakes? -- View this message in context: http://openejb.979440.n4.nabble.com/Difference-of-initializing-context-tp4657559p4657616.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Difference of initializing context

2012-09-22 Thread Anthony Fryer
ejbContainer.getContext().bind("inject", this); I recommend replacing @LocalClient with @ManagedBean, get rid of application-client.xml and changing your test cases to use ejbContainer.getContext().bind("inject", this); -- View this message in context: http://openejb.97

Re: Difference of initializing context

2012-09-21 Thread Edison Xu
t/resources/META-INF, but no good either. If I remove application-client.xml and jndi.properties both, message-server is working... I'm really confused.. :( -- View this message in context: http://openejb.979440.n4.nabble.com/Difference-of-initializing-context-tp4657559p4657572.html Sent

Re: Difference of initializing context

2012-09-21 Thread Edison Xu
nge. -- View this message in context: http://openejb.979440.n4.nabble.com/Difference-of-initializing-context-tp4657559p4657569.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Difference of initializing context

2012-09-21 Thread Edison Xu
Can you pls check the test project here? https://github.com/EdisonXu/Test/tree/master/ejb-intro Same way to get Context, but it's working for message-server, not for message-client. Thanks, Edison -- View this message in context: http://openejb.979440.n4.nabble.com/Differen

Re: Difference of initializing context

2012-09-20 Thread Edison Xu
Thanks for your reply. I'm a little confused. I thought they should be the same thing essentially. But the differences are there. Did I make some mistake? Or it's the limitation of current version? -- View this message in context: http://openejb.979440.n4.nabble.com/Dif

Re: Difference of initializing context

2012-09-20 Thread Romain Manni-Bucau
't? > Am I making some mistakes? > > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/Difference-of-initializing-context-tp4657559.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >

Difference of initializing context

2012-09-20 Thread Edison Xu
doesn't? Am I making some mistakes? -- View this message in context: http://openejb.979440.n4.nabble.com/Difference-of-initializing-context-tp4657559.html Sent from the OpenEJB User mailing list archive at Nabble.com.