Hi,
try stating exact problem, stack-trace, OS version, JBoss version, JDK
version, usually you need to put Givers Home and Remote-Interface into
Callers jar.
Burkhard
----- Original Message -----
From: "Jboss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 2:17 PM
Subject: [JBoss-user] connectin two jboss server





how to call bean to bean where each bean deployed in different jboss server
running in separate machines,

Caller BEan (Stateless Session Bean)
-------------
Properties p=new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFacto
ry");
p.put(Context.PROVIDER_URL,"192.168.1.3:1099");

Context init=new InitialContext(p);
com.comm.GiverHome
home=(com.comm.GiverHome)init.lookup("java:comp/env/GIVER");

file://com.comm.GiverHome home = (com.comm.GiverHome)
// PortableRemoteObject.narrow(objref,com.comm.GiverHome.class);
com.comm.Giver giver=home.create();

giver.giving();


pls give the appropriate solution
and give example of this probs and deployment file



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to