You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/09/02 19:18:44 UTC
DO NOT REPLY [Bug 51756] Tomcat JDBC Pool does not work with Sybase
https://issues.apache.org/bugzilla/show_bug.cgi?id=51756
--- Comment #1 from Filip Hanik <fh...@apache.org> 2011-09-02 17:18:44 UTC ---
what's the value of 'driverURL'? most likely this one is not correct. there is
nothing magic calling Driver.connect, if this call is failing. could be a
version thing on the URL itself.
Connect SQL 7.0
jdbc:jtds:sqlserver://ServerAddress/DBName;instance=;TDS=5.0
Connect SQL 6.5
jdbc:jtds:sqlserver://ServerAddress/DBName;instance=;TDS=4.2
what I would like for you to do is in plain Java
Properties p = new Properties();
p.put("user",username);
p.put("password", password);
Driver driver =
(Driver)Class.forName("net.sourceforge.jtds.jdbc.Driver").newInstance();
driver.connect(driverUrl, p);
It should yield the exact same error if you don't change any of the variables.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org