× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Thomas,

I'm getting a result for the "Execute Kerberos Java" button: Loaded from
SYSIBM.SYSDUMMY1: Y

Using the "Execute iSphere Java" results in the error below.

Regards,
-Arco

!ENTRY org.eclipse.ui 4 0 2018-01-22 20:08:26.261
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at
de.tools400.test.kerberos.views.TestKerberosView.executeSql(TestKerberosView.java:178)
at
de.tools400.test.kerberos.views.TestKerberosView.access$1(TestKerberosView.java:174)
at
de.tools400.test.kerberos.views.TestKerberosView$1.widgetSelected(TestKerberosView.java:87)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)


2018-01-20 22:44 GMT+01:00 Tools/400 <thomas.raddatz@xxxxxxxxxxx>:

I uploaded an Eclipse test project (Test Kerberos Connection.zip) to
SourceForge at:

https://sourceforge.net/projects/isphere/files

If was great if somebody, who knows how to import the project to Eclipse
and to launch an Eclipse application in debug mode, could download and
import the project to RDi 9.5 or RDi 9.6.

The project adds a "Tools/400 -> Kerberos Test" view, which contains two
buttons:

Execute iSphere Java
Execute Kerberos Java

The first one uses the original iSphere Java code to get a JDBC
connection for executing a "select * from sysibm.sysdummy1" statement.
It uses the getJDBCConnection() method of class IBMiConnection to get a
JDBC connection.

The second button registers the AS400JDBCDriver JDBC driver and uses
method getAS400ToolboxObject() of class IBMiConnection to get an AS400
object, which it passes to connect() of AS400JDBCDriver for getting a
JDBC connection.

I really would like to know if the second approach can connect to an IBM
i using Kerberos authentication.

Thomas.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.