Yes, I have the driver from www.inetsoftware.de working flawlessly. Just
stay away from the jdbc-odbc driver and you should be fine.

Hani

On Thu, 26 Apr 2001, Johan Fredriksson wrote:

> Has anyone got their driver to work with ms sql server 7?
> 
> I just get an error message all the time :
> 
> java.sql.SQLException: The database driver (com.internetcds.jdbc.tds.Driver@ff3a
> fe9f) returned refusing to connect to the URL jdbc:freetds:sqlserver://192.168.1
> .123/
>         at com.evermind.sql.DriverManagerDataSource.getConnection(Unknown Source
> )
> 
> 
> 
> Does anyone know what I'm doing wrong?
> 
> I'll include my datasource.xml also...:
> 
>  <data-source
>   class="com.evermind.sql.DriverManagerDataSource"
>   name="MyDataSource"
>   location="jdbc/BB"
>   xa-location="jdbc/xa/BBXADS"
>   ejb-location="jdbc/MyDataSource"
>   connection-driver="com.internetcds.jdbc.tds.Driver"
>   pooled-location="jdbc/MyPooledDS"
>   username="my"
>   password="password"
>   url="jdbc:freetds:sqlserver://192.168.1.123/"
>   max-connect-attempts="3" 
>   max-connections="1"
>   connection-retry-interval="1"
>   inactivity-timeout="30"
>  
>  />
> 
> 
> thanks in advance.
> 
> 
> Johan
> 
> 
> 


Reply via email to