javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''

Pentaho BI Platform Tracking | Rafael | 3 years ago
  1. 0

    I'm trying to connect me with a Oracle without SID , I try to do this http://stackoverflow.com/questions/4832056/java-jdbc-how-to-connect-to-oracle-using-service-name-instead-of-sid But i can't, this is a error : Error connecting to database [Oracle] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.Database.normalConnect(Database.java:366) at org.pentaho.di.core.database.Database.connect(Database.java:315) at org.pentaho.di.core.database.Database.connect(Database.java:277) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:119) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:88) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2828) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:315) at org.pentaho.di.ui.spoon.Spoon$23.widgetDefaultSelected(Spoon.java:5329) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.database.DataSourceNamingException: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:58) at org.pentaho.di.core.database.Database.initWithNamedDataSource(Database.java:379) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:405) at org.pentaho.di.core.database.Database.normalConnect(Database.java:350) ... 43 more Caused by: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:261) at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:293) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.osjava.sj.jndi.DelegatingContext.lookup(DelegatingContext.java:60) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:89) at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:56) ... 46 more JNDI Name : jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521/BSSRAC.localdomain

    Pentaho BI Platform Tracking | 3 years ago | Rafael
    javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''
  2. 0

    I'm trying to connect me with a Oracle without SID , I try to do this http://stackoverflow.com/questions/4832056/java-jdbc-how-to-connect-to-oracle-using-service-name-instead-of-sid But i can't, this is a error : Error connecting to database [Oracle] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.Database.normalConnect(Database.java:366) at org.pentaho.di.core.database.Database.connect(Database.java:315) at org.pentaho.di.core.database.Database.connect(Database.java:277) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:119) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:88) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2828) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:315) at org.pentaho.di.ui.spoon.Spoon$23.widgetDefaultSelected(Spoon.java:5329) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.database.DataSourceNamingException: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:58) at org.pentaho.di.core.database.Database.initWithNamedDataSource(Database.java:379) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:405) at org.pentaho.di.core.database.Database.normalConnect(Database.java:350) ... 43 more Caused by: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:261) at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:293) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.osjava.sj.jndi.DelegatingContext.lookup(DelegatingContext.java:60) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:89) at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:56) ... 46 more JNDI Name : jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521/BSSRAC.localdomain

    Pentaho BI Platform Tracking | 3 years ago | Rafael
    javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''
  3. 0

    JNDI ORACLE PENTAHO CONNECTION

    Stack Overflow | 3 years ago | user2645166
    javax.naming.NamingException: Invalid data source:'xe' Invalid data source:'xe'</p> <pre><code>at org.pentaho.di.core.database.Database.normalConnect(Database.java:374)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I'm trying to connect me with a Oracle without SID , I try to do this http://stackoverflow.com/questions/4832056/java-jdbc-how-to-connect-to-oracle-using-service-name-instead-of-sid But i can't, this is a error : Error connecting to database [Oracle] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.Database.normalConnect(Database.java:366) at org.pentaho.di.core.database.Database.connect(Database.java:315) at org.pentaho.di.core.database.Database.connect(Database.java:277) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:119) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:88) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2828) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:315) at org.pentaho.di.ui.spoon.Spoon$23.widgetDefaultSelected(Spoon.java:5329) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.database.DataSourceNamingException: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:58) at org.pentaho.di.core.database.Database.initWithNamedDataSource(Database.java:379) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:405) at org.pentaho.di.core.database.Database.normalConnect(Database.java:350) ... 43 more Caused by: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:261) at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:293) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.osjava.sj.jndi.DelegatingContext.lookup(DelegatingContext.java:60) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:89) at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:56) ... 46 more JNDI Name : jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521/BSSRAC.localdomain

    Pentaho BI Platform Tracking | 3 years ago | Rafael
    javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''
  6. 0

    I'm trying to connect me with a Oracle without SID , I try to do this http://stackoverflow.com/questions/4832056/java-jdbc-how-to-connect-to-oracle-using-service-name-instead-of-sid But i can't, this is a error : Error connecting to database [Oracle] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.Database.normalConnect(Database.java:366) at org.pentaho.di.core.database.Database.connect(Database.java:315) at org.pentaho.di.core.database.Database.connect(Database.java:277) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26) at org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:119) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115) at org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:88) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2828) at org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:315) at org.pentaho.di.ui.spoon.Spoon$23.widgetDefaultSelected(Spoon.java:5329) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.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:1221) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.di.core.database.DataSourceNamingException: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:58) at org.pentaho.di.core.database.Database.initWithNamedDataSource(Database.java:379) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:405) at org.pentaho.di.core.database.Database.normalConnect(Database.java:350) ... 43 more Caused by: javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:261) at org.osjava.sj.jndi.AbstractContext.lookup(AbstractContext.java:293) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.osjava.sj.jndi.DelegatingContext.lookup(DelegatingContext.java:60) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.pentaho.di.core.database.util.DatabaseUtil.getDataSourceFromJndi(DatabaseUtil.java:89) at org.pentaho.di.core.database.util.DatabaseUtil.getNamedDataSource(DatabaseUtil.java:56) ... 46 more JNDI Name : jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521/BSSRAC.localdomain

    Pentaho BI Platform Tracking | 3 years ago | Rafael
    javax.naming.NamingException: Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.NamingException

      Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context '' Invalid subcontext 'jdbc:oracle:thin:BSS_DEVELOPMENT@192.168.45.11:1521' in context ''

      at org.pentaho.di.core.database.Database.normalConnect()
    2. org.pentaho.di
      DatabaseMeta.testConnection
      1. org.pentaho.di.core.database.Database.normalConnect(Database.java:366)
      2. org.pentaho.di.core.database.Database.connect(Database.java:315)
      3. org.pentaho.di.core.database.Database.connect(Database.java:277)
      4. org.pentaho.di.core.database.Database.connect(Database.java:267)
      5. org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:86)
      6. org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2464)
      6 frames
    3. org.pentaho.ui
      DataHandler.testDatabaseConnection
      1. org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:533)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    5. org.pentaho.ui
      SwtButton$4.widgetSelected
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      4. org.pentaho.ui.xul.swt.tags.SwtButton.access$500(SwtButton.java:26)
      5. org.pentaho.ui.xul.swt.tags.SwtButton$4.widgetSelected(SwtButton.java:119)
      5 frames
    6. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    7. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    8. org.pentaho.ui
      SwtDialog.show
      1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:378)
      2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:304)
      2 frames
    9. org.pentaho.di
      Spoon$23.widgetDefaultSelected
      1. org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabaseDialog.java:115)
      2. org.pentaho.di.ui.core.database.dialog.DatabaseDialog.open(DatabaseDialog.java:62)
      3. org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDBDelegate.java:88)
      4. org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2828)
      5. org.pentaho.di.ui.spoon.Spoon.access$1900(Spoon.java:315)
      6. org.pentaho.di.ui.spoon.Spoon$23.widgetDefaultSelected(Spoon.java:5329)
      6 frames
    10. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    11. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1221)
      2. org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7044)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8304)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:580)
      4 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    13. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
      1 frame