Re: reload vs restart

2021-03-02 Thread Christopher Schultz
Rob, On 2/27/21 23:34, Rob Sargent wrote: Chris, Thank you, yet again. On 2/26/21 9:31 PM, Christopher Schultz wrote: Rob, On 2/26/21 16:47, Rob Sargent wrote: Given a single webapp, what's the difference between server restart and webapp reload in terms of current open sessions? That

Re: Run servlets on Nashorn written in server-side JavaScript

2021-03-02 Thread Christopher Schultz
Rony, On 2/28/21 11:33, Rony G. Flatscher (Apache) wrote: Leo, On 26.02.2021 01:52, leo wrote: On 25 Feb 2021, at 2:47, Rony G. Flatscher (Apache) wrote: P.S.: Have tested my implementation with Nashorn on Java 8 and it works out of the box! Still, you would need to test the implementation

RE: Reg: caching allowed setting in tomcat

2021-03-02 Thread Jalaj Asher
Thanks for the response Mark. JSP source is static content. Disabling caching may impact JSP compilation time but OS level caching may mitigate that. There many variables that impact performance. The only way to get true sense of the impact is to measure performance with caching enabled and

Re: reload vs restart

2021-03-02 Thread Rob Sargent
Chris, > On Mar 2, 2021, at 9:46 AM, Christopher Schultz > wrote: > > So you just have a single Tomcat node? Yeah, you are going to want to use > parallel deployment unless you can be VERY careful about your JVM restarts. > > You will also need to familiarize yourself with using the Manager

Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread Alex
Hi. I try to make a "good" tomcat config and read the docs. Now in the Connector doc is the following statement. http://tomcat.apache.org/tomcat-9.0-doc/config/http.html#SSL_Support http://tomcat.apache.org/tomcat-10.0-doc/config/http.html#SSL_Support Each secure connector must define at

Re: Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread Alex
Hi. On 02.03.21 23:14, John Larsen wrote: I usually let the apache webserver or nginx handle the SSL while proxying to the tomcat. To use tomcat's built in server you'll need to import the SSL certificate into the keystore via your jdk. Fully agree, but sometimes it is requierd that the

Re: Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread Peter Kreuser
Alex, > Am 02.03.2021 um 23:19 schrieb Alex : > > Hi. > >> On 02.03.21 23:14, John Larsen wrote: >> I usually let the apache webserver or nginx handle the SSL while proxying >> to the tomcat. Unless you need some really fancy rewriting or caching, Tomcat is absolutely capable to handle

Re: Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread John Larsen
I usually let the apache webserver or nginx handle the SSL while proxying to the tomcat. To use tomcat's built in server you'll need to import the SSL certificate into the keystore via your jdk. John Larsen On Tue, Mar 2, 2021 at 3:06 PM Alex wrote: > Hi. > > I try to make a "good" tomcat

Re: Run servlets on Nashorn written in server-side JavaScript

2021-03-02 Thread leo
Rony, O.K., had a few things I could finalize. Created two war files, "demoJavaScript.war" and "demoRhino.war". The first got tested against Nashorn, the second - you guessed it ;) - against Rhino (7.1.13). They are meant as little proof-of-concepts that should help you to get up and running

Re: Question about TLS/SSL setup and SSLHostConfig or not

2021-03-02 Thread Alex
On 02.03.21 23:50, Peter Kreuser wrote: Alex, Am 02.03.2021 um 23:19 schrieb Alex : Hi. On 02.03.21 23:14, John Larsen wrote: I usually let the apache webserver or nginx handle the SSL while proxying to the tomcat. Unless you need some really fancy rewriting or caching, Tomcat is

Re: Reg: caching allowed setting in tomcat

2021-03-02 Thread Mark Thomas
On 02/03/2021 16:55, Jalaj Asher wrote: --- Just to clarify when I disable cachingallowed setting does it stop the compilation in the tomcat i.e the files I see in the work folder, because I still see the compiled files there. Wanted to know if it will force recompiles on each access .