I inherited a pretty old application (developed with CF5 to CF8) that
uses a 32 bit ODBC data source on Win 2008 64 bit to connect to a 32
bit Sybase SQL Anywhere 7 database.
When I try to set up this data spource in Railo (WAR file deployed on
Tomcat 64 bit) as a JDBC-ODBC bridge datasource, Railo complains that
the datasource was not found and that no suitable driver exists. When
I try to define a datasource using the Sybase option that comes with
Railo, I get the message that the login failed, although I am 100%
certain that the credentials are correct.
So my question is: is there an easy way to connect to a 32 bit
database from Railo 64 bit?
Thank you
Chris
Actually that has nothing to do with 64bit or 32bit. Just imagine the server
being behind a firewall or in another network. How should Railo detect that
at all? I guess it is the ODBC datasource definition/driver that gives you
trouble. Could you try to use a JDBC driver for it? There should be SQL
Anywhere JDBC drivers available.
http://iablog.sybase.com/hinsperg/2009/10/connecting-to-sql-anywhere-using-j
dbc/
http://dcx.sybase.com/1200/de/dbprogramming/pg-jdbc-3-0-load.html
Greetings from Switzerland
Gert Franz
Railo Technologies Professional Open Source
skype: gert.franz ge...@getrailo.com
+41 76 5680 231 www.getrailo.com
-----Ursprüngliche Nachricht-----
Von: ra...@googlegroups.com [mailto:ra...@googlegroups.com] Im Auftrag von
C. Schmitz
Gesendet: Mittwoch, 2. November 2011 08:23
An: ra...@googlegroups.com
Betreff: [railo] Conect to a 32 bit ODBC data source from Railo 64 bit?
--
Did you find this reply useful? Help the Railo community and add it to the Railo Server wiki at https://github.com/getrailo/railo/wiki
---
You received this message because you are subscribed to the Google Groups "Railo" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/railo/87d31ef9-8b20-45e4-9b4d-392b31389c73%40googlegroups.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
-Bilal
this.datasources.fox={
class:'sun.jdbc.odbc.JdbcOdbcDriver'
,connectionString:'jdbc:odbc:Fox'
};