<tl;dr>
1. Nest/Kettle builds now use XSLT to tweak the standalone.sh, rather than us having to
maintain a full version of it in git.
2. Kettle is now in master branch - just "mvn install" in hawkular repo and
you'll get it.
3. Still getting a metrics error - see below for stack trace.
</tl;dr>
I refactored the way the nest distro and the kettle distro configures the wildfly server.
For those that are unaware, the "nest" is a wildfly build that includes the bus
infrastructure and the nest deployer - its a "container" that we can deploy
things into (like alerts, or inventory, or even agent components in the future - its meant
to be clusterable in the future with the bus being the communications conduit between
nests).
The "kettle" is that nest distribution with all of our hawkular integration
components deployed inside - inventory, alerts, metrics, embedded C*, the UI console,
etc.
It now uses XSLT (via the xml maven plugin) to tweak the out of box wildfly
standalone.xml. So we no longer have our own full standalone.xml in git - we take the one
that comes with wildfly and tweak it for our needs via XSLT.
Also, the kettle is now in the hawkular repo master branch. Everything should be in the
nexus snapshot repo, so if you just git clone hawkular and "mvn install",
you'll get the kettle distro in hawkular/kettle/target (its a zip file - just unzip it
and run standalone.sh like any other wildfly).
There is still a metrics error when you run the kettle - nothing that I did, I don't
think. Here's the exception - does someone know what this is?
20:18:16,273 WARN [org.jboss.weld.deployer] (MSC service thread 1-5) JBAS016006: Could
not load portable extension class org.hawkular.metrics.restServlet.EagerExtension:
java.lang.ClassNotFoundException: org.hawkular.metrics.restServlet.EagerExtension from
[Module
"deployment.hawkular-metrics-api-jaxrs-0.3.0-20150220.180642-17.war:main" from
Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
[jboss-modules.jar:1.3.3.Final]
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
[jboss-modules.jar:1.3.3.Final]
at
org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadExtension(WeldPortableExtensionProcessor.java:131)
[wildfly-weld-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.loadAttachments(WeldPortableExtensionProcessor.java:117)
[wildfly-weld-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.weld.deployment.processors.WeldPortableExtensionProcessor.deploy(WeldPortableExtensionProcessor.java:81)
[wildfly-weld-8.2.0.Final.jar:8.2.0.Final]
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[rt.jar:1.8.0_31]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[rt.jar:1.8.0_31]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_31]