Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Glassfish ORB does not close its server socket #29

Open
rwaterma opened this issue Oct 22, 2018 · 0 comments
Open

Glassfish ORB does not close its server socket #29

rwaterma opened this issue Oct 22, 2018 · 0 comments

Comments

@rwaterma
Copy link

In our application we observe that ORBImpl#destroy does not close the IIOP server socket.

To me it looks like in SelectorImpl there should be a listener thread to close the socket. However, the SelectorImpl#registerForEvent calls end up in the deferredRegistrations case, where no listener thread is created. The deferredRegistrations case is determined by the useSelectThreadToWait flag, which must definitely be true, because otherwise the ORB blocks completely. S. #26 for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant