Try the jndi faq. e.g. java: namespace is not accesible remotely.

The correct code is either:

If you have defined it in your enc (again see JNDI FAQ for resource-refs)

  | InitialContext jndiContext = new IntiialContext();
  | ConnectionFactory connFactory = 
(ConnectionFactory)jndiContext.lookup("java:comp/env/jms/ConnectionFactory");
  | 

or 

  | ConnectionFactory connFactory = 
(ConnectionFactory)jndiContext.lookup("HTTPConnectionFactory");
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4115012
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to