Hi Everyone,
I have a problem with getting a table output from an Access input file. I created the model I want to use to get my outputs in using mySQL.
I forward engineered the model and I called the model according to my needs.
After I did what I had to do in kettle with the Access input file and I created a table output step with all the connections... it just does not seem to work. First I got an error saying that oracle.jdbc.driver.OracleDriver was missing. I went online and found something that claims to be this driver and placed in the "lib" folder of Pentaho. And now I get an all together different error message.
See below:
---
2016/05/27 22:05:05 - Spoon - Transformation opened.
2016/05/27 22:05:05 - Spoon - Launching transformation [main project spoon]...
2016/05/27 22:05:05 - Spoon - Started the transformation execution.
2016/05/27 22:05:05 - main project spoon - Dispatching started for transformation [main project spoon]
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : An error occurred intialising this step:
2016/05/27 22:05:05 - Table output.0 - Error occurred while trying to connect to the database
2016/05/27 22:05:05 - Table output.0 -
2016/05/27 22:05:05 - Table output.0 - Error connecting to database: (using class org.gjt.mm.mysql.Driver)
2016/05/27 22:05:05 - Table output.0 - Unknown database 'main project.mwb'
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error initializing step [Table output]
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Step [Table output.0] failed to initialize!
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Unexpected error rolling back the database connection.
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2016/05/27 22:05:05 - Table output.0 - Unable to get database metadata from this database connection
2016/05/27 22:05:05 - Table output.0 - at java.lang.Thread.run (null:-1)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run (TransGraph.java:3991)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1126)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:610)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:825)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:833)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2738)
2016/05/27 22:05:05 - Table output.0 -
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2740)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:833)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:825)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:610)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1126)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run(TransGraph.java:3991)
2016/05/27 22:05:05 - Table output.0 - at java.lang.Thread.run(Unknown Source)
2016/05/27 22:05:05 - Table output.0 - Caused by: java.lang.NullPointerException
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2738)
2016/05/27 22:05:05 - Table output.0 - ... 6 more
2016/05/27 22:05:05 - Spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : main project spoon: preparing transformation execution failed
2016/05/27 22:05:05 - Spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : org.pentaho.di.core.exception.KettleException:
2016/05/27 22:05:05 - Spoon - We failed to initialize at least one step. Execution can not begin!
2016/05/27 22:05:05 - Spoon -
2016/05/27 22:05:05 - Spoon -
2016/05/27 22:05:05 - Spoon - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1155)
2016/05/27 22:05:05 - Spoon - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run(TransGraph.java:3991)
2016/05/27 22:05:05 - Spoon - at java.lang.Thread.run(Unknown Source)
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Errors detected!
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Errors detected!
---
screenshot1.jpg
When I disable the hop to the table output and run the transformation all the data shows up in the preview without any problem, so I assume it is related to the output specifically. I have no idea what is going wrong. It says it can not connect to the data base I want to output in (I assume its the one I want to output in, am I right?). Could it maybe be the driver I installed?
Any help would be greatly appreciated.
I have a problem with getting a table output from an Access input file. I created the model I want to use to get my outputs in using mySQL.
I forward engineered the model and I called the model according to my needs.
After I did what I had to do in kettle with the Access input file and I created a table output step with all the connections... it just does not seem to work. First I got an error saying that oracle.jdbc.driver.OracleDriver was missing. I went online and found something that claims to be this driver and placed in the "lib" folder of Pentaho. And now I get an all together different error message.
See below:
---
2016/05/27 22:05:05 - Spoon - Transformation opened.
2016/05/27 22:05:05 - Spoon - Launching transformation [main project spoon]...
2016/05/27 22:05:05 - Spoon - Started the transformation execution.
2016/05/27 22:05:05 - main project spoon - Dispatching started for transformation [main project spoon]
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : An error occurred intialising this step:
2016/05/27 22:05:05 - Table output.0 - Error occurred while trying to connect to the database
2016/05/27 22:05:05 - Table output.0 -
2016/05/27 22:05:05 - Table output.0 - Error connecting to database: (using class org.gjt.mm.mysql.Driver)
2016/05/27 22:05:05 - Table output.0 - Unknown database 'main project.mwb'
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Error initializing step [Table output]
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Step [Table output.0] failed to initialize!
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Unexpected error rolling back the database connection.
2016/05/27 22:05:05 - Table output.0 - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException:
2016/05/27 22:05:05 - Table output.0 - Unable to get database metadata from this database connection
2016/05/27 22:05:05 - Table output.0 - at java.lang.Thread.run (null:-1)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run (TransGraph.java:3991)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1126)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:610)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:825)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:833)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2738)
2016/05/27 22:05:05 - Table output.0 -
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2740)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:833)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:825)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:610)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1126)
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run(TransGraph.java:3991)
2016/05/27 22:05:05 - Table output.0 - at java.lang.Thread.run(Unknown Source)
2016/05/27 22:05:05 - Table output.0 - Caused by: java.lang.NullPointerException
2016/05/27 22:05:05 - Table output.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2738)
2016/05/27 22:05:05 - Table output.0 - ... 6 more
2016/05/27 22:05:05 - Spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : main project spoon: preparing transformation execution failed
2016/05/27 22:05:05 - Spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : org.pentaho.di.core.exception.KettleException:
2016/05/27 22:05:05 - Spoon - We failed to initialize at least one step. Execution can not begin!
2016/05/27 22:05:05 - Spoon -
2016/05/27 22:05:05 - Spoon -
2016/05/27 22:05:05 - Spoon - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1155)
2016/05/27 22:05:05 - Spoon - at org.pentaho.di.ui.spoon.trans.TransGraph$28.run(TransGraph.java:3991)
2016/05/27 22:05:05 - Spoon - at java.lang.Thread.run(Unknown Source)
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Errors detected!
2016/05/27 22:05:05 - main project spoon - ERROR (version 6.0.1.0-386, build 1 from 2015-12-03 11.37.25 by buildguy) : Errors detected!
---
screenshot1.jpg
When I disable the hop to the table output and run the transformation all the data shows up in the preview without any problem, so I assume it is related to the output specifically. I have no idea what is going wrong. It says it can not connect to the data base I want to output in (I assume its the one I want to output in, am I right?). Could it maybe be the driver I installed?
Any help would be greatly appreciated.