Im using wildfly (wildfly-10.0.0.Final) as application server, when i deployed abt 30 wars file. each war send rest api to communicate with others. sometime i got the error as below:
[org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) I/O exception (java.net.SocketException) caught when connecting to {}->http://localhost:8080: Too many open files [org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) Retrying connect to {}->http://localhost:8080 [org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) I/O exception (java.net.SocketException) caught when connecting to {}->http://localhost:8080: Too many open files [org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) Retrying connect to {}->http://localhost:8080 [org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) I/O exception (java.net.SocketException) caught when connecting to {}->http://localhost:8080: Too many open files [org.apache.http.impl.client.DefaultHttpClient] (EJB default - 2) Retrying connect to {}->http://localhost:8080 Exception occurred while getting the tenant specific token : java.lang.Exception: RESTEASY004655: Unable to invoke request
I already increase 'open files' configuration like this guide
But can not resolve the issue. i really grateful if any suggestion for that?
Java, wildfly