java.sql.SQLException: Login failed for user 'sa'
Make sure your jdts jar version is 1.2x. If it is not ,download correct version. And the second option is using JDBC jar for connecting MSSQL database.