> -----Original Message-----
> From: David Elliot [mailto:[EMAIL PROTECTED]]
>
> The Orion team have previosuly recommended using the ejb-location
> datasource as this is both pooled and transactional (xa).
I have a datasource defined like this:
<data-source
name="CompleteDB"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/Complete"
pooled-location="jdbc/CompleteDBPool"
xa-location="jdbc/xa/CompleteDBXA"
ejb-location="jdbc/CompleteDB"
url="jdbc:oracle:thin:@MDA9:1521:COMP"
connection-driver="oracle.jdbc.driver.OracleDriver"
/>
When I use the jdbc/CompleteDB name, I get the following exception in the application's log:
00/05/17 01:27 Error in bean ejb/Baskets
java.lang.NullPointerException:
at com.evermind.sql.OrionCMTDataSource.c7(JAX)
at com.evermind.sql.OrionPooledDataSource.cw(JAX, Compiled Code)
at com.evermind.sql.OrionPooledDataSource.cw(JAX)
at com.evermind.sql.ah.da(JAX)
at com.evermind.sql.ah.dc(JAX)
at com.evermind.sql.am.prepareStatement(JAX)
at com.ast.complete.SQL.prepareStatement(SQL.java:742)
at com.ast.complete.BasketsBean.getAll(BasketsBean.java:101)
at StatelessSessionBeanWrapper0.getAll(StatelessSessionBeanWrapper0.java:181)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.a9.run(JAX)
at com.evermind.server.rmi.a7.gs(JAX, Compiled Code)
at com.evermind.server.rmi.a7.run(JAX, Compiled Code)
at com.evermind.util.e.run(JAX, Compiled Code)
