Previously, I put the application-client.xml under
message-server/src/test/java/resources/META-INF folder.
Actually, it should be under message-server/src/test/resources/META-INF
folder.

I'm not sure whether the container can read it. But it is working fine then.

Now I correct it and add ejb-jar.xml under
message-server/src/main/java/resources/META-INF folder, but it's not working
anymore....
The situation has been totally reversed after I did same thing for
message-client.
Message-client is working.... Message-server is not....
OMG~

WARN - Injection data not found in JNDI context:
jndiName='comp/env/com.edison.test.beans.MessageDbManagerTest/transactionalCaller',
target=com.edison.test.beans.MessageDbManagerTest/transactionalCaller
!

This is the warn from message-server. It seems this Inner class hasn't been
loaded. I tried to add the ejb-jar.xml under test/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 from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to