"rino_salvade" wrote : The initial context is normaly a RMI reference. So if no 
RMI server is running, this will fail. To my knowledge if you do not set the 
provider_URL then the NamingContext uses the VM Naming instance set by the Main 
MBean.
  | Hope this does the trick, I have not tested it.
  | Make sure that no jndi.properties file is sitting around.

Hi Rino,

Thanks.  You are absolutely right.  I now no longer put the provider_URL in the 
initial context and use the JVM connectionFactory which does not use socket 
connections.  The whole application runs in the same JVM.  Everything now works 
as it is supposed to.  Thanks again.

Chris

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

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


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to