It's ok.
I use Jsp to access EJB.  First time I cancel this line code in Jsp:
p.put(Context.PROVIDER_URL,"*******");

At that time ,the client always find JNDI in local machine.

Later,I added
p.put(Context.PROVIDER_URL,"localhost:1100");//1100 is my HA-JNDI port,then 
it's ok.

But I feel in cluster, it's not need to set PROVIDER_URL. I don't know why.



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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to