Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-28829

Error All attempts to discover connectors have failed after installation of JBoss Tools

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.27.0.AM1
    • 4.26.0.Final
    • central, updatesite
    • None
    • ---

    Description

      I am seeing an error after JBT (4.26.0.Final [1]) installation from update site for stable release into Eclipse 2022-12-R.

      Update: I cannot use the central at all - opening central and Software/update tab throws this error, also no applicaiton is available. Seems like discovery connectors are unreachable.

      eclipse.buildId=4.26.0.20221201-1200
      java.version=17.0.5
      java.vendor=Red Hat, Inc.
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product org.eclipse.epp.package.jee.product
      Command-line arguments:  -data file:/home/odockal/eclipse-workspace-4260Final-released/ -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product
      
      org.eclipse.equinox.p2.discovery
      Error
      Thu Dec 22 10:15:14 CET 2022
      Failed to get connectors from ExpressionBasedRemoteBundleDiscoveryStrategy
      
      org.eclipse.core.runtime.CoreException: IO failure: cannot load discovery directory
      	at org.jboss.tools.discovery.core.internal.connectors.xpl.RemoteExternalBundleDiscoveryStrategy.loadRegistry(RemoteExternalBundleDiscoveryStrategy.java:114)
      	at org.jboss.tools.discovery.core.internal.connectors.xpl.ExternalBundleDiscoveryStrategy.performDiscovery(ExternalBundleDiscoveryStrategy.java:118)
      	at org.jboss.tools.discovery.core.internal.connectors.ChainedDiscoveryStrategy.performDiscovery(ChainedDiscoveryStrategy.java:69)
      	at org.eclipse.equinox.internal.p2.discovery.Catalog.performDiscovery(Catalog.java:88)
      	at org.jboss.tools.central.editors.xpl.DiscoveryViewer$18.run(DiscoveryViewer.java:1186)
      	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      Caused by: java.io.FileNotFoundException: https://download.jboss.org/jbosstools/photon/stable/updates/discovery.earlyaccess/4.26.0.Final/jbosstools-directory.xml
      	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryStatusHelper.checkFileNotFound(RepositoryStatusHelper.java:303)
      	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.checkException(FileInfoReader.java:221)
      	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getRemoteFiles(FileInfoReader.java:112)
      	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getRemoteFile(FileInfoReader.java:125)
      	at org.eclipse.equinox.internal.p2.transport.ecf.FileInfoReader.getLastModified(FileInfoReader.java:130)
      	at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.getLastModified(RepositoryTransport.java:244)
      	at org.eclipse.equinox.internal.p2.discovery.compatibility.util.CacheManager.createCache(CacheManager.java:106)
      	at org.eclipse.equinox.internal.p2.discovery.compatibility.util.TransportUtil.readResource(TransportUtil.java:105)
      	at org.jboss.tools.discovery.core.internal.connectors.xpl.RemoteExternalBundleDiscoveryStrategy.loadRegistry(RemoteExternalBundleDiscoveryStrategy.java:91)
      	... 5 more
      
      

      Attachments

        Activity

          People

            jmaury@redhat.com Jeff MAURY
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: