Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Jolokia-mule agent 1.2.3 Doesn't work for the new Mule 3.6.0 #182
The mule agent works great with Mule EE 3.5.2 and CE 3.5.0. But they recently updated to 3.6.0 CE and it gave a screaming error: ClassNotFoundException: org.eclipse.jetty.server.nio.SelectChannelConnector
2015-01-23 15:56:42,256 ERROR Unable to write to stream /home/khazrak/Programming/Servers/mule-standalone-3.6.0/logs/mule-app-poc2.log for appender defaultFileAppender
ERROR 2015-01-23 15:56:42,276 [Mule.app.deployer.monitor.1.thread.1] org.mule.module.launcher.DefaultArchiveDeployer:
The reason of the error is there was an upgrade of embedded Jetty server in Mule - now it is 9.x and there are incompatibilities in its API.
I also needed the jolokia agent for Mule 3.6, so I did a fork and added a separate 'mule-jetty9' module.
Just mvn install in the jolokia/agent/mule-jetty9/ and you will get an agent jar for Mule 3.6.