AR JDBC Oracle connection string malformed
------------------------------------------
Key: JRUBY-1225
URL: http://jira.codehaus.org/browse/JRUBY-1225
Project: JRuby
Issue Type: Bug
Components: ActiveRecord-JDBC
Environment: Oracle 10G, AR JDBC trunk
Reporter: Michael Schubert
Assignee: Thomas E Enebo
Attachments: oracle_connection.patch
We have Oracle 10G Enterprise installed on the local system running on port
1521 (default) and SID of "orcl" (default)
{code title=database.yml}
development:
adapter: oracle
host: 127.0.0.1
database: orcl
username: bob
password: bob
{code}
Results in the following...
{code}
$ jruby script/console
Loading development environment
>> ActiveRecord::Base.connection
RuntimeError: The driver encountered an error: java.sql.SQLException: Io
exception: Invalid number format for port number
...
{code}
With the patch the connection is established correctly. If the previous
connection string worked for another installation of Oracle I'd be curious to
know what version or platform it is.
--
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