0 Replies Latest reply on Sep 30, 2002 1:32 PM by Dan Avram

    java:/DefaultDS instead of java:/OracleDS

    Dan Avram Newbie


      I have a datasource configuration problem. My BMP application is bound to an Oracle data source, but for some reason JBoss is ignoring my configurations...

      In the ejb-jar.xml file I have the following references for my EJBs :




      while the jboss.xml file of my application specifies, for the same bean :




      (I should say here that I tried to re-referenciate my resource through a resource-manager element, but I had the same results...)

      The oracle-service.xml file is the one provided by JBoss, in its examples directory, and properly configured with the connection URL, username and password of my Oracle server. Its deployment is (as far as I can tell) well
      done : I have no particular exceptions in the log files, and the JMX console feedbacks this by listing the "OracleDS" JNDI name in the list provided by
      the JndiView MBean.

      The deployment of my application, though, logs the following for every EJB deployed :

      "... [org.jboss.ejb.EntityContainer] Binding resource manager: java:/DefaultDS to JDNI ENC as: jdbc/CUCU_DB".

      And the SQL requests are made, indeed, to Hypersonic DB, which is the DefaultDS...

      I feel that a very little configuration detail is wrong here, twisting it all upside down. I have followed all the steps all over again, with no success.

      For the record, I use JBoss 3.0.2 bundled with Tomcat 4.0.4, Oracle 8.1.5. I had the same problem with JBoss 3.0.0, so I would be rather blaming my configuration files...

      What should I check out next ? Any ideas are welcome. Thanks in advance.

      Dan AVRAM