Hi,

 

In a Java application I'm using an interrupt to signal a long running thread
that it's time to quit.  This interrupt immediately affects MarkLogic calls
in the thread:



com.marklogic.xcc.exceptions.ServerConnectionException

[Session: user=Admin, cb=NetVisn-6.5-C1021 [ContentSource: user=Admin,
cb=NetVisn-6.5-C1021 [provider: address=neptune/192.168.1.91:8046,
pool=0/64]]]

[Client: XCC/5.0-4]

.

Caused by: java.nio.channels.ClosedByInterruptException

                at
java.nio.channels.spi.AbstractInterruptibleChannel.end(AbstractInterruptible
Channel.java:184)

                at
sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:511)

                at
java.nio.channels.SocketChannel.open(SocketChannel.java:146)

                at
com.marklogic.xcc.impl.SocketPoolProvider.obtainConnection(SocketPoolProvide
r.java:93)

 

Is it possible to turn off this feature?  Thanks,

 

Gary 

 

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to