[jboss-user] [JNDI/Naming/Network] - Re: Always getting not bound naming exceptions
ezanih
do-not-reply at jboss.com
Wed Jan 7 21:13:30 EST 2009
Agreed, Jaikiran! Thanks !
Example code (for everyone) :-
| <datasources>
| <local-tx-datasource>
| <jndi-name>OracleXE1_DS</jndi-name>
| <use-java-context>false</use-java-context>
| <connection-url>jdbc:oracle:thin:system/system at localhost:1521:XE</connection-url>
| <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
| <user-name>system</user-name>
| <password>system</password>
| <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
| <metadata>
| <type-mapping>Oracle10g</type-mapping>
| </metadata>
| </local-tx-datasource>
| </datasources>
|
P.S. This is for oracle-ds.xml for my Oracle DB. Change the paras accordingly for the db you are using. :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4200221#4200221
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4200221
More information about the jboss-user
mailing list