|
[
Permlink
| « Hide
]
David Geleyn added a comment - 16/Feb/05 05:54 PM
Client source code
David Geleyn made changes - 16/Feb/05 05:54 PM
When testing this issue, sometimes following stacktrace occurs in server:
java.nio.channels.ClosedChannelException at sun.nio.ch.SocketChannelImpl.ensureReadOpen(SocketChannelImpl.java:112) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:139) at org.apache.apseda.input.TCPInputManager.processInput(TCPInputManager.java:393) at org.apache.apseda.input.TCPInputManager.run(TCPInputManager.java:186) at java.lang.Thread.run(Thread.java:534) I'm not capable of reproducing this at a regular basis...
Alex Karasulu made changes - 17/Feb/05 12:25 AM
I retested this issue with my snapshot of the 0.9 release, which I'm using now. There are no errors at client side. At server side I get the following stacktraces multiple times, but I'm not sure this is a Apache DS issue:
java.io.IOException: An existing connection was forcibly closed by the remote host at sun.nio.ch.SocketDispatcher.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:25) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233) at sun.nio.ch.IOUtil.read(IOUtil.java:200) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207) at org.apache.mina.io.socket.SocketIoProcessor.read(SocketIoProcessor.java:242) at org.apache.mina.io.socket.SocketIoProcessor.processSessions(SocketIoProcessor.java:216) at org.apache.mina.io.socket.SocketIoProcessor.access$300(SocketIoProcessor.java:41) at org.apache.mina.io.socket.SocketIoProcessor$Worker.run(SocketIoProcessor.java:496) This may be due to a previous limitation on the number of socket connections. Let's make sure this goes away in 0.9.
Alex Karasulu made changes - 24/Mar/05 09:55 AM
Alex Karasulu made changes - 25/Mar/05 06:44 AM
Yep just ran your tests and it does look like some of the socket changes made to MINA has resolved this issue. I'll take it off as fixed but please confirm.
Alex Karasulu made changes - 25/Mar/05 07:02 AM
Alex Karasulu made changes - 10/Feb/06 12:34 PM
Alex,
I have the stacktrace in my project (not related to ApacheDS in any way) exactly similar to the one you have on server - actually found this bug searching the net for the stacktrace. It looks like this is sun's bug. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4729342 Could you please comment, did you upgrade your JDK when when you where testing the resolution? Closing all issues created in 2005 and before which are marked resolved
Emmanuel Lecharny made changes - 21/Apr/07 11:06 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||