Having a problem accessing JDBC Connection through a datasource, and can't
figure it out with orion.
Any help would be greatly appreciated.
Here are the details, and am using Oracle 8i.
* classes12.zip located in the orion/lib dir.
* Here is my datasources xml snippet.
* Orion starts up fine.
* Here is the code... (no app-client xml file)
env.put("java.naming.factory.initial",
"com.evermind.server.rmi.RMIInitialContextFactory");
env.put("java.naming.provider.url", "ormi://localhost/default");
env.put("java.naming.security.principal","admin");
env.put("java.naming.security.credentials","kb143aj");
InitialContext ctx = new InitialContext(env);
DataSource ds = (DataSource)ctx.lookup("jdbc/OracleCoreDS");
Connection conn = ds.getConnection();
Statement stmt = conn.createStatement();
* Running with orion.jar, jndi.jar, jdbc.jar, classes.zip
* Getting No suitable driver exception (SQLException) at Connection conn =
ds.getConnection();
Any help would be greatly appreciated. =)
Thanks,
Greg