tags:

views:

60

answers:

2

Using the JDBC driver oracle.jdbc.xa.client.OracleXADataSource, what is the correct format of the JDBC URL? The thin format of

jdbc:oracle:thin:@host:port:sid 

does not work. WebSphere is reporting that the given url (which is otherwise correct) is invalid.

The test connection operation failed for data source Oracle MyDB (XA) on 
server nodeagent at node MY_node with the following exception: 
java.sql.SQLException: Invalid Oracle URL specifiedDSRA0010E: SQL State = 99999, 
Error Code = 17,067. View JVM logs for further details.

There is nothing in the JVM logs.

A: 

In case this happens to anyone else. The problem went away after restarting websphere.

Synesso
+2  A: 

Whether you use a XA Driver or not, the JDBC connection string is the same (and the format of your question is correct).

Pascal Thivent
I thought so, but the error message was saying otherwise. That there was no JVM logging at all was the thing that made me think WAS was in a bad state...
Synesso