[JBoss-user] [Clustering/JBoss] - Re: Clustered servers on same machine not load-balancing

2005-08-31 Thread anguyen
It looks like you're using the non-clustered naming context to lookup your EJB. 
 Try this:

  | ...
  | Properties props = new Properties();
  | props.setProperty(javax.naming.Context.PROVIDER_URL, 
jnp://localhost:1100);
  | InitialContext ic = new InitialContext(props);
  | ...
  | 


View the original post : 
http://locahost:8080/index.html?module=bbop=viewtopicp=3892505#3892505

Reply to the post : 
http://locahost:8080/index.html?module=bbop=postingmode=replyp=3892505


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: Clustered servers on same machine not load-balancing

2005-08-31 Thread [EMAIL PROTECTED]
Here is my jndi.properties on the client-side.  Should auto-discover the 
servers...  Am I missing something in these settings?

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
jnp.discoveryGroup=230.0.0.4
jnp.discoveryPort=1102


View the original post : 
http://locahost:8080/index.html?module=bbop=viewtopicp=3892509#3892509

Reply to the post : 
http://locahost:8080/index.html?module=bbop=postingmode=replyp=3892509


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user