-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
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.