NullPointerExceptions

Bob Kline bkline at rksystems.com
Mon Jan 15 14:56:55 EST 2001


On Mon, 15 Jan 2001, Tom Pridham wrote:

> We are using the Orion application server and are attempting to connect to
> MS SQL Server 7.0 with the free tds jdbc driver.
> 
> The driver we are loading is:
> com.internetcds.jdbc.tds.Driver
> 
> Our URL is:
> jdbc:freetds:sqlserver://localhost:1433/MedHistoryCard sa 
> 
> All we get is three NullPointerExceptions....are we using the
> correct URL and driver to connect?  I am able to connect using other
> ($$$) commercial drivers.

1. Is " sa" really part of your URL?  If so, that's your problem.
2. If not, what happens when you telnet to 'localhost' on port 1433?

-- 
Bob Kline
mailto:bkline at rksystems.com
http://www.rksystems.com




More information about the FreeTDS mailing list