Hi,
I have my application running fine with JRuby, ActiveRecord-JDBC
connecting
to Oracle using the thin driver on the Webrick. Below is my
database.yml.
development:
adapter: jdbc
driver: oracle.jdbc.OracleDriver
url: jdbc:oracle:thin:@xx.xx.xx.xx:1521:testDB
username: app_user
password: app_user
But when I create a standalone war file and deploy it on Tomcat 6 it
throws
following error: I have placed the ojdbc14.jar in the TOMCAT\lib folder.
NativeException (java.net.ConnectException: Connection refused:
connect):
null:-2:in java.net.PlainSocketImpl.socketConnect' null:-1:in
java.net.PlainSocketImpl.doConnect’
null:-1:in java.net.PlainSocketImpl.connectToAddress' null:-1:in
java.net.PlainSocketImpl.connect’
null:-1:in `java.net.Socket.connect’
Please help.
–
View this message in context:
http://www.nabble.com/Connection-Refused-on-Tomcat-6-tf4595895.html#a13121135
Sent from the JRuby - User mailing list archive at Nabble.com.
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email