Session attribute disappears across requests

2020-05-26 Thread Mark H. Wood
Background: client request starts a long-running procedure which eventually returns a calculated result. I want to provide a progress meter so that the user knows that the request is still running. The page where this happens periodically fires an AJAX request to sample the progress of the

Re: HELP wanted: Configure 2 domains, 2 SSL and 2 keyfiles on 1 VPS

2020-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maurice, On 5/26/20 09:19, Maurice Poos wrote: > Hello and thank you in advance for looking into this. > > I'm a Dutch native so bare with me... Welcome to the community! > Problem: Trying to configure TOMCAT9 to handle 2 domains on the > same

HELP wanted: Configure 2 domains, 2 SSL and 2 keyfiles on 1 VPS

2020-05-26 Thread Maurice Poos
Hello and thank you in advance for looking into this. I'm a Dutch native so bare with me... Problem: Trying to configure TOMCAT9 to handle 2 domains on the same server with https and 2 different keystore files. There is no APACHE webserver or other webserver available. Single connector

Re: Implementing Store and getting java.io.StreamCorruptedException

2020-05-26 Thread Jonathan Yom-Tov
For posterity's sake: the issue was that I hadn't noticed that StoreBase has the method getObjectInputStream which should be used instead of new ObjectInputStream. So while the session was serialized correctly using StandardSession's mechanism, it didn't deserialize correctly. On Fri, May 22,

tomcat 8.5 config for ecommerce site, seeing request timeouts

2020-05-26 Thread Ayub Khan
Hi, During high load I am seeing below error on tomcat logs java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: timeout We have 4 C5.18x large vms running tomcat 8 behind AWS application load balancer. We are seeing socket timeouts during peak hours. What should be the

Re: HELP wanted: Configure 2 domains, 2 SSL and 2 keyfiles on 1 VPS

2020-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Maurice, On 5/26/20 15:02, Maurice Poos wrote: > > > On Tue, May 26, 2020 at 5:30 PM Christopher Schultz > > wrote: > > Maurice, > > On 5/26/20 09:19, Maurice Poos wrote: >> Hello and thank you in advance for

Re: Session attribute disappears across requests

2020-05-26 Thread Mark H. Wood
[Session attribute disappearing between requests] *sigh* Brown paper bag error: the original-request handler was cleaning up the value before it could be read by the progress-request handler, when the original request *does not* run a long time (e.g. zero records to summarize). That's the wrong

Re: HELP wanted: Configure 2 domains, 2 SSL and 2 keyfiles on 1 VPS

2020-05-26 Thread Maurice Poos
On Tue, May 26, 2020 at 5:30 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Maurice, > > On 5/26/20 09:19, Maurice Poos wrote: > > Hello and thank you in advance for looking into this. > > > > I'm a Dutch native so bare with

Re: maxSwallowSize and misbehaving clients (e.g., mod_proxy_http)

2020-05-26 Thread Osipov, Michael
Am 2020-05-22 um 13:26 schrieb Mark Thomas: On 21/05/2020 23:30, Osipov, Michael wrote: Output will be sent privately. Got it. Tx. Looking at the direct case. It looks like you have debug logging enabled for everything. You only need it for the org.apache.coyote.http2 package. grep