Vertx -Hz - time out waiting reply

238 views
Skip to first unread message

Anil

unread,
Jan 18, 2016, 8:36:38 AM1/18/16
to vert.x
HI,

I have created Hazelcast Cluster with two nodes with multicast set to true. My API invoking jdbc.  

I can see two instance 


Members [2] {
        Member [X]:5702 this
        Member [Y]:5701
}

Following is the exception in logs. and it is not frequent. 


Jan 18, 2016 5:26:27 AM io.vertx.core.eventbus.impl.EventBusImpl
WARNING: Message reply handler timed out as no reply was received - it will be removed
Jan 18, 2016 5:26:27 AM io.vertx.core.impl.ContextImpl
SEVERE: Unhandled exception
rx.exceptions.OnErrorFailedException: Error occurred when trying to propagate error to Observer.onError
        at rx.observers.SafeSubscriber._onError(SafeSubscriber.java:201)
        at rx.observers.SafeSubscriber.onError(SafeSubscriber.java:111)
        at io.vertx.rx.java.SingleOnSubscribeAdapter.fireError(SingleOnSubscribeAdapter.java:87)
        at io.vertx.rx.java.ObservableFuture$1.dispatch(ObservableFuture.java:61)
        at io.vertx.rx.java.ObservableFuture$HandlerAdapter.handle(ObservableFuture.java:32)
        at io.vertx.rx.java.ObservableFuture$HandlerAdapter.handle(ObservableFuture.java:12)
        at io.vertx.rxjava.core.eventbus.EventBus$1.handle(EventBus.java:92)
        at io.vertx.rxjava.core.eventbus.EventBus$1.handle(EventBus.java:84)
        at io.vertx.core.eventbus.impl.EventBusImpl.lambda$sendOrPub$170(EventBusImpl.java:502)
        at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:749)
        at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:720)
        at io.vertx.core.impl.ContextImpl.lambda$wrapTask$16(ContextImpl.java:335)
        at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:358)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
        at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112)
        at java.lang.Thread.run(Thread.java:745)
Caused by: rx.exceptions.CompositeException: 2 exceptions occurred.
        ... 16 more
Caused by: rx.exceptions.CompositeException$CompositeExceptionCausalChain: Chain of Causes for CompositeException In Order Received =>
        at rx.exceptions.CompositeException.getCause(CompositeException.java:96)
        at java.lang.Throwable.printEnclosedStackTrace(Throwable.java:707)
        at java.lang.Throwable.printStackTrace(Throwable.java:667)
        at java.lang.Throwable.printStackTrace(Throwable.java:721)
        at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:157)
        at java.util.logging.StreamHandler.publish(StreamHandler.java:211)
        at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:116)
        at java.util.logging.Logger.log(Logger.java:738)
        at io.vertx.core.logging.JULLogDelegate.log(JULLogDelegate.java:162)
        at io.vertx.core.logging.JULLogDelegate.log(JULLogDelegate.java:166)
        at io.vertx.core.logging.JULLogDelegate.error(JULLogDelegate.java:66)
        at io.vertx.core.logging.Logger.error(Logger.java:70)
        at io.vertx.core.impl.ContextImpl.lambda$wrapTask$16(ContextImpl.java:338)
        ... 4 more
Caused by: (TIMEOUT,-1) Timed out waiting for reply
        at io.vertx.core.eventbus.impl.EventBusImpl.lambda$sendOrPub$170(EventBusImpl.java:502)
        at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:749)
        at io.vertx.core.impl.VertxImpl$InternalTimerHandler.handle(VertxImpl.java:720)
        at io.vertx.core.impl.ContextImpl.lambda$wrapTask$16(ContextImpl.java:335)
        ... 4 more

Jdbc call is not taking much time to return time out exception

Can some one look into this issue ?  


Regards,
Anil

Reply all
Reply to author
Forward
0 new messages