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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content