I now have the client working, i.e. I can connect to the server and get a
DataSource by doing a JNDI lookup. However, if I get a Connection from the
DataSource and then try and get a Statement from the connection I get a
'Null Pointer Exception' from within Orion (the Connection definitely is not
null)

The stack trace looks like this

java.lang.NullPointerException
        at com.evermind.sql.OrionPooledDataSource.d7(JAX)
        at com.evermind.sql.OrionPooledDataSource.d8(JAX)
        at com.evermind.sql.ak.eo(JAX)
        at com.evermind.sql.ak.ep(JAX)
        at com.evermind.sql.ap.createStatement(JAX)
        at SimpleClient.main(SimpleClient.java:37)

Should I be able to do this?

Kevin Jones
DevelopMentor
www.develop.com


Reply via email to