Hi Mircea,
G1 has a time limit to collect objects not used in the young generation and
if the time limit (200ms by default) is not reached it may continue with
collecting unused objects from the old generation. Depends on your context,
but I saw applications with small heap where almost all heap w
Hi Mircea,
the heap may not get smaller but data inside the old heap may be collected
and memory freed, depending what gc algorithm you use in your application.
Old gen space could be collected even without full gc running.
It will be better to publish the gc log or show information of the
analy
Hi Mark,
you could add javamelody to your war file and have monitoring as part of
your application.
Link to javamelody https://github.com/javamelody/javamelody
I use this in all applications we distribute to customers as war files for
many years. Super useful.
Regards,
Zdenek Henek
On Wed, Jun
Hi,
here is all you need
https://tomcat.apache.org/whichversion.html
We run Tomcat 9 even with OpenJDK 21.
Regards,
Zdenek Henek
On Wed, May 28, 2025 at 5:04 AM dineshk
wrote:
> Hi Team,
> Could anybody clarify on if we could use Java 17 with Java EE specs with
> tomcat 9.0.x ?
>
> RegardsDin
://webapps/app3/WEB-INF/lib/javax.mail-1.6.2.jar
[558992.864s][info][class,load] com.sun.mail.handlers.text_html source:
file://webapps/app4/WEB-INF/lib/javax.mail-1.6.2.jar
Regards,
Zdenek Henek
On Wed, May 21, 2025 at 12:44 PM Zdeněk Henek wrote:
> Hello,
>
> I am getting these errors
Hello,
I am getting these errors in one of our systems:
java.lang.ClassCastException: class com.sun.mail.handlers.text_html cannot
be cast to class javax.activation.DataContentHandler
(com.sun.mail.handlers.text_html is in unnamed module of loader
org.apache.catalina.loader.ParallelWebappClassLoa
Hi,
I have looked at the commits and all have in changes http2. Is this an
issue in case we don't use http2?
Thank you.
Regards,
Zdenek Henek
On Mon, Apr 28, 2025 at 7:12 PM Mark Thomas wrote:
> CVE-2025-31650 Apache Tomcat - DoS via invalid HTTP prioritization header
>
> Severity: High
>
> V
Hi Ricardo,
Could you provide what Tomcat version you use?
Is it possible you use Tomcat 9 and you should use library using javax.mail
api instead of library based on new jakarta namespace?
Regards,
Zdenek Henek
On Tue, Nov 26, 2024 at 8:43 AM Ricardo Almeida
wrote:
> Hi,
>
> I'm trying to con
Tomcat has migration tool for older applications
https://tomcat.apache.org/download-migration.cgi
Best would be to rewrite the app to import jakartaee package (JakartaEE)
instead of javax (JavaEE) and upgrade all libraries you use in the war to
be JakartaEE compatible.
Zdenek
On Wed, Oct 16, 202
Thank you.
That is what I was about to ask :). I was using the dev release of 9.0.82.
Our QA is testing our application with Tomcat 9.0.82. So far it looks good.
Regards,
Zdenek Henek
On Thu, Oct 12, 2023 at 9:08 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> All,
>
> On 10/11/
at 7:12 PM Christopher Schultz <
ch...@christopherschultz.net> wrote:
> Zdeněk,
>
> On 3/13/23 12:57, Zdeněk Henek wrote:
> > I have implemented SAML 2.0 Service Provider using
> > https://github.com/spring-attic/spring-security-saml It is not
> developed
> > a
Hi Chris,
I have implemented SAML 2.0 Service Provider using
https://github.com/spring-attic/spring-security-saml It is not developed
anymore, but ...
I don't have my dev env available till Sunday, if you would like I could
use your Okta configuration next week to connect to my service provider
HI Arshiya,
MaxGCPauseMillis=100
maybe this is too strict? Causing you run into full gc. Jdk8 G1GC
implementation has single thread full gc and these take more time to finish?
Just guessing as you have not written if the long pause gcs are young gen
pauses or full gc pauses.
Another option which c
Amn,
Our application is tested with Weblogic and Tomcat. I was asked to port our
application to any free application server or web container. I picked
Tomcat 5.5, now we are on Tomcat 9. I have to say maintaining our app and
its installer for Tomcat is very easy. Very good backward compatibility a
Hi,
Java Security Manager is deprecated in jdk 17 release
https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/SecurityManager.html
and may be even removed soon.
Regards,
Zdenek Henek
On Wed, May 11, 2022 at 10:14 AM Chavez Ortiz, Oscar (Externo) <
oscar.chavez.exte...@vwfs.com
t; - there is one extra 3rd party "hotfolder" Java app running as a service
> (JDK 8 is used in this case)
>
>
> -Original Message-
> From: Zdeněk Henek
> Sent: Monday, April 11, 2022 1:04 PM
> To: Tomcat Users List
> Subject: Re: Tomcat service switches
Hi Jan,
looks like somebody/something has restarted tomcat with different
JAVA_HOME/PATH variables. It is not possible to change jvm process while
running.
Another option could be you have there running two tomcat instances.
Create cmd file e.g. tomcatStart.cmd with content like
set JAVA_HOME=c
Hi,
try configure HTTP NIO
https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#NIO_specific_configuration
or upgrade to Tomcat 8 where HTTP NIO is on by default.
This could help in case your server is able to process the requests e.g.
you have spike where you have to process thousands of re
Hi,
we are using tomcat 8.0.30 without problems.
I have tested upgrade to 8.0.38 today and I got this error
More env. details JDK 8, tested on both Linux and Windows using different
JDK 8 updates (71, 111).
15-Nov-2016 17:14:51.189 INFO [http-nio-8080-exec-2]
org.apache.coyote.http11.AbstractHtt
I would start with moving this tomcat to its own hw.
Did you check swap? This long pauses could be because part of your heap is
swapped to hdd
Regards,
Zdenek Henek
On Tue, Nov 15, 2016, 21:37 George I. Develekos
wrote:
>
> On 15-Nov-16 10:22 PM, Christopher Schultz wrote:
> >
> > George,
> >
Is there running something else in that server? Real time should be never
bigger than user+sys
Z
On Tue, Nov 15, 2016, 16:46 George I. Develekos
wrote:
> Hello guys,
>
> We are having problems on a production system with very long "full GC"
> times, as long as1200sec real time (!!!).
>
> We are
Hi Jakub,
do you have running Tomcat and JConsole as same user?
JMX should really work out of box when both Tomcat and JConsole/JVisualVM
are in same machine and same user.
Regards,
Zdenek
On Sun, Apr 7, 2013 at 9:15 PM, Neven Cvetkovic
wrote:
> Mark,
>
> When connecting to local jmx, connect
Hi,
I am wondering if anybody uses JBoss jta transaction manager in Tomcat.
I have updated code written by J Halliday
source here:
http://anonsvn.jboss.org/repos/labs/labs/jbosstm/workspace/jhalliday/tomcat-integration/
to support latest release of JBoss transaction manager ( 4.16.0 )
source he
Hi,
I have created prototype of distributed session manager which uses
infinispan to distribute session state.
The code is available here:
https://github.com/zvrablik/tomcatInfinispanSessionManager
Would anybody have time to discuss the prototype or test it?
I have currently one TODO item I am
24 matches
Mail list logo