Re: TLSCertificateReloadListener Detects Expiration But Never Reads New Cert & Key Files

2024-03-19 Thread Ivano Luberti
Could there be a regression also in 9.0.86 Because I had a similar issue (reload tls didn't work) but It was the first time I was doing that on that tomcat instance and I  had assumed there was some misconfiguration, even though certificates where server correctly but the wrong expiration

Re: AW: Tomcat SMPT TLS1.2

2024-03-11 Thread Ivano Luberti
- Von: Ivano Luberti Gesendet: Montag, 11. März 2024 17:46 An:users@tomcat.apache.org Betreff: Re: Tomcat SMPT TLS1.2 I had issues in the past connectin to mailserver using TLS and solved them upgrading the webapplicatio library from mail-1.4.jar to javax.mail-1.6.2.jar Il 11/03/2024 17:41

Re: Tomcat SMPT TLS1.2

2024-03-11 Thread Ivano Luberti
I had issues in the past connectin to mailserver using TLS and solved them upgrading the webapplicatio library from mail-1.4.jar to javax.mail-1.6.2.jar Il 11/03/2024 17:41, Robert Turner ha scritto: AFAIK, there is nothing in Tomcat for SMTP. This would be part of the application you are

Re: Tomcat 9 returning 404 for audio files

2024-03-11 Thread Ivano Luberti
Could it be the file is created with incorrect access rights? Il 11/03/2024 16:46, Mark Thomas ha scritto: On 11/03/2024 11:31, Sam wrote: Thanks for replying!! Yes audio files are generated dynamically from DB.in a Servlet. I've verified that audio file exists on file system before

Re: JAVA -tomcat- Request header is too large

2023-12-08 Thread Ivano Luberti
Il 07/12/2023 17:51, Mark Thomas ha scritto: On 07/12/2023 15:37, Ivano Luberti wrote: Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request

JAVA -tomcat- Request header is too large

2023-12-07 Thread Ivano Luberti
Hi, since a few days these errors started showing in my log files: 06-Dec-2023 07:39:56.082 INFO [http-nio-8080-exec-5826] org.apache.coyote.http11.Http11Processor.service Error parsing HTTP request header  Note: further occurrences of HTTP request parsing errors will be logged at DEBUG

Re: Issues with writing to the log file

2023-10-11 Thread Ivano Luberti
I have issues with tomcat log files to. Is thee a guide on where and how they are configured? It seems it depends not only on tomcat but also on the OSis it correct? Il 11/10/2023 00:21, Shakila Rajaiah ha scritto: Hello Users, I am not sure if I have set up my application correctly. The

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
Chris, yes checked  other files and I have also logs/localhost_*.log but the deployments event reported there are the same found in catalina.out. There is manager log too, same as above Il 10/10/2023 04:54, Christopher Schultz ha scritto: Ivano, On 10/9/23 16:05, Ivano Luberti wrote: I

Re: deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
/2023 20:34, Deepak Lalchandani ha scritto: I'm facing a similar problem with basic tomcat installing too On Mon, 9 Oct 2023, 8:00 pm Ivano Luberti, wrote: Hi, I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application fails

deploying war with tomcat manage fails with no significative errors in logs

2023-10-09 Thread Ivano Luberti
Hi, I was trying to update a web application deploying a war file. The manager says that is able to deploy the war but the application fails to start I had saved the previous war file and tried to redeploy it that was correctly running (update was a bug fixing), but I'm getting the same

Re: question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
Thanks Christopher Il 08/09/2023 17:51, Christopher Schultz ha scritto: Ivano, On 9/8/23 11:17, Ivano Luberti wrote: Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive

Re: Strange problem involving the word "localhost"

2023-09-08 Thread Ivano Luberti
I had similar problem with mod_security installed on servers and apache used as proxy. mod_security intercept the request and if considers it suspicious generate a 403 error Il 08/09/2023 17:25, James H. H. Lampert ha scritto: Yesterday, I discovered that our Tomcat-based webapp (running on

question about tomcat manager Server Status page

2023-09-08 Thread Ivano Luberti
Hi, looking at Server Status and Complete Server Status Page I can see the following line: Max threads: 200 Current thread count: 11 Current threads busy: 1 Keep alive sockets count: 1 But looking at the thread list under the line I can count 24 lines. So what is the number of thread

solved: java.lang.ClassNotFoundException for listener class

2023-09-07 Thread Ivano Luberti
I was wong, the deployed context under eclipse and under tomcat autonomous instance were not identical at all. Form some reason when eclipse deploys the web application copy the class files under WEB-INF/services/  under WEB-INF/classes, so the tomcat class loading finds classes were expected

java.lang.ClassNotFoundException for listener class

2023-09-07 Thread Ivano Luberti
Hello all. I have developed a web application using Eclipse as an IDE and test environment and it runs as expected. Then I have built a war file and deployed it under another Tomcat instance. In both case tomcat version is 8.5 Under this last instance the application can't start and in the

Re: OT: where does JSTL set thsi cookie? javax.servlet.jsp.jstl.fmt.request.charset

2023-08-28 Thread Ivano Luberti
Tomcat docs but is nonetheles official documentation - Thank you all, and particularly to Thomas who pointed me to the answer. Il 25/08/2023 18:09, Mark Thomas ha scritto: On 25/08/2023 07:50, Ivano Luberti wrote: Hi, I understand that this question can be OT but I don't know where

Re: OT: where does JSTL set thsi cookie? javax.servlet.jsp.jstl.fmt.request.charset

2023-08-28 Thread Ivano Luberti
Thank you all, and particularly to Thomas who pointed me to the answer. Il 25/08/2023 18:09, Mark Thomas ha scritto: On 25/08/2023 07:50, Ivano Luberti wrote: Hi, I understand that this question can be OT but I don't know where to search for. Looking into tomcat manager sessions I see

OT: where does JSTL set thsi cookie? javax.servlet.jsp.jstl.fmt.request.charset

2023-08-25 Thread Ivano Luberti
Hi, I understand that this question can be OT but I don't know where to search for. Looking into tomcat manager sessions I see this cookie set in each session     javax.servlet.jsp.jstl.fmt.request.charset     ISO-8859-1 The value ISO-8859-1 i set even though the file encoding of the java

Re: tomcat timeouts on startup and on context deployment

2023-08-19 Thread Ivano Luberti
Solodovnik ha scritto: from mobile (sorry for typos ;) On Sat, Aug 19, 2023, 10:49 Christopher Schultz < ch...@christopherschultz.net> wrote: Ivano, On 8/18/23 18:17, Ivano Luberti wrote: It seems I had explained myself badly. I'll try again. I need to know if there is and it is config

Re: tomcat timeouts on startup and on context deployment

2023-08-18 Thread Ivano Luberti
on application deployment when you use tomcat manager to deploy a war file or application start, fom tomcat manager interface as well Il 18/08/2023 22:57, Christopher Schultz ha scritto: Ivano, On 8/18/23 10:18, Ivano Luberti wrote: Hello eveybody, in one of my use case, when upgrading a web

tomcat timeouts on startup and on context deployment

2023-08-18 Thread Ivano Luberti
Hello eveybody, in one of my use case, when upgrading a web application it coult happen that on startup the application has to perform some database operation that could require some time, even some minutes. This happens typically when deploying the application via tomcat manager but could

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-07-09 Thread Ivano Luberti
this to underline that as predictable it was not a problem with tomcat Thanks to everyone spent time into this, especially Chris Il 27/06/2023 16:35, Christopher Schultz ha scritto: Ivano, On 6/27/23 09:15, Ivano Luberti wrote: We had another Linux server that should have been identical to the one

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-27 Thread Ivano Luberti
machine. Having found a practical solution we have decided to give up investigating. Thank you again to you and the other that paid attention to my issue. Il 26/06/2023 18:50, Christopher Schultz ha scritto: Ivano, On 6/8/23 06:10, Ivano Luberti wrote: Hi, all I have the following problem

Re: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-24 Thread Ivano Luberti
Hi Chris, thanks for that. No,  don't make nay configuration regarding use of any algorithm. I launch Java with same options in tomcat and in the stand alone client and I get two different behaviours Il 23/06/2023 21:51, Christopher Schultz ha scritto: Ivano, On 6/8/23 06:10, Ivano Luberti

Re: AW: problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-08 Thread Ivano Luberti
contain some option that could create a difference with respect to this matter? Il 08/06/2023 16:39, Thomas Hoffmann (Speed4Trade GmbH) ha scritto: Hello Ivano, -Ursprüngliche Nachricht- Von: Ivano Luberti Gesendet: Donnerstag, 8. Juni 2023 12:10 An:users@tomcat.apache.org Betreff: problem

problem with SSL connection java.security.NoSuchAlgorithmException: Error constructing implementation

2023-06-08 Thread Ivano Luberti
Hi, all I have the following problem. My web application executes an SSL connection but fails with the following exception  AxisFault: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class:

Re: how to make tomcat 9 remember which application where stopped before shutdown

2023-03-20 Thread Ivano Luberti
, Mark Thomas ha scritto: On 20/03/2023 10:09, Ivano Luberti wrote: Hi all , I would like to find a way to start tomcat with all the application stopped except the manager. My colleagues made a test manually  stopping an application and restarting tomcat. After the service restarted

how to make tomcat 9 remember which application where stopped before shutdown

2023-03-20 Thread Ivano Luberti
Hi all , I would like to find a way to start tomcat with all the application stopped except the manager. My colleagues made a test manually  stopping an application and restarting tomcat. After the service restarted the application was up and running. Is there a way to make Tomcat remember

Re: Tomcat 9 crashes because of a Windows update

2023-03-02 Thread Ivano Luberti
Katie, you should look into tomcat logs and in windows logs and report if you find meaningful messages Il 02/03/2023 11:10, Mark Thomas ha scritto: On 02/03/2023 08:49, Katie S wrote: Sorry for being unclear and thank you for your answer. I can start Tomcat but after a few minutes it stops

Re: AW: JSessionId secure attribute not set if RemoteIpFilter with X-Forwarded-Proto https is used

2023-02-15 Thread Ivano Luberti
Hi Reto, fortunately I use RemoteIpValve but I would like to know, if you have time, what advantages there would be using RemoteIpFilter. TIA Il 09/02/2023 08:50, Reto Weiss ha scritto: Hi Mark Reported ashttps://bz.apache.org/bugzilla/show_bug.cgi?id=66471 Regards Reto

Re: [ANN] End of life for Apache Tomcat 8.5.x

2022-12-13 Thread Ivano Luberti
Sorry I saw too late the correction Mark did you mean 2023? Il 13/12/2022 15:41, Mark Thomas ha scritto: It is anticipated that the final 8.5.x release will be made shortly before 31 March 2021. -- Archimede Informatica tratta i dati personali in conformità a quanto stabilito

Re: [ANN] End of life for Apache Tomcat 8.5.x

2022-12-13 Thread Ivano Luberti
Mark did you mean 2023? Il 13/12/2022 15:41, Mark Thomas ha scritto: It is anticipated that the final 8.5.x release will be made shortly before 31 March 2021. -- Archimede Informatica tratta i dati personali in conformità a quanto stabilito dal Regolamento UE n. 2016/679 (GDPR) e dal D.

Re: setenv.sh not loaded

2022-11-04 Thread Ivano Luberti
as a service with a service file that launches tomcat without reference to catalina.sh and instead loads a configuration file in  etc/tomcat/ (not sure about this dir but it has been erased and I can't verify)  where you can put your JAVA_OPTS Il 02/11/2022 14:08, Ivano Luberti ha scritto: Tomcat

Re: setenv.sh not loaded

2022-11-02 Thread Ivano Luberti
Tomcat ahas benne installed using yum I cannot find any catalina.sh file on the system. So I have to check with the sysadmin how  he configured tomcat. Il 02/11/2022 13:46, Olaf Kock ha scritto: On 02.11.22 12:43, Ivano Luberti wrote: Hi, I have been given an Oracle Linux instance

Re: AW: setenv.sh not loaded

2022-11-02 Thread Ivano Luberti
– normally) echo „setenv.sh executed successfully“ > $TOMCAT_HOME/log/debug.txt and check existence of this created file after having initiated a restart of the Tomcat process. BR, Johann Von: Ivano Luberti Gesendet: Mittwoch, 2. November 2022 12:43 An:users@tomcat.apache.org Betreff: setenv

setenv.sh not loaded

2022-11-02 Thread Ivano Luberti
Hi, I have been given an Oracle Linux instance with tomcat 9.0.65 installed as a service. Tomcat is running correctly I have tried to create a setenv.sh file to tune the JVM, but using the tomcat manager application and the catalina.log file it seems that my java configuration is not loaded.

Re: certificate re-loading for apache tomcat without the apache restart

2022-09-26 Thread Ivano Luberti
Agree Here you can find documentation of what Peter says https://tomcat.apache.org/tomcat-10.0-doc/manager-howto.html#Reload_TLS_configuration using  a call to the manager app. It doesn't take into account new certificates but only existing ones, because it dosn't reparse server.xml Il

Re: [ANN] New committer: Han Li

2022-09-06 Thread Ivano Luberti
Cheers!!! Il 06/09/2022 13:45, Rémy Maucherat ha scritto: On Tue, Sep 6, 2022 at 9:39 AM Mark Thomas wrote: On behalf of the Tomcat committers I am delighted to announce that Han Li (lihan) has been voted in as a new Tomcat committer. Please join me in congratulating Han. Welcome ! :) Remy

Re: Configuring TLS JSSE vs OpenSSL

2022-01-19 Thread Ivano Luberti
Christopher, Il 19/01/2022 20:32, Christopher Schultz ha scritto: Ivano, On 1/19/22 10:58, Ivano Luberti wrote: Mark, Christopher Il 19/01/2022 15:31, Christopher Schultz ha scritto: Mark, On 1/19/22 05:00, Mark Thomas wrote: On 18/01/2022 23:16, Christopher Schultz wrote: All

Re: Configuring TLS JSSE vs OpenSSL

2022-01-19 Thread Ivano Luberti
Mark, Christopher Il 19/01/2022 15:31, Christopher Schultz ha scritto: Mark, On 1/19/22 05:00, Mark Thomas wrote: On 18/01/2022 23:16, Christopher Schultz wrote: All, There are a bunch of parameters in SSLHostConfig which are documented[1] to be "OpenSSL Only" and "JSSE only". I thought

Re: Upgrade Apache- Tomcat and HTTPD

2021-10-21 Thread Ivano Luberti
Hi, Tomcat 8.5 still runs on JDK 1.7 Documentation about migration from one version to another can be found here: https://tomcat.apache.org/migration.html Il 21/10/2021 18:45, Kumawat, Priyanka ha scritto: Hi Team , We have received some vulnerabilities for our Tomcat and Apache -httpd , as

reloading tls configuration programmatically

2021-08-04 Thread Ivano Luberti
Hello, in order to improve management of our servers I would like to implement the ability to timely reload Tomcat TLS configuration so to make tomcat aware of renewed certificates I have seen that in the manager web application I can reload TLS configuration with the Re Read button in the

Re: tomcat 8.5.57 stops killing sessions after some time

2021-08-03 Thread Ivano Luberti
Il 30/07/2021 14:54, Konstantin Kolinko ha scritto: Additional note: the "backgroundProcessorDelay" on a Context can be used to make a web application use its own background thread (instead of reusing the one inherited from its parent container). It won't help with fixing a deadlock in a

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-27 Thread Ivano Luberti
of application constraints and because operations are quite simple. But thanks for the advice. Cheers Il 26/07/2021 23:15, Christopher Schultz ha scritto: Ivano, On 7/23/21 02:20, Ivano Luberti wrote: I have found the issue: one of the webapps has several thread locked

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-23 Thread Ivano Luberti
: On 21/07/2021 16:00, Ivano Luberti wrote: Il 21/07/2021 16:44, Mark Thomas ha scritto: Take 3 thread dumps 5 seconds apart and post them here. How to take thread dumps?   kill -3 ? That will work. There are lots of ways. This is most of them: https://www.baeldung.com/java-thread-dump Mark

Re: tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Ivano Luberti
Il 21/07/2021 16:44, Mark Thomas ha scritto: Take 3 thread dumps 5 seconds apart and post them here. How to take thread dumps?  kill -3 ? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

tomcat 8.5.57 stops killing sessions after some time

2021-07-21 Thread Ivano Luberti
Hello, I'm new to the list but befeore writing this I have searched the users mailing list without finding anything useful. I have an instance of Apache Tomcat/8.5.57 running on a CentOS machine with java 1.7.0_261 Several webapps run on this instance. I have noticed that after a few days