Hi All,
 
Is it possible to use the DataSource defined in orion server from external client?
 
The client is a simple JDBC application and nothing to do with EJB's , J2EE etc. I want to look up the datasource and make a
connection from there.
 
I am able to  retrive the datasource through JNDI , but the connection is not established.
 
It is failing with this stacktrace.
 
java.lang.NullPointerException
        at com.evermind.sql.OrionPooledDataSource.addUsedConnection(OrionPooledDataSource.java:532)
        at com.evermind.sql.OrionPooledDataSource.getPooledInstance(OrionPooledDataSource.java:253)
        at com.evermind.sql.OrionCMTConnection.setConnection(OrionCMTConnection.java:119)
        at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:98)
        at com.evermind.sql.OrionCMTConnection.commit(OrionCMTConnection.java:228)
        at TestClient.main(TestClient.java:13)
 
Can some one please help me on this.
 
Regards
 
Ravi

Reply via email to