i'm trying to make a remote call to an EJB in a remote server (Websphere / another machine) in the network.
I have a stand alone java application that i use to invoke my EJB.. I can get the stub, and the console out is "org.omg.stub.java.rmi._Remote_Stub:IOR:00bdb .........."
So, when the app run the "TesteHome home = (TesteHome)PortableRemoteObject.narrow(o, TesteHome.class);" line, it returns null when i print the hom variable value.
I've tried to solve this problem several times, but i can't figure out what's happening. Could anyone help me in this problem?