JBoss hot deploying EJB3 deployments causing 'java.net.SocketException: Too many open files'

Solution Verified - Updated -

Issue

  • We deploy many times during the day using an automated build tool. At least 4 times a day per application with a total of 2 applications, so we're looking at minimum of 8 hot deployments a day.
  • Seeing the following error:
    java.net.SocketException: Too many open files
    

Environment

  • JBoss Enterprise Application Platform (EAP)

  • EJB3 deployments

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.