[jboss-user] [Installation, Configuration & Deployment] - Why JBoss not Configured properly?

Shweta21 do-not-reply at jboss.com
Tue Jan 9 05:58:21 EST 2007


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.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999388#3999388

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999388



More information about the jboss-user mailing list