Solace Community is getting a facelift!

On March 3rd we will be starting the process of migrating Solace Community to a new platform. As a result, Solace Community will go in to a temporary read-only state. You will still be able to come onto Solace Community and search through posts to find answers, but you won't be able to ask questions, post comments, or react in any way.

We hope to have the migration complete by Wednesday March 5th (or sooner), so please keep an eye out!

SubscriberMessageReader:read Exception

aaaaaaaa
aaaaaaaa Unconfirmed, Member Posts: 1

Hi, I've been trying to setup Solace in Java using solace-java-spring-boot-starter. Was able to publish and subscribe to and from a remote server however, IOException is being thrown a lot of times and it won't stop. I'm not really sure how to trace the issue. Has anyone encountered the same issue?

SubscriberMessageReader:read Exception
java.io.IOException: Operation timed out
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[na:1.8.0_221]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[na:1.8.0_221]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[na:1.8.0_221]
at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[na:1.8.0_221]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[na:1.8.0_221]
at com.solacesystems.jcsmp.protocol.nio.impl.AbstractSMFReadHandler.drainSocketData(AbstractSMFReadHandler.java:43) ~[sol-jcsmp-10.6.3.jar:na]

Tagged:

Best Answer

Answers

  • Aaron
    Aaron Member, Administrator, Moderator, Employee Posts: 668 admin

    Some kind of timeout, eh? Is this when it's waiting, trying to retrieve a message when there is none published?

    Is it possible to turn up the Solace API logging to DEBUG, usually via a log4j configuration file, or something similar?

This Month's Leaders

This Week's Leaders