2 Replies Latest reply on Nov 14, 2007 1:25 PM by Mark Little

    Initial Context factory setting for JNDI when running JTA *l

    Breako Beats Newbie

      This came up in another thread.
      I am trying to run JTA *local* transactions. I have to register the Datasource with the JNDI context. To instantiate an InitialContext I need to set a InitialContextFactory.
      I do not know what to set this to.
      I search these forums and two values are usually used for this:
      1. org.jnp.interfaces.NamingContextFactory
      2. org.jboss.naming.NamingContextFactory

      I put all the jars with the JTA dist on my classpath but in both cases, I get Class not found exceptions.

      Any ideas what this should be set to?