First, I apologize if this should go to the user list, but I've had no
success over there and I'm desperately seeking an answer to what I think is
a simple question.

 

We have a servlet configured under tomcat that needs to call a method on a
session bean running on a separate application server, in this case, jboss.
When the code runs, we get an error message stating that "Name ejb is not
bound in this context". What I think is happening is that, instead of
communicating with the jndi server on jboss, we are communicating with the
jndi server in tomcat. In fact, jboss isn't even running and we get this.
I've printed out the Context environment just before the lookup and the
java.naming.provider.url is set correctly to point at jboss.

 

I've looked throughout the documentation and can't find anything addressing
this specific issue.

 

We have gotten this to work in the past in version 3.x, we are now trying
with 5.0.28 and having this problem.

 

Any thoughts or pointers would be helpful.

 

Regards

 

Eric J. Kaplan

Armanta, Inc.

350 Mt. Kemble Ave.

Morristown, NJ 07960

 

Reply via email to