<div dir="ltr">What version of the JDK are you running Wildfly on?  A quick Googling of some of the issues in your stack trace point to this thread (<a href="https://github.com/notnoop/java-apns/issues/116">https://github.com/notnoop/java-apns/issues/116</a>) which claims a similar issue is a JVM bug.<div><br></div><div>It sounds like you might be hitting a (similar) race condition.</div><div><br></div><div>A few things that come to mind to check:</div><div><br></div><div>Do you notice if the server is using a lot of CPU or memory?  </div><div>Are you possibly out of disk space?</div><div>Do your system logs have anything interesting which might shed some light on the issue?</div><div>Is selinux blocking something?</div><div><br></div><div>Sorry you are having troubles,</div><div><br></div><div>Summers</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 1, 2016 at 10:57 AM, Yoann Archambault <span dir="ltr">&lt;<a href="mailto:ya@sherpa-solutions.com" target="_blank">ya@sherpa-solutions.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>Our deployment of Aerogear in production has stopped responding to requests on the ag-push.war or auth.war applications (wildfly admin console works fine). I can only see one type of stack trace when i do a kill -3 (see bellow). So far i&#39;ve tried restarting wildfly, undeploying/deploying both WARs, rebooting the server and nothing has had any effect. There has been no change in configuration or code for a few weeks now and i&#39;ve had a couple of service restarts without a issue. I&#39;m using UPS 1.1.3-final on a CentOS server.</div><div><br></div><div>Also i&#39;m not sure if its relevant but since the start we&#39;ve been using a slightly modified version of UPS which we built with maven. The only change is using the push_message_info.client_<wbr>identifier for our own purpose. Its basically a one line code change.</div><div><br></div><div><div>&quot;default task-62&quot; #221 prio=5 os_prio=0 tid=0x00007fc7901a9000 nid=0x32c4 runnable [0x00007fc6eb7f5000]</div><div>   java.lang.Thread.State: RUNNABLE</div><div>        at java.net.SocketInputStream.soc<wbr>ketRead0(Native Method)</div><div>        at java.net.SocketInputStream.soc<wbr>ketRead(SocketInputStream.java<wbr>:116)</div><div>        at java.net.SocketInputStream.rea<wbr>d(SocketInputStream.java:170)</div><div>        at java.net.SocketInputStream.rea<wbr>d(SocketInputStream.java:141)</div><div>        at sun.security.ssl.InputRecord.r<wbr>eadFully(InputRecord.java:465)</div><div>        at sun.security.ssl.InputRecord.r<wbr>ead(InputRecord.java:503)</div><div>        at sun.security.ssl.SSLSocketImpl<wbr>.readRecord(SSLSocketImpl.<wbr>java:973)</div><div>        - locked &lt;0x00000006c5abff60&gt; (a java.lang.Object)</div><div>        at sun.security.ssl.SSLSocketImpl<wbr>.readDataRecord(SSLSocketImpl.<wbr>java:930)</div><div>        at sun.security.ssl.AppInputStrea<wbr>m.read(AppInputStream.java:<wbr>105)</div><div>        - locked &lt;0x00000006c5ac0020&gt; (a sun.security.ssl.AppInputStrea<wbr>m)</div><div>        at <a href="http://org.apache.http.impl.io" target="_blank">org.apache.http.impl.io</a>.Abstra<wbr>ctSessionInputBuffer.fillBuffe<wbr>r(AbstractSessionInputBuffer.j<wbr>ava:160)</div><div>        at <a href="http://org.apache.http.impl.io" target="_blank">org.apache.http.impl.io</a>.Socket<wbr>InputBuffer.fillBuffer(SocketI<wbr>nputBuffer.java:84)</div><div>        at <a href="http://org.apache.http.impl.io" target="_blank">org.apache.http.impl.io</a>.Abstra<wbr>ctSessionInputBuffer.readLine(<wbr>AbstractSessionInputBuffer.jav<wbr>a:273)</div><div>        at org.apache.http.impl.conn.Defa<wbr>ultHttpResponseParser.parseHea<wbr>d(DefaultHttpResponseParser.ja<wbr>va:140)</div><div>        at org.apache.http.impl.conn.Defa<wbr>ultHttpResponseParser.parseHea<wbr>d(DefaultHttpResponseParser.ja<wbr>va:57)</div><div>        at <a href="http://org.apache.http.impl.io" target="_blank">org.apache.http.impl.io</a>.Abstra<wbr>ctMessageParser.parse(Abstract<wbr>MessageParser.java:260)</div><div>        at org.apache.http.impl.AbstractH<wbr>ttpClientConnection.receiveRes<wbr>ponseHeader(AbstractHttpClient<wbr>Connection.java:283)</div><div>        at org.apache.http.impl.conn.Defa<wbr>ultClientConnection.receiveRes<wbr>ponseHeader(DefaultClientConne<wbr>ction.java:251)</div><div>        at org.apache.http.impl.conn.Abst<wbr>ractClientConnAdapter.receiveR<wbr>esponseHeader(AbstractClientCo<wbr>nnAdapter.java:223)</div><div>        at org.apache.http.protocol.HttpR<wbr>equestExecutor.doReceiveRespon<wbr>se(HttpRequestExecutor.java:<wbr>271)</div><div>        at org.apache.http.protocol.HttpR<wbr>equestExecutor.execute(HttpReq<wbr>uestExecutor.java:123)</div><div>        at <a href="http://org.apache.http.impl.client.De">org.apache.http.impl.client.De</a><wbr>faultRequestDirector.tryExecut<wbr>e(DefaultRequestDirector.java:<wbr>685)</div><div>        at <a href="http://org.apache.http.impl.client.De">org.apache.http.impl.client.De</a><wbr>faultRequestDirector.execute(D<wbr>efaultRequestDirector.java:487<wbr>)</div><div>        at org.apache.http.impl.client.Ab<wbr>stractHttpClient.doExecute(Abs<wbr>tractHttpClient.java:863)</div><div>        at <a href="http://org.apache.http.impl.client.Cl">org.apache.http.impl.client.Cl</a><wbr>oseableHttpClient.execute(Clos<wbr>eableHttpClient.java:82)</div><div>        at <a href="http://org.apache.http.impl.client.Cl">org.apache.http.impl.client.Cl</a><wbr>oseableHttpClient.execute(Clos<wbr>eableHttpClient.java:106)</div><div>        at <a href="http://org.apache.http.impl.client.Cl">org.apache.http.impl.client.Cl</a><wbr>oseableHttpClient.execute(Clos<wbr>eableHttpClient.java:57)</div><div>        at org.keycloak.adapters.AdapterD<wbr>eploymentContext.resolveRealmK<wbr>ey(AdapterDeploymentContext.<wbr>java:105)</div><div>        at org.keycloak.adapters.AdapterD<wbr>eploymentContext.resolveDeploy<wbr>ment(AdapterDeploymentContext.<wbr>java:83)</div><div>        at org.keycloak.adapters.PreAuthA<wbr>ctionsHandler.preflightCors(Pr<wbr>eAuthActionsHandler.java:71)</div><div>        at org.keycloak.adapters.PreAuthA<wbr>ctionsHandler.handleRequest(Pr<wbr>eAuthActionsHandler.java:47)</div><div>        at org.keycloak.adapters.undertow<wbr>.ServletPreAuthActionsHandler.<wbr>handleRequest(ServletPreAuthAc<wbr>tionsHandler.java:68)</div><div>        at <a href="http://io.undertow.server.handlers.Pr">io.undertow.server.handlers.Pr</a><wbr>edicateHandler.handleRequest(P<wbr>redicateHandler.java:43)</div><div>        at io.undertow.servlet.handlers.S<wbr>ervletInitialHandler.handleFir<wbr>stRequest(ServletInitialHandle<wbr>r.java:282)</div><div>        at io.undertow.servlet.handlers.S<wbr>ervletInitialHandler.dispatchR<wbr>equest(ServletInitialHandler.<wbr>java:261)</div><div>        at io.undertow.servlet.handlers.S<wbr>ervletInitialHandler.access$00<wbr>0(ServletInitialHandler.java:<wbr>80)</div><div>        at io.undertow.servlet.handlers.S<wbr>ervletInitialHandler$1.handleR<wbr>equest(ServletInitialHandler.<wbr>java:172)</div><div>        at io.undertow.server.Connectors.<wbr>executeRootHandler(Connectors.<wbr>java:199)</div><div>        at io.undertow.server.HttpServerE<wbr>xchange$1.run(HttpServerExchan<wbr>ge.java:774)</div><div>        at java.util.concurrent.ThreadPoo<wbr>lExecutor.runWorker(ThreadPool<wbr>Executor.java:1142)</div><div>        at java.util.concurrent.ThreadPoo<wbr>lExecutor$Worker.run(ThreadPoo<wbr>lExecutor.java:617)</div><div>        at java.lang.Thread.run(Thread.ja<wbr>va:745)</div></div><div><br></div><div><br></div><div>I&#39;ve been trying to solve this for 2 days without success, so at this point any help would be greatly appreciated!</div><div><br></div><div>--</div><div>Yoann</div></div>
<br>______________________________<wbr>_________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/aerogear-<wbr>users</a><br>
<br></blockquote></div><br></div>