0 Replies Latest reply on Jan 9, 2007 5:58 AM by Shweta Samrit

    Why JBoss not Configured properly?

    Shweta Samrit Newbie

      Hi,

      I am running jboss-4.0.5.GA, i am getting following error when i configured it for oracle database.

      Here are the entries,

      oracle-ds.xml

      <local-tx-datasource>
      <jndi-name>OracleDS</jndi-name>
      <connection-url>jdbc:oracle:thin:@localhost:1521:orcl</connection-url>
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      <user-name>scott</user-name>
      tiger
      <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>


      <type-mapping>Oracle10g</type-mapping>

      </local-tx-datasource>




      standardjbosscmp-jdbc.xml
      <jbosscmp-jdbc>

      java:/OracleDS
      <datasource-mapping>Oracle10g</datasource-mapping>...



      Still i am getting following error
      "Cannot obtain type mapping from: jboss.jdbc:datasource=OracleDS,service=metadata"

      What need to add to configure the server.


      Thaks,
      Shweta21.