https://issues.apache.org/bugzilla/show_bug.cgi?id=51756

--- Comment #1 from Filip Hanik <fha...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to