ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <>
Subject Re: Error establishing socket from <sql> task?
Date Wed, 07 Dec 2005 20:05:58 GMT
Hello Rick,

I am not sure what this is.
Try to set the jars of the mssql driver in the CLASSPATH env var before
starting ant. Maybe this helps.
Try also to find out if there are bugs reported against this driver
under linux independently of ant ?
Maybe try to make a HelloWorldJDBC program running without ant under
Linux with the same connection params
to see if the error is reproducable. If it is, then it could be a
Microsoft problem, or less probably a JDK/JRE problem.
If you do not get the error with HelloWorldJDBC, then it could be an ant
bug, or a build file issue.
Find out if the MSSQL driver can be made to make a debug log, maybe with
some -D properties ?

Rick Genter wrote:

>I'm trying to bring up our app suite on Linux (Fedora Core 4). One of
>the earliest apps uses the <sql> task in its build script to initialize
>the database we use. We call <sql> like this:
>        <sql driver=""
>             classpathref="jdbc.driver.path"
>;ProgramName=Object API Test"
>             userid="${test.db.userid}"
>             password="${test.db.password}"
>             src="${sql.master}/Data/sql_sysmessages.sql"
>             delimiter="GO"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message