users@glassfish.java.net

Re: EJB lookup problem

From: <forums_at_java.net>
Date: Tue, 2 Aug 2011 07:04:49 -0500 (CDT)

There are two things that you could do to determine the cause of your
problem:

1. Try to access the EJB via a simple Java application.

2. Launch the command "asadmin list-jndi-entries" and you should see the
exact name of your EJB in the JNDI directory of your business server.

Another advice also : we had some problem accessing an EJB via a remote
call, and what we did is to define the "mappedName" of the EJB:
@Stateless(mappedName="toto")
Then, the EJB was accessible via this name.

Hope this will help!


--
[Message sent by forum member 'bgbw']
View Post: http://forums.java.net/node/828567