Re: Tomcat 9.0.80 Server Issues.

2024-07-25 Thread Chuck Caldarale
> On Jul 25, 2024, at 20:45, venkatd...@hotmail.com Shanthisowjanyadama9 > wrote: > > My Java Spring MVC application works great with Tomcat 9.0.50, when I moved > Tomcat version from 9.0.50 to 9.0.80 my spring MVC java web application was > broken, So you moved from a 3-year old version o

Tomcat 9.0.80 Server Issues.

2024-07-25 Thread venkatd...@hotmail.com Shanthisowjanyadama9
Hi Tomcat Uses group, My Java Spring MVC application works great with Tomcat 9.0.50, when I moved Tomcat version from 9.0.50 to 9.0.80 my spring MVC java web application was broken, JAAS authentication is not working as it expected, all of a sudden chrome browser(s) caching web application and

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
told you I'm tired, thanks Il 25-Jul-24 16:29, Gregg, John E. ha scritto: That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing. Try this instead: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html From: Iva

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
That’s the documentation for embedded java. Unfortunately it’s near the top of search results for both Google and Bing. Try this instead: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html From: Ivano Luberti Sent: Thursday, July 25, 2024 9:21 AM To: users@tomcat.apache.org

Re: java code cache size question

2024-07-25 Thread Ivano Luberti
Thank you all. Try to answer to everyone in one mail. I forgot to check the java version in the oracle page I had found and since other blog pages were always referring to 48 MB I was left thinking there were no differences among version. (I'm tired, going on holiday tomorrow :-) ) The  def

Re: java code cache size question

2024-07-25 Thread Simon Matter
> Hi, I have a tomcat 9 instance  that runs without specifying options for > the code cache. > > Looking at the servet status I see > > Code CacheNon-heap memory 2.43 MiB163.93 MiB 240.00 > MiB 147.30 > MiB (61%) > > So te maximum size is 240MB > > Looking at Java doc

RE: java code cache size question

2024-07-25 Thread Gregg, John E.
Ivano 48MB was the default in the olden days. It is 240MB now. I believe the change came in Java 8 to accommodate the fact that the HotSpot compiler now compiles all methods when they are hit for the first time. Thanks From: Ivano Luberti Sent: Thursday, July 25, 2024 8:43 AM To: users@tom

Re: java code cache size question

2024-07-25 Thread Christopher Schultz
Ivano, On 7/25/24 09:43, Ivano Luberti wrote: Hi, I have a tomcat 9 instance  that runs without specifying options for the code cache. Good. If you don't know what you are doing, leaving options at their defaults is the best policy. Looking at the servet status I see Code Cache Non-he

java code cache size question

2024-07-25 Thread Ivano Luberti
Hi, I have a tomcat 9 instance  that runs without specifying options for the code cache. Looking at the servet status I see Code Cache Non-heap memory 2.43 MiB 163.93 MiB 240.00 MiB 147.30 MiB (61%) So te maximum size is 240MB Looking at Java documentation it states it should be 48MB i

Re: Seeking clarification on ServletContext.createServlet() behavior post context initialization

2024-07-25 Thread Mark Thomas
Ryan, I think you are in territory that is undefined by the Servlet specification and is likely to remain that way. The expectation is that ServletContext.createServlet() is used followed by addServlet(String, Servlet) and addServlet(String, Servlet) can only be used before content initialis