[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: App deploymenet error: Unexpected error in pingDatabase

vitechinc2008 do-not-reply at jboss.com
Fri Oct 31 14:42:20 EDT 2008


Peter here is the oracle-ds.xml file


  | <?xml version="1.0" encoding="UTF-8"?>
  | <datasources>
  | 	<local-tx-datasource>
  | 	 	<jndi-name>jdbc/V3CRMDS</jndi-name>
  | 		<use-java-context>false</use-java-context>
  | 		<connection-url>jdbc:oracle:thin:@192.168.10.120:1521:SAGWEBDV</connection-url>
  | 		<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
  | 		<user-name>password</user-name>
  | 		<password>password</password>
  | 		<valid-connection-checker-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker</valid-connection-checker-class-name>
  | 		<metadata>
  | 			<type-mapping>Oracle9i</type-mapping>
  | 		</metadata>
  | 	</local-tx-datasource>
  | </datasources>
  | 

I am using same oracle drive for another application and it works.   Just this one get this error.



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

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



More information about the jboss-user mailing list