NIO Error occurs during debugging only. [message #273339] |
Mon, 04 October 2004 12:25 |
Eclipse User |
|
|
|
Originally posted by: joseph.y.shih.citigroup.com
Hi, I'm creating a sort of HTTP proxy server using NIO (developing with
Eclipse 3.0 on a Windows 2000 machine and JDK 1.5). I am getting an
exception while trying to accept a new connection to a ServerSocketChannel
during debugging mode that reads:
Exception in thread "NioRecorder Thread"
qa.commons.exception.CheckedExceptionWrapper: java.io.IOException: An
operation was attempted on something that is not a socket
at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.accept(Unknown Source)
at
qa.recorder.modules.niorecorder.NioRecorder.acceptRequest(Ni oRecorder.java:261)
at qa.recorder.modules.niorecorder.NioRecorder.run(NioRecorder. java:214)
at java.lang.Thread.run(Unknown Source)
Weird thing is that it only happens while debugging (even without any
breakpoints set) and it generally happens after one or two connections
have already been established. I've looked around and found some
information about the error being related to corrupt TCP/IP registry
settings in Windows but I cleaned and reinstalled the TCP/IP settings and
found it to have no affects.
If anyone has seen similiar issues or has some ideas on how to go about
narrowing down this problem, it would be greatly appreciated. Thanks in
advance.
Joey
|
|
|
Powered by
FUDForum. Page generated in 0.04858 seconds