0 Replies Latest reply on Jan 16, 2005 8:25 PM by Sidney Zurch

    DataSource and isolated classloader

    Sidney Zurch Novice

      I'm trying to debug an application deployed as war and using Torque.

      It worked using a DataSource in $JBOSS_HOME/deploy
      (jndi.path=java:/MyDS)

      In order to get debugging working (log4j - don't ask) I had to resort to deploying with a separate classloader:

      <jboss-web>
      <loader-repository>
      dot.com:loader=unique-archive-name
      <loader-repository-config>
      java2ParentDelegation=false
      </loader-repository-config>
      </loader-repository>
      <jboss-web>

      Now Torque throws the NamingException, "MyDS not bound".

      Is there any way to access the DataSource from the war with this deployment?

      JBoss 3.2.2RC2 on OS X