Hi ,

I have two JBOSS instances running on two different machines (Say A , B). I 
have deployed same EJBS on both machines. I have one servlet at machine A in 
which i am tring to access one EJB in both servers. I am getting initial 
context to both the server using :
      Context c = new InitialContext(prop);
      LOG.info("Context Created For:" + c.getEnvironment().get(c.PROVIDER_URL));

Where prop is different for different machines.
Now i am looking up EJB and calling method on Remote. But both executions seem 
to happening on machine A only. i.e local server. 

Is InitialContext(props) always returns local server context???

Please help

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3892068#3892068

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3892068


-------------------------------------------------------
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

Reply via email to