Sorry, when adding this annotation, the jmx objects didn't be exposed, and
another exception was raised.
The thread blocked at the cyclic barrier has timed out
java.util.concurrent.TimeoutException
at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:399)
at
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:191)
at
org.restlet.engine.io.NbChannelInputStream.onFill(NbChannelInputStream.java:230)
at org.restlet.engine.io.Buffer.process(Buffer.java:601)
at
org.restlet.engine.io.NbChannelInputStream.read(NbChannelInputStream.java:307)
at java.io.InputStream.read(InputStream.java:82)
at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:239)
at
org.restlet.representation.Representation.exhaust(Representation.java:247)
at
org.restlet.engine.connector.ServerOutboundWay.onMessageCompleted(ServerOutboundWay.java:174)
at
org.restlet.engine.connector.HttpServerOutboundWay.onMessageCompleted(HttpServerOutboundWay.java:118)
at
org.restlet.engine.connector.OutboundWay.processIoBuffer(OutboundWay.java:468)
at org.restlet.engine.connector.Way.onSelected(Way.java:456)
at
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325)
at
org.restlet.engine.connector.Connection.onSelected(Connection.java:617)
at
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325)
at
org.restlet.engine.connector.ConnectionController.onSelected(ConnectionController.java:219)
at
org.restlet.engine.connector.ServerConnectionController.onSelected(ServerConnectionController.java:99)
at
org.restlet.engine.connector.ConnectionController.selectKeys(ConnectionController.java:308)
at
org.restlet.engine.connector.ConnectionController.doRun(ConnectionController.java:171)
at org.restlet.engine.connector.Controller.run(Controller.java:159)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Unable to automatically exhaust the request entity.
java.io.IOException: The thread blocked at the cyclic barrier has timed out.
at
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:197)
at
org.restlet.engine.io.NbChannelInputStream.onFill(NbChannelInputStream.java:230)
at org.restlet.engine.io.Buffer.process(Buffer.java:601)
at
org.restlet.engine.io.NbChannelInputStream.read(NbChannelInputStream.java:307)
at java.io.InputStream.read(InputStream.java:82)
at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:239)
at
org.restlet.representation.Representation.exhaust(Representation.java:247)
at
org.restlet.engine.connector.ServerOutboundWay.onMessageCompleted(ServerOutboundWay.java:174)
at
org.restlet.engine.connector.HttpServerOutboundWay.onMessageCompleted(HttpServerOutboundWay.java:118)
at
org.restlet.engine.connector.OutboundWay.processIoBuffer(OutboundWay.java:468)
at org.restlet.engine.connector.Way.onSelected(Way.java:456)
at
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325)
at
org.restlet.engine.connector.Connection.onSelected(Connection.java:617)
at
org.restlet.util.SelectionRegistration.onSelected(SelectionRegistration.java:325)
at
org.restlet.engine.connector.ConnectionController.onSelected(ConnectionController.java:219)
at
org.restlet.engine.connector.ServerConnectionController.onSelected(ServerConnectionController.java:99)
at
org.restlet.engine.connector.ConnectionController.selectKeys(ConnectionController.java:308)
at
org.restlet.engine.connector.ConnectionController.doRun(ConnectionController.java:171)
at org.restlet.engine.connector.Controller.run(Controller.java:159)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222)
at java.util.concurrent.CyclicBarrier.await(CyclicBarrier.java:399)
at
org.restlet.util.SelectionRegistration.block(SelectionRegistration.java:191)
... 24 more
Thanks.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-build-camel-jmx-with-maven-tp5743222p5743312.html
Sent from the Camel - Users mailing list archive at Nabble.com.