Underscore "_" in url:'s host name's part causes java.sql.SQLException: No 
suitable driver for JDBC with Oracle
---------------------------------------------------------------------------------------------------------------

                 Key: JRUBY-1256
                 URL: http://jira.codehaus.org/browse/JRUBY-1256
             Project: JRuby
          Issue Type: Bug
          Components: ActiveRecord-JDBC
    Affects Versions: JRuby 1.0.0
         Environment: Linux Suse
java 1.5
Rails 1.2.3
Jruby 1.0
ActiveRecord-JDBC 0.4
            Reporter: Gregory Bluvshteyn
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.0.0


I had the following setup in my config/database.yml

development:
  adapter: jdbc
  driver: oracle.jdbc.driver.OracleDriver
  url: jdbc:oracle:thin:@host_name:1530:HOST
  username: ...
  password: ...

The underscore in url was cosing java.sql.SQLException: No suitable driver

I tried java version 1.5 and 1.6 result was the same until I've inserted IP 
address and it started to work

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.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