I've tried it with the sample application in JBoss Wiki page...
I've looked at the source and seen this:

    p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); 
  |     p.put(Context.URL_PKG_PREFIXES, "jboss.naming:org.jnp.interfaces"); 
  |     p.put(Context.PROVIDER_URL, "localhost:1100"); // HA-JNDI port. 
  |     InitialContext iniCtx = new InitialContext(p);
  | 
  |     Object tmpConnFactory = iniCtx.lookup("XAConnectionFactory");

Could you show me an example of correct settings?


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

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


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to