9 Replies Latest reply on Apr 10, 2002 8:16 AM by Marcos Oliveira

    CMP and Oracle configuration

    Marcos Oliveira Newbie


      I'm trying to setup Jboss 3.0.0alpha with a CMP entity bean but it always use the DefaultDS instead fo OracleDS that I've setup.

      I did the following:

      1. created a oracle-service.xml in the deploy directory
      2. created the jaws.xml and jbosscmp-jdbc.xml in the META-INF dir of my ejb jar.

      I've the java:/OracleDS bound in the JNDI (I've made a session bean and tried to get a connection and it worked), but the problem is that according to the log file JBoss always try to get a connection from the DefaultDS and not OracleDS.

      Anyone had this problem? Any help would be appreciate.

      Thanks in advance.