on 12-05-2014 6:43 AM
Hi Experts,
I am trying to download the SAPUI5 development plugin from the update site "https://tools.hana.ondemand.com/kepler" however when I am trying to connect to the site via the option Help --> Install New Software, I am getting the following exception.
Unable to read repository at https://tools.hana.ondemand.com/kepler/content.xml.
Unable to read repository at https://tools.hana.ondemand.com/kepler/content.xml.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I have checked the proxy settings and everything is fine. I am able to browse in internal browser of eclipse, but I am not able to connect to the update site and download the plugins.
Can someone please through some light on this issue?
Thanks,
Mahendran B.
Last try:
Download the JDK 1.7 from here.( jdk-7u71-windows-i586.exe)
Java SE Development Kit 7 - Downloads | Oracle Technology Network | Oracle
Reset environmental variables:
e.g.
JAVA_HOME: C:\Program Files\Java\jdk1.7.0_67
PATH: C:\Program Files\Java\jdk1.7.0_67\bin;C:\WINDOWS\system32;
Reboot your machine and then try to install the required plugins.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
After doing/check what ever you have mentioned above, now I am getting the following error.
Unable to read repository at https://tools.hana.ondemand.com/kepler/content.xml.
java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Thanks,
Mahendran B.
Hi All,
The error was mainly due to the fact that the certificate for the site "https://tools.hana.ondemand.com/kepler" was not installed and recognized by the JDK installed in my machine.
I have gone through the link "Sapstartsrv SSL access - SAP Netweaver Application Server Java - SCN Wiki" to download the certificate from the site "https://tools.hana.ondemand.com/kepler" and installed in CACERT file in my JDK.
Once after installing the certificate in my JDK locatioin, I restarted the eclipse and was able to download the plugins.
Thanks everyone for your support.
Regards,
Mahendran B.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
I have did the option "Check for updates" but it didnt help. Also the update site for Kepler works fine but not the SAP UI5 update site.
I have given my eclipse.ini configuration below. Please let me know if it is correct or not.
___________________________________________________________________________
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.standard.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vm
C:\Program Files\Java\jdk1.6.0_45\bin
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Djava.net.preferIPv4Stack=true
-Dsun.net.client.defaultReadTimeout=30000
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
___________________________________________________________________________
Thanks,
Mahendran B.
Can you confirm if your machine and eclipse version share the same bit config? i.e. 32 bit/64 bit
I have installed eclipse kepler from here Eclipse IDE for Java EE Developers | Packages
For me eclipse.ini config is like below:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
Hi Jitendra,
I also downloaded from the same site and it is for windows 32 bit. My machine OS is also 32 bit.
Initially my ini file is also in the same format as you have mentioend above. i add ed some parameter like -vm,
-Djava.net.preferIPv4Stack=true
-Dsun.net.client.defaultReadTimeout=30000
since it was not with the ini file.
Note : Even if I use the default ini file without any custom changes, i am getting the same error while trying to download the plugin.
Anything needs to be checked agian? or anything needs to be corrected. This stops my work a lot.
Thanks,
Mahendran B.
check this FAQ document.
In comments section, One of the user has faced same issue for that Stephan Merker has replied as below.
Stephan Merker Oct 16, 2013 11:15 AM (in response to Faaiez Sallie)
The JDK on which Eclipse is running can't validate the certificate ofhttps://tools.hana.ondemand.com/
Please download a recent JDK 6 version from Oracle, install it and ensure that this JDK is used by Eclipse (e.g. by adding -vm parameter to eclipse.ini or on cmd line).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.