[
https://jira.jboss.org/jira/browse/JBWEB-124?page=com.atlassian.jira.plug...
]
Mladen Turk commented on JBWEB-124:
-----------------------------------
The call to
Pollset.poll(X, X, X, true)
means that the sockets will be removed from the pollset (by last param==true)
Later you call removeFromPoller for the very same sockets (depending on the comet flag and
returned value)
Since the native socket descriptor (long) is actually pointer to the memory it cannot be
used as
socket identifier, cause the same memory location can be reused for different sockets.
Is it working if you just comment the call to removeFromPoller before doing
Socket.destory?
BTW, what are the versions of APR and Tomcat Native. I don't have F9 (only RHEL5)
Poller instability
------------------
Key: JBWEB-124
URL:
https://jira.jboss.org/jira/browse/JBWEB-124
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: JBossWeb-2.1.1.GA
Reporter: Remy Maucherat
Assignee: Remy Maucherat
Priority: Critical
Attachments: AprEndpoint.java, Socket.java
Socket errors seems to create instability in Pollers. In particular this seems related to
Poll.APR_POLLHUP errors.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira