[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] cannot install subclipse: "Cannot connect to keystore.This trust engine is read only."

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 15 Jul 2010 14:08:48 -0400

Maybe it is a Windows UAC problem? Try running Eclipse as
Administrator? Ultimately, the plugin installation process is run by
Eclipse itself.

On Thu, Jul 15, 2010 at 2:01 PM, Anil Philip <goodnewsforyou_at_yahoo.com> wrote:
> Trying to install subclipse, I get this error: "Cannot connect to keystore.
>  This trust engine is read only."
> (Windows 7, Eclipse 3.5.2, Subclipse 1.6.X, Java 1.6.21)
>
>
> I read this Eclipse FAQ but I am using the Sun JVM
>
> http://wiki.eclipse.org/IRC_FAQ#When_I_try_to_install_a_plug-in.2C_I_get_a_.22Cannot_connect_to_keystore..22_error.2C_what_should_I_do.3F
>
>
> My Configuration - from the About Eclipse Menu:
>
> java.library.path=C:\eclipse;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;%CommonProgramFiles%\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\
> java.runtime.name=Java(TM) SE Runtime Environment
> java.runtime.version=1.6.0_21-b06
> java.specification.name=Java Platform API Specification
> java.specification.vendor=Sun Microsystems Inc.
> java.specification.version=1.6
> java.vendor=Sun Microsystems Inc.
> java.vendor.url=http://java.sun.com/
> java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
> java.version=1.6.0_21
>
>
> An error occurred while installing the items
>  session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]com.collabnet.subversion.merge 2.1.0, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
>  Cannot connect to keystore.
>  This trust engine is read only.
>  String index out of range: 0
>  String index out of range: 0
>
>
> The full error log is:
>
> !SESSION 2010-07-15 11:13:07.033 -----------------------------------------------
> eclipse.buildId=M20100211-1343
> java.version=1.6.0_21
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments:  -os win32 -ws win32 -arch x86
>
> !ENTRY org.eclipse.equinox.p2.engine 4 4 2010-07-15 11:48:36.231
> !MESSAGE An error occurred while installing the items
> !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2010-07-15 11:48:36.231
> !MESSAGE session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install, operand=null --> [R]com.collabnet.subversion.merge 2.1.0, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
> !SUBENTRY 1 org.eclipse.equinox.p2.engine 1 0 2010-07-15 11:48:36.231
> !MESSAGE Cannot connect to keystore.
> !STACK 0
> java.io.IOException: This trust engine is read only.
>        at org.eclipse.osgi.internal.service.security.KeyStoreTrustEngine.doAddTrustAnchor(KeyStoreTrustEngine.java:154)
>        at org.eclipse.osgi.service.security.TrustEngine.addTrustAnchor(TrustEngine.java:50)
>        at org.eclipse.equinox.internal.provisional.p2.engine.CertificateChecker.checkCertificates(CertificateChecker.java:106)
>        at org.eclipse.equinox.internal.provisional.p2.engine.CertificateChecker.start(CertificateChecker.java:41)
>        at org.eclipse.equinox.internal.provisional.p2.engine.phases.CheckTrust.completePhase(CheckTrust.java:43)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Phase.postPerform(Phase.java:195)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:78)
>        at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
>        at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2010-07-15 11:48:36.231
> !MESSAGE String index out of range: 0
> !STACK 0
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
>        at java.lang.String.charAt(Unknown Source)
>        at org.eclipse.equinox.internal.frameworkadmin.equinox.ParserUtils.getValueForArgument(ParserUtils.java:124)
>        at org.eclipse.equinox.internal.frameworkadmin.equinox.EclipseLauncherParser.getStartup(EclipseLauncherParser.java:224)
>        at org.eclipse.equinox.internal.frameworkadmin.equinox.EclipseLauncherParser.read(EclipseLauncherParser.java:59)
>        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.loadWithoutFwPersistentData(EquinoxManipulatorImpl.java:358)
>        at org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxManipulatorImpl.load(EquinoxManipulatorImpl.java:331)
>        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.loadDelegate(LazyManipulator.java:50)
>        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.LazyManipulator.getConfigData(LazyManipulator.java:108)
>        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.installBundle(InstallBundleAction.java:76)
>        at org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction.execute(InstallBundleAction.java:29)
>        at org.eclipse.equinox.internal.p2.engine.ParameterizedProvisioningAction.execute(ParameterizedProvisioningAction.java:35)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Phase.mainPerform(Phase.java:129)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:72)
>        at org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:44)
>        at org.eclipse.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:54)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningUtil.performProvisioningPlan(ProvisioningUtil.java:389)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProfileModificationOperation.doExecute(ProfileModificationOperation.java:61)
>        at org.eclipse.equinox.internal.provisional.p2.ui.operations.ProvisioningOperation.execute(ProvisioningOperation.java:37)
>        at org.eclipse.equinox.internal.provisional.p2.ui.ProvisioningOperationRunner$1.run(ProvisioningOperationRunner.java:94)
>        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
>
> --
> thanks,
> Anil Philip
>
> ------------------------------------------------------
> http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2633666
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
------------------------------------------------------
http://subclipse.tigris.org/ds/viewMessage.do?dsForumId=1047&dsMessageId=2633668
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subclipse.tigris.org].
Received on 2010-07-15 20:09:01 CEST

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.