Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

How to use hawtio with Camel web app?

$
0
0
I would like to use hawtio's Camel route diagram view for inspecting
and displaying routes.

http://hawt.io/getstarted/index.html

Since the app will be deployed in a private Intranet, I tried their
"offline" WAR:

https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-default-offline/1.2-M1/hawtio-default-offline-1.2-M1.war

This didn't work - the first problem was an incompletely declared
WEB-INF/web.xml root element, which I fixed,
this allowed the web app to deploy, but I still see this error in the
server log:

13:02:21,940 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/hawtio]]
Failed to startup blueprint container.
org.osgi.service.blueprint.container.ComponentDefinitionException:
Unable to intialize bean aetherFacade:
org.osgi.service.blueprint.container.ComponentDefinitionException:
Unable to intialize bean aetherFacade

Although I can navigate and inspect MBeans through the JMX view.

If I download the full WAR, which includes a sample Camel context:

https://oss.sonatype.org/content/repositories/public/io/hawt/sample/1.2-M1/sample-1.2-M1.war

This also works, although with a large volume of assorted stack traces
in the log.

I don't need all the extra stuff that the full sample WAR has, e.g.
ActiveMQ because JBoss6 uses
HornetQ, etc. I just want to know how to combine my Camel web app
with the most minimal hawtio
web app to be able to view/inspect context(s) and routes in diagram view?

I searched the list archive and only found a thread concerning the
initial announcement:

http://camel.465427.n5.nabble.com/ANN-hawtio-a-new-lightweight-HTML5-console-for-Apache-Camel-ActiveMQ-JMX-OSGi-amp-Fuse-Fabric-td5726244.html#a5726248

Does anyone have an idea?

Thanks,

Chris

Viewing all articles
Browse latest Browse all 5648

Trending Articles