Socket on server side remains “ESTABLISHED” even connected EJB client is not online .
Issue
- One application uses the
JBoss EJB-Clientto call stateless session beans on a remote JBoss application server . An established TCP Socket can be seen on the remoting port of the Jboss server to each connected client workstation. If client terminates abnormal or if there is any network issue then also the socket on server side remainsESTABLISHEDwhich causes errors likeSocketException: too many open files. Is there any work around for closing the socket if connected EJB client is not online . - How to close socket on server side if connected EJB client is not online ?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
