Hello,
The question is whether you need RMI-IIOP Load balancing and Failover enabled. If you don't want it, you do not need to set the com.sun.appserv.iiop.endpoints property. By not setting it, each instance will talk its own ORB/NameService to get the requested objects.
Hope this helps.
Sheetal
On Feb 1, 2010, at 10:31 AM, glassfish_at_javadesktop.org wrote:
> My scenario:
> Server1: DAS and NodeAgent1 with 1 instance, ip: 10.0.0.7
> Server2: point to Server1 with NodeAgent2 and 1 instance, ip:10.0.0.6
>
> Everything is OK, without proplem.
>
> The problem is that both of the instances web client call the same EJB Module of Server 1 through RMI-IIOP: Server1:33700.
>
> My purpose is each instance will call his own EJB Module for job so i config the code like the below [b]but not success:[/b]
>
> Properties p = new Properties();
>
> p.setProperty("java.naming.factory.initial","com.sun.enterprise.naming.SerialInitContextFactory");
>
> p.setProperty("com.sun.appserv.iiop.endpoints", "10.0.0.7:3700,10.0.0.7:33700,10.0.0.6:3700,10.0.0.6:33700");
>
> Anybody know how to configure each instance will use his own module, not call to other instance?
>
> Thanks for any help.
> [Message sent by forum member 'dinhngoclan' (dinhngoclan76_at_yahoo.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384102
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>