Vladimir Golyakov created JRUBY-6372:
----------------------------------------

             Summary: PPC64 JDBC No suitable driver
                 Key: JRUBY-6372
                 URL: https://jira.codehaus.org/browse/JRUBY-6372
             Project: JRuby
          Issue Type: Bug
          Components: IBM/Other VM
    Affects Versions: JRuby 1.6.3
         Environment: IBM PowerPC 64-bit
Red Hat Linux 6

java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp6460sr10-20111208_01(SR10))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux ppc64-64 
jvmxp6460sr10-20111207_96808 (JIT enabled, AOT enabled)
J9VM - 20111207_096808
JIT  - r9_20111107_21307ifx1
GC   - 20110519_AA)
JCL  - 20111104_02

jruby 1.6.3 (ruby-1.8.7-p330) (2011-07-07 965162f) (IBM J9 VM 1.6.0) 
[linux-ppc64-java]
Oracle JDBC 11.2.0.3

            Reporter: Vladimir Golyakov
            Priority: Minor


JRuby can't connect to any database using java.sql.DriverManager.

{code}
java.sql.SQLException: No suitable driver
java/sql/DriverManager.java:387:in `getConnection'
java/sql/DriverManager.java:415:in `getConnection'
test.rb:4:in `(root)'
{code}

test.rb
{code}
include Java
require 'ojdbc6.jar'
java.sql.DriverManager.registerDriver("oracle.jdbc.OracleDriver")
puts java.sql.DriverManager.getConnection('jdbc:oracle:thin:@localhost/dbname', 
'user', 'password')
{code}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to