Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: JNDI Connection

  1. #1
    Join Date
    Feb 2011
    Posts
    240

    Default JNDI Connection

    Hi,

    I'm using schema workbench and I want create a new JNDI connection.

    Into report designer I modified the file jdbc.properties, but in schema workbench?

    Thanks
    Mariarita

  2. #2
    Join Date
    Feb 2011
    Posts
    240

    Default

    Sorry, but If I create a JNDI connection:

    Connection Name: SINSNT_TEST
    Connection Type: oracle
    Access: JNDI
    JNDI Name: SINSNT_TEST

    But when I click TEST I've this error:

    Errore di connessione al database [SINSNT_TEST] : org.pentaho.di.core.exception.KettleDatabaseException:
    Error occured while trying to connect to the database

    javax.naming.NoInitialContextException: Cannot instantiate class: org.osjava.sj.SimpleContextFactory [Root exception is java.lang.ClassNotFoundException: org.osjava.sj.SimpleContextFactory]
    Cannot instantiate class: org.osjava.sj.SimpleContextFactory


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

    javax.naming.NoInitialContextException: Cannot instantiate class: org.osjava.sj.SimpleContextFactory [Root exception is java.lang.ClassNotFoundException: org.osjava.sj.SimpleContextFactory]
    Cannot instantiate class: org.osjava.sj.SimpleContextFactory

    org.pentaho.di.core.database.Database.normalConnect(Database.java:370)
    org.pentaho.di.core.database.Database.connect(Database.java:319)
    org.pentaho.di.core.database.Database.connect(Database.java:281)
    org.pentaho.di.core.database.Database.connect(Database.java:271)
    org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(DatabaseFactory.java:76)
    org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.java:2443)
    org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHandler.java:510)
    sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:597)
    org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
    org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:58)
    java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
    java.awt.Dialog$1.run(Dialog.java:1051)
    java.awt.Dialog$3.run(Dialog.java:1103)
    java.security.AccessController.doPrivileged(Native Method)
    java.awt.Dialog.show(Dialog.java:1101)
    java.awt.Component.show(Component.java:1516)
    java.awt.Component.setVisible(Component.java:1468)
    java.awt.Window.setVisible(Window.java:841)
    java.awt.Dialog.setVisible(Dialog.java:991)
    org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234)
    mondrian.gui.Workbench.connectionButtonActionPerformed(Workbench.java:1292)
    mondrian.gui.Workbench.access$800(Workbench.java:94)
    mondrian.gui.Workbench$23.actionPerformed(Workbench.java:762)
    javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    javax.swing.AbstractButton.doClick(AbstractButton.java:357)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
    java.awt.Component.processMouseEvent(Component.java:6216)
    javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
    java.awt.Component.processEvent(Component.java:5981)
    java.awt.Container.processEvent(Container.java:2041)
    java.awt.Component.dispatchEventImpl(Component.java:4583)
    java.awt.Container.dispatchEventImpl(Container.java:2099)
    java.awt.Component.dispatchEvent(Component.java:4413)
    java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4556)
    java.awt.LightweightDispatcher.processMouseEvent(Container.java:4220)
    java.awt.LightweightDispatcher.dispatchEvent(Container.java:4150)
    java.awt.Container.dispatchEventImpl(Container.java:2085)
    java.awt.Window.dispatchEventImpl(Window.java:2475)
    java.awt.Component.dispatchEvent(Component.java:4413)
    java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Nome JNDI:SINSNT_TEST

  3. #3
    Join Date
    Feb 2011
    Posts
    240

    Default

    Please help me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.