I have added the appropriate jar files to my classpath and tnow the error seems to have migrated to the DataSource as opposed to the Initial Context. I now get a different error (Stack trace below). Any Ideas?
com.ibm.websphere.naming.CannotInstantiateObjectEx ception: Exception occurred wh
ile the JNDI NamingManager was processing a javax.naming.Reference object. Root
exception is javax.naming.NamingException: ClassNotFoundException: oracle.jdbc.
pool.OracleConnectionPoolDataSource
at com.ibm.websphere.advanced.cm.factory.DataSourceFa ctory$ResourceRefer
enceObjectFactory.getObjectInstance(DataSourceFact ory.java:705)
at javax.naming.spi.NamingManager.getObjectInstance(N amingManager.java:3
08)
at com.ibm.ws.naming.util.Helpers.processSerializedOb jectForLookup(Helpe
rs.java:737)
at com.ibm.ejs.ns.jndi.CNContextImpl.processResolveRe sults(CNContextImpl
.java:1594)
at com.ibm.ejs.ns.jndi.CNContextImpl.doLookup(CNConte xtImpl.java:1470)
at com.ibm.ejs.ns.jndi.CNContextImpl.lookup(CNContext Impl.java:1120)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:128)
at javax.naming.InitialContext.lookup(InitialContext. java:351)
at access.<init>(access.java:25)
at access.main(access.java:64)
Exception in thread "P=343:O=0:CT" java.lang.NullPointerException
at access.performread(access.java:40)
at access.main(access.java:65)