MattCasters
04-05-2006, 10:58 AM
(Posted by Anonymous, set to Plain, not wiki!)
Hi Matt,
I have a problem using MSSQL native connection in spoon,
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
be.ibridge.kettle.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
i had the same problem with another application and i found a tip in JTDS site, it was add the instance to the connection URL, it means :
jdbc:jtds:sqlserver://127.0.0.1/<instance>;instance=<instance>;user=<username>;password=<password>;
i tried it using Generic Database connection:
URL: jdbc:jtds:sqlserver://127.0.0.1/<instance>;instance=<instance>;user=<username>;password=<password>;
Driver Class: net.sourceforge.jtds.jdbc.Driver
and It works perfectly !!!!
Then I did my transfortmation and i tested it using "Transformation Preview" option and all worked OK.
But when i tried to run it with "Transformation Run" option it didn't work. and it gave the following errors.
2006/04/05 18:36:28 - Spoon - Transformation opened.
2006/04/05 18:36:28 - Spoon - Excecuting transformation [null]...
2006/04/05 18:36:28 - be.ibridge.kettle.trans.Trans - Dispatching started for filename [F:\Kettle-2.2.2\transformations\table2xml.ktr]
2006/04/05 18:36:28 - be.ibridge.kettle.trans.Trans - Nr of arguments detected: 10
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : An error occurred, processing will be stopped:
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : Error occured while trying to connect to the database
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR :
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : Error connecting to database: (using class sun.jdbc.odbc.JdbcOdbcDriver)
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : [Microsoft][Pilote ODBC Paradox] '(Inconnu)' n'est pas un chemin d'acc│s valide. Assurez-vous que le nom du chemin d'acc│s est correct et qu'une connexion est ←tablie avec le serveur sur lequel r←side le fichier.
2006/04/05 18:36:29 - be.ibridge.kettle.trans.Trans - ERROR : Error initializing step [TFICHE_ABSENCE]
2006/04/05 18:36:29 - XML Output.0 - Opening output stream in encoding: UTF-8
2006/04/05 18:36:29 - be.ibridge.kettle.trans.Trans - ERROR : We failed to initialize at least one step. Execution can not begin!
2006/04/05 18:36:29 - Spoon - Started.
2006/04/05 18:36:29 - Spoon - The transformation has finished!!
The connection to the database was failed using a driver that i didnt setup .
Could you give some tips to solve it ?,
Thanks in advance
Jaime
Hi Matt,
I have a problem using MSSQL native connection in spoon,
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
be.ibridge.kettle.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver)
Network error IOException: Connection refused: connect
i had the same problem with another application and i found a tip in JTDS site, it was add the instance to the connection URL, it means :
jdbc:jtds:sqlserver://127.0.0.1/<instance>;instance=<instance>;user=<username>;password=<password>;
i tried it using Generic Database connection:
URL: jdbc:jtds:sqlserver://127.0.0.1/<instance>;instance=<instance>;user=<username>;password=<password>;
Driver Class: net.sourceforge.jtds.jdbc.Driver
and It works perfectly !!!!
Then I did my transfortmation and i tested it using "Transformation Preview" option and all worked OK.
But when i tried to run it with "Transformation Run" option it didn't work. and it gave the following errors.
2006/04/05 18:36:28 - Spoon - Transformation opened.
2006/04/05 18:36:28 - Spoon - Excecuting transformation [null]...
2006/04/05 18:36:28 - be.ibridge.kettle.trans.Trans - Dispatching started for filename [F:\Kettle-2.2.2\transformations\table2xml.ktr]
2006/04/05 18:36:28 - be.ibridge.kettle.trans.Trans - Nr of arguments detected: 10
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : An error occurred, processing will be stopped:
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : Error occured while trying to connect to the database
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR :
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : Error connecting to database: (using class sun.jdbc.odbc.JdbcOdbcDriver)
2006/04/05 18:36:29 - TFICHE_ABSENCE.0 - ERROR : [Microsoft][Pilote ODBC Paradox] '(Inconnu)' n'est pas un chemin d'acc│s valide. Assurez-vous que le nom du chemin d'acc│s est correct et qu'une connexion est ←tablie avec le serveur sur lequel r←side le fichier.
2006/04/05 18:36:29 - be.ibridge.kettle.trans.Trans - ERROR : Error initializing step [TFICHE_ABSENCE]
2006/04/05 18:36:29 - XML Output.0 - Opening output stream in encoding: UTF-8
2006/04/05 18:36:29 - be.ibridge.kettle.trans.Trans - ERROR : We failed to initialize at least one step. Execution can not begin!
2006/04/05 18:36:29 - Spoon - Started.
2006/04/05 18:36:29 - Spoon - The transformation has finished!!
The connection to the database was failed using a driver that i didnt setup .
Could you give some tips to solve it ?,
Thanks in advance
Jaime