Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Can't install ADT in Eclipse

Former Member
0 Likes
4,036

Dear all,

Has anyone had similar problem?

I downloaded new Eclipse Mars version - i did this stuff many times.

I went to Install new software menu and inserted this link: SAP Development Tools for Eclipse - Mars Software Repository

However it doesn't work properly and returns something like:


Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Any ideas? I did this from the corporate network. Can it be connected with some firewall security settings?

Thanks!

Dear all,

Has anyone had similar problem?

I downloaded new Eclipse Mars version - i did this stuff many times.

I went to Install new software menu and inserted this link: SAP Development Tools for Eclipse - Mars Software Repository

However it doesn't work properly and returns something like:


Unable to read repository at https://tools.hana.ondemand.com/luna/content.xml.

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Any ideas? I did this from the corporate network. Can it be connected with some firewall security settings?

Thanks!

12 REPLIES 12
Read only

SimoneMilesi
Active Contributor
0 Likes
3,336

I'm using Luna and i did not face this issue.

but i see the link got "luna" (https://tools.hana.ondemand.com/luna/content.xml) in it. Did you try to replace with mars?

Read only

0 Likes
3,336

I tried both actually. The result is the same.

Read only

former_member183045
Contributor
0 Likes
3,336

sun.security.validator.ValidatorException is normally related to a not trusted site from your java environment.

Can you open  https://tools.hana.ondemand.com from your webbrowser?

(Depending on your system configuration opening once with the webbrowser and confirming the rising security message should enable you to open it through eclipse.

Give it a try, hope it helps.

Andreas

Read only

0 Likes
3,336

Sorry, the page you requested was not found (404)

Please check the URL in the browser address bar to make sure it was entered correctly.

Read only

0 Likes
3,336

this is what i have when open the link in the browser

Read only

0 Likes
3,336

Failed to load resource: the server responded with a status of 404 (Not Found)send @ sap-ui-core.js:71

https://tools.hana.ondemand.com/mars/content.xml Failed to load resource: the server responded with a status of 404 (Not Found)

This is what I have in the browser console.

Read only

0 Likes
3,336

I have the same error message with that link, including the /context.xml in the end.

But the url without content.xml, ie https://tools.hana.ondemand.com/mars/, is working fine in the browser, and also in eclipse.

Read only

0 Likes
3,336

I think the problem is connected with HTTPS request beacuse I don't have troubles with other HTTP repositories.

Read only

Former Member
0 Likes
3,336

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  at sun.security.ssl.Alerts.getSSLException(Unknown Source)

  at sun.security.ssl.SSLSocketImpl.fatal(Unknown Source)

  at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

  at sun.security.ssl.Handshaker.fatalSE(Unknown Source)

  at sun.security.ssl.ClientHandshaker.serverCertificate(Unknown Source)

  at sun.security.ssl.ClientHandshaker.processMessage(Unknown Source)

  at sun.security.ssl.Handshaker.processLoop(Unknown Source)

  at sun.security.ssl.Handshaker.process_record(Unknown Source)

  at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)

  at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

  at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

  at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

  at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:436)

  at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)

  at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)

  at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:643)

  at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)

  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)

  at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)

  at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:259)

  at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)

  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  at sun.security.validator.PKIXValidator.doBuild(Unknown Source)

  at sun.security.validator.PKIXValidator.engineValidate(Unknown Source)

  at sun.security.validator.Validator.validate(Unknown Source)

  at sun.security.ssl.X509TrustManagerImpl.validate(Unknown Source)

  at sun.security.ssl.X509TrustManagerImpl.checkTrusted(Unknown Source)

  at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

  ... 18 more

Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

  at sun.security.provider.certpath.SunCertPathBuilder.build(Unknown Source)

  at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(Unknown Source)

  at java.security.cert.CertPathBuilder.build(Unknown Source)

  ... 24 more

Read only

0 Likes
3,336

exception stack

Read only

0 Likes
3,336

Hard to say whats the problem.

I had a similar error while working with SOAP-UI. The solution was to use keygen tool to import the certification manually to the cacerts repository of the JRE: See for example on:

http://stackoverflow.com/questions/684081/importing-ssl-certificate-into-eclipse

When I installed it some time ago I had no issues with this area. So a strange error, maybe a modification on the java-Version or parameters helps.

Regards, Andreas

Read only

Wandersonwos
Participant
0 Likes
2,582

Here are two steps to solve that problem:
Make sure that eclipse.ini already has the following two options after-vmargs:

-Djavax.net.ssl.trustStore=NONE
-Djavax.net.ssl.trustStoreType=Windows-ROOT

The second step is to import the certificate from the website https://tools.eu1.hana.ondemand.com/ into your Windows.