[jboss-user] [EJB/JBoss] - Re: org.jboss.deployment.DeploymentException: Error in jboss
jaikiran
do-not-reply at jboss.com
Thu May 29 04:08:04 EDT 2008
In all these xml files, wherever you have used "Oracle10g", replace it with "Oracle9i". For example, change your -ds.xml to:
| <?xml version="1.0" encoding="UTF-8"?>
| <datasources>
| <local-tx-datasource>
| <jndi-name>OracleDS</jndi-name>
| <connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>test</user-name>
| <password>test</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -->
| <metadata>
| <type-mapping>Oracle9i</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
|
|
The comments that i see in the standardjbosscmp-jdbc.xml, tells this:
anonymous wrote : <type-mapping>
| Oracle9i
| <!--
| | This type-mapping applies both to Oracle 9i and Oracle 10g
| | Make sure that you have the latest Oracle 10g version of ojdbc14.jar
| -->
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154165#4154165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154165
More information about the jboss-user
mailing list