Pentaho

 View Only

 I found the errors "connecting database sample data " when using the pdi-ce-9.0.0.0-423 ,has anybody know the solutions ?

  • Pentaho
  • Kettle
  • Pentaho
  • Pentaho Data Integration PDI
Benny Susanto's profile image
Benny Susanto posted 08-24-2020 07:18

Error connecting to database [sample data] :org.pentaho.di.core.exception.KettleDatabaseException:

Error occurred while trying to connect to the database

 

Error connecting to database: (using class org.hsqldb.jdbcDriver)

java.net.ConnectException: Connection refused: connect

 

 

org.pentaho.di.core.exception.KettleDatabaseException:

Error occurred while trying to connect to the database

 

Error connecting to database: (using class org.hsqldb.jdbcDriver)

java.net.ConnectException: Connection refused: connect

 

 

at org.pentaho.di.core.database.Database.normalConnect(Database.java:493)

at org.pentaho.di.core.database.Database.connect(Database.java:389)

at org.pentaho.di.core.database.Database.connect(Database.java:360)

at org.pentaho.di.core.database.Database.connect(Database.java:350)

at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:83)

at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestResults(DatabaseFactory.java:112)

at org.pentaho.di.core.database.DatabaseMeta.testConnectionSuccess(DatabaseMeta.java:2848)

at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:649)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)

at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:157)

at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:141)

at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:43)

at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:137)

at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)

at org.eclipse.jface.window.Window.open(Window.java:796)

at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:89)

at org.pentaho.di.ui.xul.KettleDialog.show(KettleDialog.java:56)

at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:117)

at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:61)

at org.pentaho.di.ui.trans.step.BaseStepDialog.showDbDialogUnlessCancelledOrValid(BaseStepDialog.java:813)

at org.pentaho.di.ui.trans.step.BaseStepDialog$AddConnectionListener.widgetSelected(BaseStepDialog.java:1492)

at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at org.pentaho.di.ui.trans.steps.tableoutput.TableOutputDialog.open(TableOutputDialog.java:888)

at org.pentaho.di.ui.spoon.delegates.SpoonStepsDelegate.editStep(SpoonStepsDelegate.java:120)

at org.pentaho.di.ui.spoon.Spoon.editStep(Spoon.java:8833)

at org.pentaho.di.ui.spoon.trans.TransGraph.editStep(TransGraph.java:3287)

at org.pentaho.di.ui.spoon.trans.TransGraph.mouseDoubleClick(TransGraph.java:785)

at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)

at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)

at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)

at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)

at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1385)

at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7968)

at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9350)

at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:711)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.pentaho.commons.launcher.Launcher.main(Launcher.java:92)

Caused by: org.pentaho.di.core.exception.KettleDatabaseException:

Error connecting to database: (using class org.hsqldb.jdbcDriver)

java.net.ConnectException: Connection refused: connect

 

at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:601)

at org.pentaho.di.core.database.Database.normalConnect(Database.java:477)

... 56 more

Caused by: java.sql.SQLTransientConnectionException: java.net.ConnectException: Connection refused: connect

at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)

at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)

at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)

at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)

at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at java.sql.DriverManager.getConnection(Unknown Source)

at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:585)

... 57 more

Caused by: org.hsqldb.HsqlException: java.net.ConnectException: Connection refused: connect

at org.hsqldb.ClientConnection.openConnection(Unknown Source)

at org.hsqldb.ClientConnection.initConnection(Unknown Source)

at org.hsqldb.ClientConnection.<init>(Unknown Source)

... 63 more

Caused by: java.net.ConnectException: Connection refused: connect

at java.net.DualStackPlainSocketImpl.connect0(Native Method)

at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)

at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)

at java.net.AbstractPlainSocketImpl.connect(Unknown Source)

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at org.hsqldb.server.HsqlSocketFactory.createSocket(Unknown Source)

... 66 more

 

Hostname: localhost

Port: 9001

Database name: sampledata

 

 

 


#Pentaho
#PentahoDataIntegrationPDI
#Kettle
Matt Velez's profile image
Matt Velez

It says 'java.net.ConnectException: Connection refused: connect', so maybe your connection details are wrong?