is forcing to my app to be accessed by https

30 views
Skip to first unread message

Jose Luis Romero

unread,
Jan 3, 2020, 11:55:39 AM1/3/20
to Payara Forum
Since yesterday, Payara 4.1.2.174 #badassfish (build 192) is forcing to all my deployed apps to be accessed by https, I have some them that are re-directed by web.xml "security-constraint" tag and also must have a certificate provided by us, but we also have others that don't, after restarting the server all works fine but after an hour or 2, clients lose access but if the change to https:// and port 8181, some of them can log in again because the have our certificate (because they use other apps of us), but most can't.
I don't know what could I had modified to get this behaviour, but it needs to be fixed urgently 

Christoph John

unread,
Jan 6, 2020, 5:29:30 AM1/6/20
to Payara Forum
Just a wild guess but when I hear "it works for 2 hours and stops afterwards" it sounds like the threads from your default threadpool are exhausted but the threadpool for https is still working.
You could verify this by doing stack dumps every few minutes and check if more and more http threads are used over time that never get cleaned up.

Cheers,
Chris.

Jose Luis Romero

unread,
Jan 6, 2020, 9:25:41 AM1/6/20
to Payara Forum
thanks, definitely it is related to the number of connections, we increased the Max Thread Pool Size and it takes longer to block the HTTP,  some apps may not be closing the Connections properly
Reply all
Reply to author
Forward
0 new messages