Hi,
Thanks for your answer.
You are right I did a wrong copy of my provider URL, but it's not the issue.
My EJB seems to be found as if I make a mistake in the name in the lookup I will get a "NameNotFoundException: bean not bound".
This is a simple ear file containing 2 jars file one containing EJB calling business code and other one containing MDB to receive message and call the EJBs.
It works fine in JBoss 5.1, I can make it work when accessing the application through my web client application or when sending a message to the MDB within my unit test after a lookup to the connection factory and destination queue.
Note that this EJB I'm lookup test is working fine with Jboss 4.2.3 and related client libraries (same ear file except header in jboss.xml in my jar files).
I'm really wondering about a configuration that I could have miss to do a remote invocation with JBoss 5.1 client libraries.