Uploaded image for project: 'Hawkular'
  1. Hawkular
  2. HAWKULAR-683

Cannot start the nest without Internet connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 1.0.0.Alpha6
    • None
    • Bus
    • None

    Description

      The Nest does not start correctly if it has no Internet connection.

      I was testing the Metrics bus integration. I do this in the Metrics repo with the Wildfly Maven plugin:

      <plugin>
       <groupId>org.wildfly.plugins</groupId>
       <artifactId>wildfly-maven-plugin</artifactId>
       <configuration>
        <groupId>org.hawkular.nest</groupId>
        <artifactId>hawkular-nest-distro</artifactId>
        <version>${version.org.hawkular.bus}</version>
        <classifier>distribution</classifier>
       </configuration>
      </plugin>
      

      And then mvn wildfly:run

      It worked nicely until the Spring website went down. In particular, this page: http://www.springframework.org/schema/beans/spring-beans-2.0.xsd.

      When I restarted my server after a code change, ActiveMQ could not initialize. Attached is the relevant portion of the Wildfly logs.

      Then of course my application couldn't start because @Resource dependencies were missing: javax.jms.JMSException: IJ000453: Unable to get managed connection for java:/HawkularBusConnectionFactory.

      After a while, the Spring website was back up, and my server started normally again.

      Attachments

        Activity

          People

            jmazzitelli John Mazzitelli
            rhn-engineering-tsegismo Thomas Segismont
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: