« Return to Thread: Problem installing the SQE plugin in netbeans 6.1

Re: Problem installing the SQE plugin in netbeans 6.1

by Karthikeyan Rajeswaran :: Rate this Message:

Reply to Author | View in Thread

I am not sure what the issue could be ; it seems like plugin manager is having trouble accessing https site (which seems to point to some issue with the proxy setup) though it isn't clear from the stacktrace what the issue could be. Also, I think SunOneBasicX509TrustManager class is part of Sun Java System Application Server and it is puzzling why it would be anywhere in the classpath when plugin manager is being invoked.

From http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=64&t=001123
    ...The solution will depend on tracking down the real issue. The proxy may be missing a certificate from its trust certificate store or the site you are connecting to may not have been issued by a trusted source.
    The handshake error indicates that one of the parties is trying to check the other's certificate and isn't finding that certificate chained to a certificate that is in its own list of trusted certificates...
    ...When we had a problem like this it was because our company had started to issue its own certificates and that corporate trusted certificate was not in the JDK/JRE installation. Our solution was to import the trusted CA cert into the jre's trusted cert store jdk1.x.x_x\jre\lib\security\cacerts using keytool...

Is it at all possible that the cacerts in the jdk1.6_06 install has been updated and/or modified? If you have another jdk installed, you can try running the ide with that jdk (http://wiki.netbeans.org/FaqJdkHome) and run the plugin manager (just for the update).

There is of course a very painful workaround: manually download all the nbms in https://sqe.dev.java.net/updatecenters/sqe/updates.xml (https://sqe.dev.java.net/updatecenters/sqe/org-apache-commons-collections.nbm etc) , of which there are i think 46 nbms, and use 'Downloaded' tab in plugin manager.

regards,
karthik




Gonzalo Ferreyra wrote:
Hello Karthick, I'm using Sun JDK  1.6_06

Gonzalo

----------------------------------------
Date: Tue, 8 Jul 2008 00:05:08 -0700
From: Karthikeyan.Rajeswaran@...
To: nbusers@...
Subject: Re: [nbusers] Problem installing the SQE plugin in netbeans 6.1

Which jdk are you using?

regards,
karthik

Gonzalo Ferreyra wrote:
Hello all, I'm having a weird problem updating netbeans. At my work place, I got Netbeans 6.1 installed over Debian Linux, and when I try to update or install some nbm plugins, I have the same error message that the reported in the [Problem updating] thread. But i have no firewall, just the net proxy, which is not forbidding the https connection (https://sqe.dev.java.net/updatecenters/sqe/org-jfree-data.nbm) . Reading the messages.log, I've found that I'm getting this exception:
 
INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: java.security.cert.CertificateException: The certificate chain from the server is not trusted
java.security.cert.CertificateException: The certificate chain from the server is not trusted
	at com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkCertificate(SunOneBasicX509TrustManager.java:264)
	at com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkServerTrusted(SunOneBasicX509TrustManager.java:141)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:967)
Caused: javax.net.ssl.SSLHandshakeException
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
	at java.net.URL.openStream(URL.java:1009)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.copy(InstallSupportImpl.java:744)
[catch] at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:666)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:604)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:100)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
INFO [org.netbeans.modules.autoupdate.ui.wizards.InstallPanel]: https://sqe.dev.java.net/updatecenters/sqe/org-jfree-data.nbm
org.netbeans.api.autoupdate.OperationException: https://sqe.dev.java.net/updatecenters/sqe/org-jfree-data.nbm
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:669)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:604)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:100)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
[catch] at java.lang.Thread.run(Thread.java:619)
INFO [org.netbeans.modules.autoupdate.services.InstallSupportImpl]: java.security.cert.CertificateException: The certificate chain from the server is not trusted
java.security.cert.CertificateException: The certificate chain from the server is not trusted
	at com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkCertificate(SunOneBasicX509TrustManager.java:264)
	at com.sun.enterprise.admin.jmx.remote.https.SunOneBasicX509TrustManager.checkServerTrusted(SunOneBasicX509TrustManager.java:141)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:967)
Caused: javax.net.ssl.SSLHandshakeException
	at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1591)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:187)
	at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:181)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:975)
	at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:123)
	at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:516)
	at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:454)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:884)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1096)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123)
	at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1107)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:405)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:166)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:977)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:234)
	at java.net.URL.openStream(URL.java:1009)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.copy(InstallSupportImpl.java:744)
[catch] at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:666)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doDownload(InstallSupportImpl.java:604)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl.access$400(InstallSupportImpl.java:100)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:170)
	at org.netbeans.modules.autoupdate.services.InstallSupportImpl$1.call(InstallSupportImpl.java:144)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
	at java.lang.Thread.run(Thread.java:619)
 
 
And else, I can't update the IDE at all, all the time the update tab is disabled.
 
If I try to do a wget for any nbm url, ? can do ti without problems.....The IDE proxy settings are correct.
 
I don't know what else can I do, so I will be so gratuful for receiving any suggest
 
Thanks a lot
 
Gonzalo Ferreyra
_________________________________________________________________
¿Aburrido? Ingresá ya y divertite como nunca en MSN Juegos.
http://juegos.ar.msn.com/
  

_________________________________________________________________
Descargá GRATIS el poder del nuevo Internet Explorer 7.
http://optimized.msn.com/Default.aspx?mkt=es-ar

 « Return to Thread: Problem installing the SQE plugin in netbeans 6.1