1 Reply Latest reply on Feb 12, 2015 8:31 AM by maxandersen

    Failed to discover all connectors.

    tcalgarian01

      I am trying to install “SOA and Data Services Tooling” and “Business Rules Tooling” on Getting error at JBoss Central but whenever I try to put any text in the Find bar and click refresh I get the following error:

       

       

      "Failed to discover all connectors.

      See 'Details' for more information"

       

      Failed to discover all connectors.

      RemoteBundleDiscoveryStrategy failed with an error

      Unable to read repository at https://devstudio.jboss.com/updates/5.0/devstudio-directory.xml.

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

       

      When clicked OK got the following message:

       

      Connector discovery completed without finding any connectors. Please check your Internet connection and try again.

       

      Error Log Message;

      Unable to read repository at https://devstudio.jboss.com/updates/5.0/devstudio-directory.xml.

      Exception Stack Trace:

      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 com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(Unknown Source)

        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)

        at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Unknown Source)

        at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)

        at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)

        at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)

        at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)

        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source)

        at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)

        at java.io.BufferedOutputStream.flushBuffer(Unknown Source)

        at java.io.BufferedOutputStream.flush(Unknown Source)

        at org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)

        at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)

        at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)

        at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)

        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer$GzipGetMethod.execute(HttpClientRetrieveFileTransfer.java:117)

        at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)

        at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)

        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)

        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)

        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1142)

        at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:710)

        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:889)

        at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:576)

        at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)

        at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:349)

        at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.java:213)

        at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:153)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at org.eclipse.mylyn.internal.discovery.core.util.P2TransportService.stream(P2TransportService.java:93)

        at org.eclipse.mylyn.internal.discovery.core.util.WebUtil.stream(WebUtil.java:161)

        at org.eclipse.mylyn.internal.discovery.core.util.WebUtil.readResource(WebUtil.java:95)

        at org.eclipse.mylyn.internal.discovery.core.model.RemoteBundleDiscoveryStrategy.performDiscovery(RemoteBundleDiscoveryStrategy.java:107)

        at org.eclipse.mylyn.internal.discovery.core.model.ConnectorDiscovery.performDiscovery(ConnectorDiscovery.java:114)

        at org.jboss.tools.central.editors.xpl.DiscoveryViewer$18.run(DiscoveryViewer.java:1509)

        at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

      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 com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.validate(Unknown Source)

        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

        at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(Unknown Source)

        ... 38 more

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

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

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

        ... 44 more

      error.JPG

        • 1. Re: Failed to discover all connectors.
          maxandersen

          I haven't seen that kind of error before in context of our connectors, but judging from the actual exception you are running an old version of Java which does not know how to communicate with HTTPS/SSL secured sites after the Heartbleed attack and SSL v3 deprecation/removals.

           

          Can you run this with an updated version of Java 7 ?

           

          btw. May I also suggest updating to a newer version of Developer Studio ? Developer Studio 8 has the same SOA and Business rules connectors available.

           

          p.s. you could also try installing from updatesites or zips listed on https://devstudio.jboss.com/updates/5.0/ if the above does not work