Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Access to windows-my keystore

I am using RTC eclipse client 3.0.1 under RHEL 6.3 in german. Under several conditions (e.g. try to set the the web browser properties or saving a work item) the client shuts down without any error message. In the .log file I found following error messages:
!ENTRY com.ibm.team.repository.client.login.KeyStoreLoginInfo 1 800 2012-08-23 11:29:01.443
!MESSAGE CRJAZ1887I Die Liste der im Windows-MY KeyStore verfügbaren Zertifikate konnte nicht gelesen werden. Falls Sie auf Zertifikate aus diesem Keystore zugreifen möchten, stellen Sie sicher, dass eine JVM verwendet wird, die das Lesen dieses Keystores unterstützt.
!STACK 0
com.ibm.team.repository.transport.client.AuthenticationException: Fehler bei der Initialisierung des Schlüsselspeichers.
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.loadKeyStore(KeyStoreLoginInfo.java:205)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.initializeKeyStore(KeyStoreLoginInfo.java:159)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.getKeyStore(KeyStoreLoginInfo.java:121)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.collectAliases(KeyStoreLoginInfo.java:79)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.getAliases(KeyStoreLoginInfo.java:95)
    at com.ibm.team.process.internal.rcp.ui.SmartCardLoginInfoUIProvider.getAliases(SmartCardLoginInfoUIProvider.java:94)
    at com.ibm.team.process.internal.rcp.ui.SmartCardLoginInfoUIProvider.createAliasList(SmartCardLoginInfoUIProvider.java:88)
    at com.ibm.team.process.internal.rcp.ui.SmartCardLoginInfoUIProvider.createContents(SmartCardLoginInfoUIProvider.java:71)
    at com.ibm.team.process.rcp.ui.RepositoryCreationPart.createAuthenticationProperties(RepositoryCreationPart.java:318)
    at com.ibm.team.process.rcp.ui.RepositoryCreationPart.<init>(RepositoryCreationPart.java:174)
    at com.ibm.team.process.internal.rcp.ui.RepositoryPropertyPage.createContents(RepositoryPropertyPage.java:64)
    at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
    at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1501)
    at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1258)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1252)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:679)
    at org.eclipse.jface.preference.PreferenceDialog$10.run(PreferenceDialog.java:708)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:704)
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:864)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:862)
    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1670)
    at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1124)
    at org.eclipse.jface.preference.PreferenceDialog.selectSavedItem(PreferenceDialog.java:1054)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.selectSavedItem(FilteredPreferenceDialog.java:734)
    at org.eclipse.jface.preference.PreferenceDialog$4.run(PreferenceDialog.java:375)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.jface.preference.PreferenceDialog.createContents(PreferenceDialog.java:371)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.ui.internal.dialogs.PropertyDialog.createDialogOn(PropertyDialog.java:82)
    at org.eclipse.ui.dialogs.PropertyDialogAction.createDialog(PropertyDialogAction.java:176)
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:155)
    at com.ibm.team.process.internal.rcp.ui.AdapterAction.run(AdapterAction.java:103)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
    at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
    at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
    at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
    at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:618)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.security.KeyStoreException: Windows-MY not found
    at java.security.KeyStore.getInstance(KeyStore.java:588)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.getKeyStore(KeyStoreLoginInfo.java:126)
    at com.ibm.team.repository.client.login.SmartCardLoginInfo.createKeyStore(SmartCardLoginInfo.java:61)
    at com.ibm.team.repository.client.login.KeyStoreLoginInfo.loadKeyStore(KeyStoreLoginInfo.java:203)
    ... 75 more

The client starts with these options:
eclipse.buildId=unknown
java.fullversion=J2RE 1.5.0 IBM J9 2.3 Linux x86-32 j9vmxi3223ifx-20100510 (JIT enabled)
J9VM - 20100509_57823_lHdSMr
JIT  - 20091016_1845ifx7_r8
GC   - 20091026_AA
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Framework arguments:  -product com.ibm.team.concert.product
Command-line arguments:  -os linux -ws gtk -arch x86 -product com.ibm.team.concert.product

Who can help?

0 votes


Accepted answer

Permanent link
For future reference you can fix this by deleting the entry under com.ibm.team.auth.info in the secure storage options of the preferences in eclipse - that at least worked for me - tool will then prompt for new password and the problem went away.
Berthold Kröger selected this answer as the correct answer

0 votes


One other answer

Permanent link
Berthold,
I don't know exactly what causes that error but it is not related to your issue. I see the
CRJAZ1887I  error in my logs all the time.
For your issue, I would suggest looking for javacore and or heapdump files. These can be in a number of locations. Sometimes in the eclipse.exe directory, sometimes in the directory where the jvm is and once in a while they will be in the windows directory


After re-reading your settings you appear to be running on Linux so there won't be a Windows directory.
The javacores should still be in either the eclipse executable directory or the jvm directory.

1 vote

Comments

Hello Karl, you are right. There are javacore dumps. How can I upload one of it here at the forum? Best regards, Berthold

I don't think you can upload a file to the forum but we can start with the first 20 or so lines of the file which should include the Dump Event Then we can decide what the next steps should be.

Hello Karl, I assume there is a problem with the architecture. My laptop is a 64 bit machine. Maybe there is a wrong JAVA version installed.

This forum template has problems with large comments. Is there any other way to communicate? You may contact me by mail: BERTKROE@de.ibm.com

Thanks a lot! Berthold

Hi Karl, additional info from a Java colleage: There was a gpf - general protection fault in gconv/UTF-16.so

1XHEXCPCODE J9Generic_Signal_Number: 00000004 1XHEXCPCODE Signal_Number: 0000000B 1XHEXCPCODE Error_Value: 00000000 1XHEXCPCODE Signal_Code: 00000001 1XHEXCPCODE Handler1: 00911C1E 1XHEXCPCODE Handler2: 0012D523 1XHEXCPCODE InaccessibleAddress: 016CA000 NULL
1XHEXCPMODULE Module: /usr/lib/gconv/UTF-16.so 1XHEXCPMODULE Module_base_address: 00DDF000 1XHEXCPMODULE Symbol: gconv 1XHEXCPMODULE Symbol_address: 00DDF500

I hope that helps Berthold

At Eclipse.org I found a bug report that seems to solve the problem: https://bugs.eclipse.org/bugs/show_bug.cgi?id=236724 But I don't know how to apply the patch. Berthold

1 vote

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 23 '12, 6:02 a.m.

Question was seen: 7,607 times

Last updated: Apr 09 '13, 8:19 a.m.

Confirmation Cancel Confirm