4 Replies Latest reply on Apr 26, 2002 8:46 AM by L Stitz

    Using other datasources than DefaultDS in JBoss 3

    L Stitz Newbie

      Hey,

      I'm trying to migrate an app from JBoss 2.4.4 (where it runs w/o any problems) to JBoss 3.0.0RC1. I have some problems configuring the datasources.

      The app is accessing an Oracle8i database, and I already downloaded, configured and deployed the oracle-service.xml file. Then I configured my app to use the OracleDS datasource I thought to be created by that service. But I keep getting the following exception:

      13:36:40,124 ERROR [EntityContainer] Exception in service lifecyle operation: create
      org.jboss.deployment.DeploymentException: OracleDS not bound
      at org.jboss.ejb.plugins.jaws.metadata.JawsApplicationMetaData.create(JawsApplicationMetaData.java:137)

      I also tried it round the other way, renaming the datasource from oracle-service.xml to DefaultDS (and renaming the original DefaultDS to something else). I get a similar exception, namely that DefaultDS is not bound any longer.

      Can anybody give me some directions how to create and bind a datasource to access my DB from JBoss 3?

      Thanks a lot in advance,
      Lars