Hello,
I am attempting to use an oracle 8 datasource with
CMP and I keep jboss to deploy the datasource. There were postings on this list
that indicated successful running with configurations very similar to
this. However, I keep on getting a null pointer exception when attempting
to deploy the oracle datasource and would appreciate any suggestions. My
jboss.jcml file has the following:
oracle.jdbc.driver.OracleDriver,org.hsql.jdbcDriver,org.enhydra.instantdb.jdbc.idbDriver
.
.
.
OracleDB
oracle.jdbc.xa.client.OracleXADataSource
jdbc:oracle:thin:@localhost:1521:naples"
scott
tiger
OUTPUT:
[InstantDB] Starting[InstantDB] XA Connection pool InstantDB bound to
java:/InstantDB[InstantDB] The Initial Developer of the Original Code is
Lutris Technologies Inc.Portions created by Lutris are Copyright (C)
1997-2000 Lutris Technologies, Inc.All Rights Reserved.[Hypersonic]
Press [Ctrl]+[C] to abort[InstantDB] Started[OracleDB]
Starting[OracleDB] XA Connection pool OracleDB bound to
java:/OracleDB[OracleDB] Stopped[OracleDB]
java.lang.NullPointerException[OracleDB] at
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165)[OracleDB]
at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)[OracleDB]
at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[OracleDB]
at java.lang.reflect.Method.invoke(Native Method)[OracleDB] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[OracleDB]
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[OracleDB]
at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[OracleDB]
at java.lang.reflect.Method.invoke(Native Method)[OracleDB] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[OracleDB]
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[OracleDB]
at org.jboss.Main.(Main.java:190)[OracleDB] at
org.jboss.Main$1.run(Main.java:94)[OracleDB] at
java.security.AccessController.doPrivileged(Native Method)[OracleDB]
at org.jboss.Main.main(Main.java:90)[Service Control] Could not start
DefaultDomain:service=XADataSource,name=OracleDB[Service Control]
java.lang.NullPointerException[Service Control] at
org.opentools.minerva.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:165)[Service
Control] at
org.jboss.jdbc.XADataSourceLoader.startService(XADataSourceLoader.java:330)[Service
Control] at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:93)[Service
Control] at java.lang.reflect.Method.invoke(Native Method)[Service
Control] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Service
Control] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Service
Control] at
org.jboss.util.ServiceControl.start(ServiceControl.java:97)[Service Control]
at java.lang.reflect.Method.invoke(Native Method)[Service Control]
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)[Service
Control] at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)[Service
Control] at org.jboss.Main.(Main.java:190)[Service
Control] at org.jboss.Main$1.run(Main.java:94)[Service Control]
at java.security.AccessController.doPrivileged(Native Method)[Service
Control] at org.jboss.Main.main(Main.java:90)[DefaultDS]
Starting[DefaultDS] XA Connection pool DefaultDS bound to
java:/DefaultDS[DefaultDS] Started
Thanks
JGZ