1 Reply Latest reply on Mar 31, 2006 12:08 AM by Boris Zozoulia

    Problem with same EJB component deployed on two different ho

    Boris Zozoulia Newbie

      I have same ejb component (with the same JNDI name) deployed on two hosts.

      When within jboss I perform a call from host1 to some method of this component located on host2, the method gets executed on host1 !

      I resolve remote component by looking up it through InitialContext on host2 (by setting up provider url, and so on withing Properties for the initial context), and JNDI returns an stub object from host2 no problem. But it looks like narrowing of that object and conscequent create() of it, results in homeInterface object pointing to the component located on host1.

      Is there anyone experiencing similar problem ?