7 Replies Latest reply on Aug 6, 2002 11:32 PM by Lim Wing Hoe

    Changing ConnectionFactory to another name?

    Lim Wing Hoe Newbie

      Hi,
      I'm wondering if it is possible to change the default ConnectionFactory to another name, for example, MyConnectionFactory?

      I have been given some classes that refers to MyConnectionFactory and I can't change it to ConnectionFactory, which JBoss insist on using. I tried using <resource-ref> tag in the deployment descriptor jboss.xml to map it, but it doesn't seem to be working.

      <resource-ref>
      <res-ref-name>MyConnectionFactory</res-ref-name>
      <jndi-name>java:/ConnectionFactory</jndi-name>
      </resource-ref>

      Any thoughts?

      Wing Hoe