0 Replies Latest reply on Apr 16, 2002 3:59 PM by Cindy

    connect to Oracle

    Cindy Newbie

      Hi,
      I am trying to connect my EJB to Oracle, I had insert the following into jboss.jcml.


      oracle.jdbc.driver.OracleDriver


      OracleDB
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl
      jdbc:oracle:thin:XQI/PASSWORD@192.168.0.1:1521:VMFG
      XQI
      PASSWORD
      true


      But the system still gives me a error message:

      [ERROR,J2eeDeployer] Starting cabin.jar failed!
      [ERROR,Default] org.jboss.deployment.DeploymentException: Could not deploy file:/C:/tmp/JBOSS_DIST/tmp/deplo
      y/Default/cabin.jar, Cause: org.jboss.deployment.DeploymentException: DefaultDS not bound
      [ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:403)
      [ERROR,Default] at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:306)

      Can anyone tell me in which file should I change DefaultDS to OracleDB, Please?

      Thanks a lot!