try classes111.zip...your 8i may not be patched to a level that accepts
classes12

Sometimes works when nothing else does

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gregory
> Kaestle
> Sent: Thursday, March 15, 2001 8:17 PM
> To: Orion-Interest
> Subject: No suitable driver exception
>
>
> 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.
>       <data-source
>               class="com.evermind.sql.DriverManagerDataSource"
>               name="Oracle"
>               location="jdbc/OracleCoreDS"
>               xa-location="jdbc/OracleXADS"
>               ejb-location="jdbc/OracleDS"
>               connection-driver="oracle.jdbc.driver.OracleDriver"
>               username="********"
>               password="********"
>               url="jdbc:oracle:thin:@server:1521:ORCL"
>               inactivity-timeout="30"
>       />
> * 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
>
>
>
>
>
>
>


Reply via email to