• Post Reply Bookmark Topic Watch Topic
  • New Topic

Forcing remote JNDI lookup

 
Brett Allen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
g'day,

I have been banging my head against this particular wall for a few days now with nothing to show execpt an increasingly red mark on my forehead.

I have 2 JBoss appservers and I want to perform a remote ejb call from appserver 'A' to appserver 'B'.
I start by creating an InitialContext, using a hashmap to specify the ipaddress of the remote url. However, the obejct that is returned from the lookup appears to be a local instance, and not the remote instance that I am after

What piece of this puzzle am I missing? Why is my remote call being serviced by a local object?

For those playing the home game:


thanks in advance!
-b
 
John Wenn
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need more information.

What is your EJB version (2.1 or 3.0) ?
Have you set-up the proper JNDI configurations?
Did you find any exception in your server log?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!