0 Replies Latest reply on Jul 4, 2012 11:43 AM by Bottleneck Bottleneck

    Error with DataSource definition

    Bottleneck Bottleneck Newbie



      The issue I have been facing lately (inspite of following the documentation and suggestions) is the same one stated at https://community.jboss.org/message/640246?_sscc=t

      Had posted my reply there but was skeptical about whether or not any answered post would be looked at. Hence starting a new discussiont.



      After following the steps mentioned in the earlier post and the AS doumentation, the datasource creation somehow doesn't work for me.

      I'm trying to create an oracle data source by creating a module and defining a data-source in the standalone.xml, though, with no success.


      Here's stating my configurations.


      1. module.xml ( @ jboss-as-web-7.0.2.Final\modules\com\oracle\ojdbc6\main )

      <?xml version="1.0" encoding="UTF-8"?>
      <module xmlns="urn:jboss:module:1.0" name="com.oracle.ojdbc6">
         <resource-root path="ojdbc6.jar"/>
         <module name="javax.api"/>


      2. ojdbc6.jar ( @ jboss-as-web-7.0.2.Final\modules\com\oracle\ojdbc6\main )


      3. Data-source definiation in standalone.xml
      <datasource jndi-name="java:/OracleDS" pool-name="OracleDS">
        <driver name="ojdbc6" module="com.oracle.ojdbc6">
        <driver name="h2" module="com.h2database.h2">

      I know this might sound stupid, but I still get the error when server starts saying -  New missing/unsatisfied dependencies:service jboss.jdbc-driver.ojdbc6 (missing)

      Would appreciate if you could point out my mistake, if any.


      Have attached the error trace snapshot