Hello, All

The problem description:
There is two EJB: message-driven and stateful SB. 
----------------
First case:
----------------
They are placed in two different jars.
On message coming (in MDB) I tried to lookup SSB and
failed( "not bound" ). It's necessary to say that
ejb-ref was present in ejb-jar.xml and jboss.xml and
correct jndi-name in jboss.xml was present as well. 
(The client application was able to lookup SSB via its
JNDI name).

----------------
Second case:
----------------
When I put the EJBs in one jar, merge deployment
desciptors, added ejb-link to MDB ejb-ref tag in
ejb-jar.xml and remove ejb-ref tag from jboss.xml
everythings started to work.:)

----------
The questions are: 
----------
1. Any ideas how did it managed? :( :)))
2. If I was mistaken, could you clarify for me right
direction? :)

Thanks in advice,
Anton

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to