Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5111

JBoss-A-MQ 6.2.1 take long time to start for the first time.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • jboss-fuse-6.3
    • jboss-fuse-6.2.1
    • ActiveMQ
    • None
    • % %
    • 6.3 Sprint 3 (Feb 29 - Mar 25)

      I unzip the zip : jboss-a-mq-6.2.1.redhat-084.zip on machine without internet access.
      Whitout any modification on the configuration and when i start AMQ whith ./bin/amq command
      the console stop at 64% and finish some minutes later.

      In the log we get the following exception:

      2016-03-08 15:02:10,859 | WARN  | pool-3-thread-1  | AetherBasedResolver              | mvn.internal.AetherBasedResolver  583 | 5 - org.ops4j.pax.logging.pax-logging-api - 1.8.4 | Error resolving artifactorg.apache.geronimo.specs:geronimo-osgi-registry:jar:1.1:Could not find artifact org.apache.geronimo.specs:geronimo-osgi-registry:jar:1.1
      shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.geronimo.specs:geronimo-osgi-registry:jar:1.1
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:573)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:528)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:506)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at org.ops4j.pax.url.mvn.internal.AetherBasedResolver.resolve(AetherBasedResolver.java:481)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at org.ops4j.pax.url.mvn.internal.Connection.getInputStream(Connection.java:123)[3:org.ops4j.pax.url.mvn:2.4.2]
      	at java.net.URL.openStream(URL.java:1038)[:1.8.0_65]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.installBundleIfNeeded(FeaturesServiceImpl.java:960)[9:org.apache.karaf.features.core:2.4.0.redhat-621084]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeature(FeaturesServiceImpl.java:703)[9:org.apache.karaf.features.core:2.4.0.redhat-621084]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl.doInstallFeatures(FeaturesServiceImpl.java:462)[9:org.apache.karaf.features.core:2.4.0.redhat-621084]
      	at org.apache.karaf.features.internal.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:432)[9:org.apache.karaf.features.core:2.4.0.redhat-621084]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_65]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_65]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_65]
      	at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
      Caused by: shaded.org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.geronimo.specs:geronimo-osgi-registry:jar:1.1
      	at shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)[3:org.ops4j.pax.url.mvn:2.4.2]
      	... 17 more
      

      The system bundle geronimo-osgi-registry:jar:1.1 don't exist in system folder, contrary to JBoss Fuse 6.2.1.

      NB: You can reproduce the same behaviour on a machine that is offline and check that the bundle (geronimo-osgi-registry:jar:1.1) doesn't reside in your local Maven repo.

            janstey@redhat.com Jonathan Anstey
            rhn-support-aboucham Abel Bouchama
            Tomas Plevko Tomas Plevko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: