Pentaho

 View Only

ERROR PDI with ORACLE - ( ORA-12505 )

This thread has been viewed 6 times
  • 1.  ERROR PDI with ORACLE - ( ORA-12505 )

    Posted 12-09-2021 15:41

    Im using JR8 and ojdbc8.jar

    org.pentaho.di.core.exception.KettleDatabaseException:
    Error occurred while trying to connect to the database

    Connection failed. Verify all connection parameters and confirm that the appropriate driver is installed.
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=WJerY85LSvK8aHdU50ipVA==)


    at org.pentaho.di.core.database.Database.normalConnect(Database.java:497)
    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:85)
    at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestResults(DatabaseFactory.java:115)
    at org.pentaho.di.core.database.DatabaseMeta.testConnectionSuccess(DatabaseMeta.java:2859)
    at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:659)
    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(TypedListener.java:252)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4209)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4026)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
    at org.eclipse.jface.window.Window.open(Window.java:799)
    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:126)
    at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:61)
    at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.newConnection(SpoonDBDelegate.java:495)
    at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.newConnection(SpoonDBDelegate.java:482)
    at org.pentaho.di.ui.spoon.Spoon.newConnection(Spoon.java:8877)
    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.jface.tags.JfaceMenuitem.access$100(JfaceMenuitem.java:43)
    at org.pentaho.ui.xul.jface.tags.JfaceMenuitem$1.run(JfaceMenuitem.java:106)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
    at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4209)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1037)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4026)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1406)
    at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7990)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:9372)
    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:
    Connection failed. Verify all connection parameters and confirm that the appropriate driver is installed.
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=WJerY85LSvK8aHdU50ipVA==)

    at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:605)
    at org.pentaho.di.core.database.Database.normalConnect(Database.java:481)
    ... 57 more
    Caused by: java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=WJerY85LSvK8aHdU50ipVA==)
    at oracle.jdbc.driver.T4CConnection.handleLogonNetException(T4CConnection.java:872)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:677)
    at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:1039)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:90)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:728)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:649)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:602)
    ... 58 more
    Caused by: oracle.net.ns.NetException: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    (CONNECTION_ID=WJerY85LSvK8aHdU50ipVA==)
    at oracle.net.ns.NSProtocolNIO.createRefusePacketException(NSProtocolNIO.java:816)
    at oracle.net.ns.NSProtocolNIO.handleConnectPacketResponse(NSProtocolNIO.java:396)
    at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:207)
    at oracle.net.ns.NSProtocol.connect(NSProtocol.java:354)
    at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1969)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:642)
    ... 65 more

    I NEED HELP



    ------------------------------
    CASSIANO FONTENELE MENDES
    Data Service Manager
    Auten Lab
    ------------------------------