Re: Compile with JDK 17, run on JRE 11?

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

Re: TOMCAT CERTIFICATE RENEWAL

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

Re: TOMCAT CERTIFICATE RENEWAL

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

Re: The custom 404 page of Tomcat8 suddenly becomes invalid

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

Re: Community Over Code Asia 2024 Travel Assistance Applications now open!

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

Re: NoClassDefFoundError for SSL operations

2024-02-22 Thread bigelytechnol...@yahoo.com
Hello Dear Thanks for your reply l would use this opportunity to briefly introduce our company, Bigly Technologies Thailand, We are one of the leading importers in Asia , and the Middle East on general Goods and Equipment. On behalf of Bigly Technologies Thailand, this is the samples of the

AW: NoClassDefFoundError for SSL operations

2024-02-22 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Simon, > -Ursprüngliche Nachricht- > Von: Simon Arame > Gesendet: Donnerstag, 22. Februar 2024 18:06 > An: users@tomcat.apache.org > Betreff: NoClassDefFoundError for SSL operations > > We have Tomcat 9.0.81 running under OpenJDK 1.8.0_402-b06 > > Since the latest OpenJDK upgrade

NoClassDefFoundError for SSL operations

2024-02-22 Thread Simon Arame
We have Tomcat 9.0.81 running under OpenJDK 1.8.0_402-b06 Since the latest OpenJDK upgrade we get some errors when trying to perform SSL Operations like obtaining the bytes of an HTTPS url or sending an email through SMTP with TLS on. Note that with the same jdk, those operations succeed when

Community Over Code Asia 2024 Travel Assistance Applications now open!

2024-02-20 Thread Gavin McDonald
Hello to all users, contributors and Committers! The Travel Assistance Committee (TAC) are pleased to announce that travel assistance applications for Community over Code Asia 2024 are now open! We will be supporting Community over Code Asia, Hangzhou, China July 26th - 28th, 2024. TAC exists

Re: Persistent Manager Implementation Question

2024-02-19 Thread Miguel Vidal
hey one question regarding this topic I'm facing an issue where my old app is doing a creation of multiple sessions but just one is the correct one or at least is who contains the data and works fine. the others sessions that are created contains random data that im not sure yet what information

[ANN] Apache Tomcat 9.0.86 available

2024-02-19 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache Tomcat 9.0.86. Apache Tomcat 9 is an open source software implementation of the Java Servlet, JavaServer Pages, Java Unified Expression Language, Java WebSocket and JASPIC technologies. Apache Tomcat 9.0.86 is a bugfix and

Re: The custom 404 page of Tomcat8 suddenly becomes invalid

2024-02-19 Thread Mark Thomas
On 19/02/2024 01:35, LeventLee wrote: Hello, Here is my information: openjdk version "1.8.0_345" | OpenJDK Runtime Environment (build 1.8.0_345-b01) | OpenJDK 64-Bit Server VM (build 25.345-b01, mixed mode) Linux 5.10.134-12.al8.x86_64 Apache Tomcat/8.0.24 That version is over 8 years old.

Re: Tomcat Manager 403's with LDAP Realm

2024-02-19 Thread Mark Thomas
On 17/02/2024 21:42, Dan McLaughlin wrote: We've had the same LDAP realm configured for probably 10 years, and the same roles in our LDAP for probably the same. We have 4 roles configured in LDAP manager-gui, manager-jmx, manager-script, and manager-status. My user only has the manager-gui

AW: TOMCAT CERTIFICATE RENEWAL

2024-02-19 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Ganesan, > -Ursprüngliche Nachricht- > Von: Ganesan, Prabu > Gesendet: Montag, 19. Februar 2024 08:41 > An: Tomcat Users List > Betreff: RE: TOMCAT CERTIFICATE RENEWAL > > Hi Tomas > > Thanks for your information - its jks file do we have any specific command to > pass them for

RE: TOMCAT CERTIFICATE RENEWAL

2024-02-18 Thread Ganesan, Prabu
Hi Tomas Thanks for your information - its jks file do we have any specific command to pass them for renew the certificate? Thanks & Regards, _ PrabuGanesan Consultant|MS-Nordics capgemini India Pvt. Ltd. | Bangalore  Contact: +91

AW: TOMCAT CERTIFICATE RENEWAL

2024-02-18 Thread Thomas Hoffmann (Speed4Trade GmbH)
Hello Ganesan, > Von: Ganesan, Prabu > Gesendet: Montag, 19. Februar 2024 08:07 > An: Tomcat Users List > Betreff: TOMCAT CERTIFICATE RENEWAL > Priorität: Hoch > > Hi Guys, > How to renew the certificate in Tomcat Can anyone provide with steps as we >have Our tomcat certificate is about to

TOMCAT CERTIFICATE RENEWAL

2024-02-18 Thread Ganesan, Prabu
Hi Guys, How to renew the certificate in Tomcat Can anyone provide with steps as we have Our tomcat certificate is about to expire in Next week, Anybody can help with renew steps: Tomcat version : 8.5.5.0 Thanks & Regards,

TOMCAT CERTIFICATE RENEWAL

2024-02-18 Thread Ganesan, Prabu
Hi Guys, How to renew the certificate in Tomcat Can anyone provide with steps as we have Our tomcat certificate is about to expire in Next week, Anybody can help with renew steps: Tomcat version : 8.5.5.0 Thanks & Regards, _

Tomcat Manager 403's with LDAP Realm

2024-02-17 Thread Dan McLaughlin
We've had the same LDAP realm configured for probably 10 years, and the same roles in our LDAP for probably the same. We have 4 roles configured in LDAP manager-gui, manager-jmx, manager-script, and manager-status. My user only has the manager-gui role. Everything has worked fine up until about

Re: Compile with JDK 17, run on JRE 11?

2024-02-17 Thread Mark Thomas
On 17/02/2024 16:01, Troels Arvin wrote: Hello, Since 9.0.83, building Tomcat has required JDK 17, according to the release notes. Is it possible to take the resulting binaries and run them on JRE 11? Yes. The minimum Java version at runtime (8) is unchanged. Mark

Compile with JDK 17, run on JRE 11?

2024-02-17 Thread Troels Arvin
Hello, Since 9.0.83, building Tomcat has required JDK 17, according to the release notes. Is it possible to take the resulting binaries and run them on JRE 11? -- Regards, Troels Arvin

Re: Long lasting websocket sessions

2024-02-16 Thread Alex O'Ree
No devices in-between, browser to local host. Good feedback though, I'll try to reproduce with the snake app Thanks! On Fri, Feb 16, 2024, 2:47 PM Chuck Caldarale wrote: > > > On Feb 16, 2024, at 11:31, Mark Thomas wrote: > > > > On 09/02/2024 13:47, Alex O'Ree wrote: > >> I've been

Re: Long lasting websocket sessions

2024-02-16 Thread Chuck Caldarale
> On Feb 16, 2024, at 11:31, Mark Thomas wrote: > > On 09/02/2024 13:47, Alex O'Ree wrote: >> I've been experimenting with tomcat 9.x in seeing how long i can get a web >> socket session to last. I'm currently struggling to get past 30 minutes or >> so. Looking for guidance on how to best

Re: Long lasting websocket sessions

2024-02-16 Thread Mark Thomas
On 09/02/2024 13:47, Alex O'Ree wrote: I've been experimenting with tomcat 9.x in seeing how long i can get a web socket session to last. I'm currently struggling to get past 30 minutes or so. Looking for guidance on how to best increase this or if this is a bad idea. Here's the current

Re: ConnectionPool JDBC vs. DBCP

2024-02-16 Thread Christopher Schultz
Andreas, On 2/16/24 02:21, Döscher, Andreas (ESI) wrote: Moin, in the docpage https://tomcat.apache.org/tomcat-10.1-doc/jdbc-pool.html it says The JDBC Connection Pool org.apache.tomcat.jdbc.pool is a replacement or an alternative to the Apache Commons DBCP connection pool. So why do we

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-16 Thread Christopher Schultz
Chuck and Brian, On 2/15/24 10:53, Chuck Caldarale wrote: On Feb 15, 2024, at 09:04, Brian Braun wrote: I discovered the JCMD command to perform the native memory tracking. When running it, after 3-4 days since I started Tomcat, I found out that the compiler was using hundreds of MB and

ConnectionPool JDBC vs. DBCP

2024-02-15 Thread ESI
Moin, in the docpage https://tomcat.apache.org/tomcat-10.1-doc/jdbc-pool.html it says >The JDBC Connection Pool org.apache.tomcat.jdbc.pool is a replacement or an >alternative to the Apache Commons DBCP connection pool. > >So why do we need a new connection pool? > >Here are a few of the

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Chuck Caldarale
> On Feb 15, 2024, at 09:04, Brian Braun wrote: > > I discovered the JCMD command to perform the native memory tracking. When > running it, after 3-4 days since I started Tomcat, I found out that the > compiler was using hundreds of MB and that is exactly why the Tomcat > process starts abusing

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
Hello, It has been a long time since I received the last suggestions to my issue here on this support list. Since then I decided to stop asking for help and to "do my homework". To read, to watch YouTube presentations, to spend time on StackOverflow, etc. So I have spent a lot of time on this and

Re: Tomcat/Java starts using too much memory and not by the heap or non-heap memory

2024-02-15 Thread Brian Braun
Hello, It has been a long time since I received the last suggestions to my issue here on this support list. Since then I decided to stop asking for help and to "do my homework". To read, to watch YouTube presentations, to spend time on StackOverflow, etc. So I have spent a lot of time on this and

Re: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-13 Thread Mark Thomas
On 09/02/2024 16:26, Rick Noel wrote: Thank you so much Mark for working with me on this issue! I am taking your recommendation to create a webapps-javaee directory and place my Tomcat 9 running war file into that dir so that Tomcat does the compile correctly. Only problem is that now I

Re: [ANN] Apache Tomcat Native 1.3.0 released

2024-02-13 Thread Mark Thomas
On 13/02/2024 10:21, Michael Osipov wrote: On 2024/02/13 08:46:42 Mark Thomas wrote: The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.3.0 stable. The key features of this release are: - The minimum supported OpenSSL version is 1.1.1 - The minimum supported

Re: [ANN] Apache Tomcat Native 1.3.0 released

2024-02-13 Thread Michael Osipov
On 2024/02/13 08:46:42 Mark Thomas wrote: > The Apache Tomcat team announces the immediate availability of Apache > Tomcat Native 1.3.0 stable. > > The key features of this release are: > > - The minimum supported OpenSSL version is 1.1.1 > - The minimum supported APR version in 1.6.3 > - The

[ANN] Apache Tomcat Native 1.3.0 released

2024-02-13 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 1.3.0 stable. The key features of this release are: - The minimum supported OpenSSL version is 1.1.1 - The minimum supported APR version in 1.6.3 - The windows binaries in this release have been built with

[ANN] Apache Tomcat Native 2.0.7 released

2024-02-13 Thread Mark Thomas
The Apache Tomcat team announces the immediate availability of Apache Tomcat Native 2.0.7 stable. The key features of this release are: - Align default pass phrase prompt with httpd on Windows - The windows binaries in this release have been built with OpenSSL 3.0.13 The 2.0.x branch is

Re: Persistent Manager Implementation Question

2024-02-12 Thread Miguel Vidal
Yes both are pointing the same configuration because i was doing some testing how it works all of this about session, i wasnt able to get it to work in a new application just using spring boot , but i just did it on friday. what i was missing it was use the session and not only a getter or

Re: [OT] Tomcat not syncing existing sessions on restart

2024-02-12 Thread Christopher Schultz
Manak, On 2/12/24 10:33, Manak Bisht wrote: Chris, On Mon, 12 Feb 2024, 20:52 Christopher Schultz, < ch...@christopherschultz.net> wrote: I wouldn't refuse to configure, since anyone using 0.0.0.0 with /separate/ hosts wouldn't experience this problem. I am using separate hosts (two

Re: [OT] Tomcat not syncing existing sessions on restart

2024-02-12 Thread Manak Bisht
Chris, On Mon, 12 Feb 2024, 20:52 Christopher Schultz, < ch...@christopherschultz.net> wrote: > I wouldn't refuse to configure, since anyone using > 0.0.0.0 with /separate/ hosts wouldn't experience this problem. I am using separate hosts (two docker containers on two different machines) in my

Re: Tomcat Instance unable to connect to DB with TCPS

2024-02-12 Thread Christopher Schultz
Michael, On 2/8/24 21:54, Kebret, Michael wrote: Tomcat version 9.0.83 running on Linux redhat 7 java 11.0.20. When changing the protocol from TCP to TCPS in Catalina.properties and in server.xml we have attribute truststorePassword= (tested with both cleartext and encrypted) password

Re: [OT] Tomcat not syncing existing sessions on restart

2024-02-12 Thread Christopher Schultz
Mark, On 2/9/24 06:14, Mark Thomas wrote: With the Receiver using address="0.0.0.0" I see the same issues you do. I'm not yet convinced that is a bug. If this is known to essentially always not-work... should we log something at startup? I wouldn't refuse to configure, since anyone using

Re: Persistent Manager Implementation Question

2024-02-12 Thread Christopher Schultz
Miguel, On 2/8/24 15:49, Miguel Vidal wrote: Im trying to configure correctly in 2 different applications : Persistent Manager Implementation using a mysqldb as a datasource. Do you have both PersistentManager configurations pointing at the same database and same set of tables? I think it

RE: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-09 Thread Rick Noel
Thank you so much Mark for working with me on this issue! I am taking your recommendation to create a webapps-javaee directory and place my Tomcat 9 running war file into that dir so that Tomcat does the compile correctly. Only problem is that now I cannot figure out what is the correct URL

Long lasting websocket sessions

2024-02-09 Thread Alex O'Ree
I've been experimenting with tomcat 9.x in seeing how long i can get a web socket session to last. I'm currently struggling to get past 30 minutes or so. Looking for guidance on how to best increase this or if this is a bad idea. Here's the current configuration and what i've tried thus far: The

R: Tomcat Instance unable to connect to DB with TCPS

2024-02-09 Thread Roberto Benedetti
Hello, it seems you have changed the default Java trust store, so you also need to provide its password. You should provide more info about your requirements: - server authentication only or client authentication too (mTLS in Oracle documentation)? - which version of ucp/ojdbc are you using

Re: Tomcat not syncing existing sessions on restart

2024-02-09 Thread Mark Thomas
On 09/02/2024 07:51, Manak Bisht wrote: On Fri, Feb 9, 2024 at 3:25 AM Mark Thomas wrote: Same JRE? Yes, 8.0.402 Generally, I wouldn't use 0.0.0.0, I'd use a specific IP address. I'm not sure how the clustering would behave with 0.0.0.0 Using 0.0.0.0 as the address for the receiver is

Re: Tomcat Instance unable to connect to DB with TCPS

2024-02-09 Thread Mark Thomas
On 09/02/2024 02:54, Kebret, Michael wrote: Tomcat version 9.0.83 running on Linux redhat 7 java 11.0.20. When changing the protocol from TCP to TCPS in Catalina.properties and in server.xml we have attribute truststorePassword= (tested with both cleartext and encrypted) password connection

Re: Tomcat not syncing existing sessions on restart

2024-02-08 Thread Manak Bisht
On Fri, Feb 9, 2024 at 3:25 AM Mark Thomas wrote: > Same JRE? > Yes, 8.0.402 Generally, I wouldn't use 0.0.0.0, I'd use a specific IP address. I'm > not sure how the clustering would behave with 0.0.0.0 > That's the problem really. Using the DNS name or IP address causes the following error -

Tomcat Instance unable to connect to DB with TCPS

2024-02-08 Thread Kebret, Michael
Tomcat version 9.0.83 running on Linux redhat 7 java 11.0.20. When changing the protocol from TCP to TCPS in Catalina.properties and in server.xml we have attribute truststorePassword= (tested with both cleartext and encrypted) password connection is refused to the DB and get the below

Re: Getting provider/properties from jaspic-providers.xml to my ServerAuthModule

2024-02-08 Thread Mark Thomas
On 08/02/2024 14:37, Ryan Esch wrote: I'm using Tomcat 9. I have a provider in jaspic-providers.xml: I am not sure how to get these properties to my ServerAuthModule. I have a ServletContextListener and can see that the jaspic-providers.xml file is being processed if I call:

Re: Persistent Manager Implementation Question

2024-02-08 Thread Mark Thomas
Try turning on ALL logging for the org.apache.catalina.session package. Mark On 08/02/2024 20:49, Miguel Vidal wrote: demo4.zip Hello, Specifications Windows 10 Tomcat 8.5 this is a configuration

Re: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Mark Thomas
Confirmed this is user error. There is no bug in the migration tool. Steps to demonstrate this: - Create new, blank Eclipse dynamic web project - Add provided servlet code - Add required libraries - Remove referenced to internal logging code - Add web.xml with basic mapping to "/test" - Export

Re: Tomcat not syncing existing sessions on restart

2024-02-08 Thread Mark Thomas
On 07/02/2024 11:43, Manak Bisht wrote: I think I have narrowed down the problem. For Tomcat 9 (v9.0.85), using 0.0.0.0 for the local member and receiver works fine. However, the same does not work in Tomcat 8.5 (v8.5.98). Same JRE? Generally, I wouldn't use 0.0.0.0, I'd use a specific IP

Persistent Manager Implementation Question

2024-02-08 Thread Miguel Vidal
demo4.zip Hello, Specifications Windows 10 Tomcat 8.5 this is a configuration question . the tomcat specification that works : https://tomcat.apache.org/tomcat-8.0-doc/config/manager.html Im trying to

RE: [EXT]Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
No I cannot compile from command line. But I do not really care how eclipse compiles my class anyway. All I know is that eclipse compiles the class without errors. Using the jars I tell it to. (all the jars run through the migration tool) But Tomcat 10 can not compile the class using those same

Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rob Sargent
> On Feb 8, 2024, at 9:04 AM, Rick Noel wrote: > > I built my app in Eclipse and the build path is set to use the migrated > jar. > It compiles without error on Eclipse and using the migrated jar. I have that > same migrated jar in the Tomcat lib > But when tomcat 10 compiles it does

RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
I built my app in Eclipse and the build path is set to use the migrated jar. It compiles without error on Eclipse and using the migrated jar. I have that same migrated jar in the Tomcat lib But when tomcat 10 compiles it does not compile I have also used the migration tool on my .war that

Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Mark Thomas
On 08/02/2024 14:38, Rick Noel wrote: My code uses no javax.server code other that what is in the third party jar. Then you need to fix your build system that is compiling your code against the original xmlrpc-server3.1.3.jar rather than the migrated version. Is it not the third part jar

RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
My code uses no javax.server code other that what is in the third party jar. Is it not the third part jar that needs to stop using javax.server ? Where in my code does it use javax.server, other than from classes in package org.apache.xmlrpc? package com.radiovoodoo.xmlrpc; import

Getting provider/properties from jaspic-providers.xml to my ServerAuthModule

2024-02-08 Thread Ryan Esch
I'm using Tomcat 9. I have a provider in jaspic-providers.xml:                 I am not sure how to get these properties to my ServerAuthModule. I have a ServletContextListener and can see that the jaspic-providers.xml file is being processed if I call: AuthConfigFactory factory =

Re: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Mark Thomas
On 08/02/2024 14:17, Rick Noel wrote: My class is RVXmlRpcServlet and below is the compile error that happens when I use the xmlrpc-server3.1.3.jar after that jar has been run through the migration tool jakartaee-migration-1.0.7 That same class throws NO compile error on Tomcat 9 using

RE: [EXT]Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
My class is RVXmlRpcServlet and below is the compile error that happens when I use the xmlrpc-server3.1.3.jar after that jar has been run through the migration tool jakartaee-migration-1.0.7 That same class throws NO compile error on Tomcat 9 using xmlrpc-server3.1.3.jar Here is the compile

Re: jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Mark Thomas
On 08/02/2024 13:45, Rick Noel wrote: Our application uses classes in this jar xmlrpc-server3.1.3.jar .(it is the latest version) We are trying to migrate to Tomcat 10 but that jar uses the javax.server. package classes instead of the needed jakarta.server. pacakage. I have tried

jakartaee-migration-1.0.7 migration tool failure

2024-02-08 Thread Rick Noel
Our application uses classes in this jar xmlrpc-server3.1.3.jar .(it is the latest version) We are trying to migrate to Tomcat 10 but that jar uses the javax.server. package classes instead of the needed jakarta.server. pacakage. I have tried running this jar trough the latest Tomcat

Re: Operation not permitted errors [EXTERNAL]

2024-02-07 Thread Christopher Schultz
Shawn, On 2/7/24 10:48, Beard, Shawn wrote: It is on a Linux server, The file system mentions is actually a CIFS mount from a windows server. Its not creating a directory, only that file. Odd thing is that I can manually create a file in that directory as the user Tomcat is running as using

Re: Operation not permitted errors [EXTERNAL]

2024-02-07 Thread Tim Funk
Crazy wild guess looking at the stack trace ... > sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) > at sun.nio.fs.UnixCopyFile.copyFile(UnixCopyFile.java:283) at A snoop of sun.nio.fs.UnixCopyFile shows its calling the system call utimes() or futimes() (probably utimes) -

RE: Operation not permitted errors [EXTERNAL]

2024-02-07 Thread Beard, Shawn
It is on a Linux server, The file system mentions is actually a CIFS mount from a windows server. Its not creating a directory, only that file. Odd thing is that I can manually create a file in that directory as the user Tomcat is running as using touch. Shawn Beard• Team Lead

Re: Tomcat not syncing existing sessions on restart

2024-02-07 Thread Manak Bisht
I think I have narrowed down the problem. For Tomcat 9 (v9.0.85), using 0.0.0.0 for the local member and receiver works fine. However, the same does not work in Tomcat 8.5 (v8.5.98). Sincerely, Manak Bisht On Fri, Feb 2, 2024 at 9:41 PM Mark Thomas wrote: > On 31/01/2024 13:33, Manak Bisht

Re: Operation not permitted errors

2024-02-06 Thread Christopher Schultz
Shawn, On 2/6/24 13:52, Beard, Shawn wrote: An application we have running in Tomcat 9 using Java 8 is throwing this error when trying to create a file: java.nio.file.FileSystemException /path/to/filesystem/202311WEB/040389461310_08_37_246.jpg: Operation not permitted at

Operation not permitted errors

2024-02-06 Thread Beard, Shawn
An application we have running in Tomcat 9 using Java 8 is throwing this error when trying to create a file: java.nio.file.FileSystemException /path/to/filesystem/202311WEB/040389461310_08_37_246.jpg: Operation not permitted at

Re: Tomcat taglibs 2.0.0 release?

2024-02-06 Thread Jeroen Hoffman
Thanks for the answers guys, very helpful. Regards, Jeroen On Mon, Feb 5, 2024 at 5:28 PM Greg Huber wrote: > I was testing struts 7 (tomcat 10) and I also use jstl for my 404,403s etc > (when I have no struts context) ie thrown from web.xml: > > >403 >/WEB-INF/jsp/errors/403.jsp > >

Re: Web socket connections scalability

2024-02-05 Thread Christopher Schultz
Saurav, On 2/5/24 12:07, Saurav Sarkar wrote: We are on Tomcat 9.0.44 . I understand NIO HTTP connector is used by default in Tomcat. We are planning to enable web socket communication. I would like to understand how many parallel web socket connections can be opened ? A lot. I understand

Re: Return a custom page in the event of a client requesting a non-existent resource on tomcat9

2024-02-05 Thread Christopher Schultz
Kaushal and Mark, On 2/4/24 15:00, Mark Thomas wrote: On 02/02/2024 18:48, Kaushal Shriyan wrote: Hi, I am running tomcat version 9.0.84 on Red Hat Enterprise Linux release 8.7 (Ootpa). Is there a way to configure the server to return a custom page in the event of a client requesting a

Web socket connections scalability

2024-02-05 Thread Saurav Sarkar
Hi All, We are on Tomcat 9.0.44 . I understand NIO HTTP connector is used by default in Tomcat. We are planning to enable web socket communication. I would like to understand how many parallel web socket connections can be opened ? I understand that there is no default maxConnections value but

Re: Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Greg Huber
I was testing struts 7 (tomcat 10) and I also use jstl for my 404,403s etc (when I have no struts context) ie thrown from web.xml: 403 /WEB-INF/jsp/errors/403.jsp Previously on this list it mentioned using the glassfish version. Think glassfish is eclipse? org.glassfish.web

Re: Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Mark Thomas
On 05/02/2024 15:49, Jeroen Hoffman wrote: On Mon, Feb 5, 2024 at 4:05 PM Mark Thomas wrote: Are there plans to release the 2.0.0 version? No plans. Tomcat 10.1.x onwards uses the 1.2.5 taglibs release converted for Jakarta EE using the Tomcat migration tool. Thanks for the quick

Re: Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Jeroen Hoffman
On Mon, Feb 5, 2024 at 4:05 PM Mark Thomas wrote: > > > > Are there plans to release the 2.0.0 version? > > No plans. > > Tomcat 10.1.x onwards uses the 1.2.5 taglibs release converted for > Jakarta EE using the Tomcat migration tool. > Thanks for the quick answer! Could you share some details

Re: Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Mark Thomas
On 05/02/2024 14:16, Jeroen Hoffman wrote: Hi everybody, I have a question on Tomcat taglibs, I chose this mailing list because the taglibs-user one seems inactive. We in the process of updating our application to use Java 17 and Tomcat 10, including javax/jakarta change. It uses Tomcat

How to deal with beans.xml during process of GraalVM native image build?

2024-02-05 Thread Jun Suzuki
Within a spring framework application, it uses beanx.xml to define a bean names "GreetingService": And this bean is being called as below: === ApplicationContext context = new

Tomcat taglibs 2.0.0 release?

2024-02-05 Thread Jeroen Hoffman
Hi everybody, I have a question on Tomcat taglibs, I chose this mailing list because the taglibs-user one seems inactive. We in the process of updating our application to use Java 17 and Tomcat 10, including javax/jakarta change. It uses Tomcat Standard Taglibs. We noticed that the code

Re: Return a custom page in the event of a client requesting a non-existent resource on tomcat9

2024-02-04 Thread Mark Thomas
On 02/02/2024 18:48, Kaushal Shriyan wrote: Hi, I am running tomcat version 9.0.84 on Red Hat Enterprise Linux release 8.7 (Ootpa). Is there a way to configure the server to return a custom page in the event of a client requesting a non-existent resource. Yes. Please guide me. To do this

Community over Code EU 2024 Travel Assistance Applications now open!

2024-02-03 Thread Gavin McDonald
Hello to all users, contributors and Committers! The Travel Assistance Committee (TAC) are pleased to announce that travel assistance applications for Community over Code EU 2024 are now open! We will be supporting Community over Code EU, Bratislava, Slovakia, June 3th - 5th, 2024. TAC exists

Return a custom page in the event of a client requesting a non-existent resource on tomcat9

2024-02-02 Thread Kaushal Shriyan
Hi, I am running tomcat version 9.0.84 on Red Hat Enterprise Linux release 8.7 (Ootpa). Is there a way to configure the server to return a custom page in the event of a client requesting a non-existent resource. Please guide me. Thanks in advance. Best Regards, Kaushal

Re: Tomcat not syncing existing sessions on restart

2024-02-02 Thread Mark Thomas
On 31/01/2024 13:33, Manak Bisht wrote: I tried tweaking all the settings that I could think of but I am unable to sync sessions on restart even on a stock Tomcat 8.5.98 installation using your provided war. I am unable to identify whether this is actually a bug or something wrong with my

Re: Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-02 Thread Lori Kilen
Chris, I did not remove the previous service, but in the Tomcat properties manager, Java tab, all the paths were correct. However, after reviewing your email, I deleted the tomcat9 service and then reinstalled it. That did the trick! I was able to start the service. Thank you so much!

Re: How does the user principal get set on the servlet container session?

2024-02-01 Thread Mark Thomas
On 01/02/2024 17:48, Ryanesch@yahoo wrote: On Feb 1, 2024, at 10:34 AM, Mark Thomas wrote: On 31/01/2024 00:15, Ryan Esch wrote: From what I understand, the container knows if a user is authenticated by using the session id passed to it and then looking up the user principal. If

Re: Session Cookie Logging

2024-02-01 Thread Christopher Schultz
Dan, On 2/1/24 11:54, Dan McLaughlin wrote: I was able to identify the problem - there was a session configuration with cookie configuration in the catalina-base/web.xml file. catalina-base/conf/web.xml? I did mention on 26 Jan that this wasn't a good idea and could be causing this kind of

Re: Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-01 Thread Christopher Schultz
Lori, On 2/1/24 10:35, Lori Kilen wrote: Hello, I have a Windows server (v2019) and I've updated java to Corretto jdk11.0.22_7 and Tomcat to 9.0.85. I added Tomcat as a Windows Service. I can start Tomcat from CMD using startup.bat and I can open localhost:8080 in a browser to display

Re: Session Cookie Logging

2024-02-01 Thread Dan McLaughlin
Hey Mark, I was able to identify the problem - there was a session configuration with cookie configuration in the catalina-base/web.xml file. I just wanted to suggest that it would be great if logging could be enabled to show not only what the parameters were set to, but also where the values

Re: How does the user principal get set on the servlet container session?

2024-02-01 Thread Ryanesch@yahoo
> > On Feb 1, 2024, at 10:34 AM, Mark Thomas wrote: > > On 31/01/2024 00:15, Ryan Esch wrote: >> From what I understand, the container knows if a user is authenticated by >> using the session id passed to it and then looking up the user principal. If >> this is non-null, the user is

Re: How does the user principal get set on the servlet container session?

2024-02-01 Thread Mark Thomas
On 31/01/2024 00:15, Ryan Esch wrote: From what I understand, the container knows if a user is authenticated by using the session id passed to it and then looking up the user principal. If this is non-null, the user is authenticated. I am using web.xml with security constraints and

Re: Session Cookie Logging

2024-02-01 Thread Mark Thomas
On 27/01/2024 14:38, Dan McLaughlin wrote: Hey Mark, If you see a bug report, then that will mean I was able to reproduce it. I see different behaviors in our local docker environment. Still, it's nowhere as complex as our production environment--where everything is clustered and behind

Cannot start java issue after Tomcat9 and JDK 11 updates

2024-02-01 Thread Lori Kilen
Hello, I have a Windows server (v2019) and I've updated java to Corretto jdk11.0.22_7 and Tomcat to 9.0.85. I added Tomcat as a Windows Service. I can start Tomcat from CMD using startup.bat and I can open localhost:8080 in a browser to display Tomcat page. But I cannot start Tomcat from

Re: Tomcat not syncing existing sessions on restart

2024-01-31 Thread Manak Bisht
I tried tweaking all the settings that I could think of but I am unable to sync sessions on restart even on a stock Tomcat 8.5.98 installation using your provided war. I am unable to identify whether this is actually a bug or something wrong with my configuration (this is far more likely). Could

Re: How does the user principal get set on the servlet container session?

2024-01-30 Thread Terence M. Bandoian
What should happen if session.getAttribute("javax.security.auth.subject") returns a non-null value? -Terence Bandoian On 1/30/2024 5:15 PM, Ryan Esch wrote: >From what I understand, the container knows if a user is authenticated by using the session id passed to it and then looking up the

How does the user principal get set on the servlet container session?

2024-01-30 Thread Ryan Esch
>From what I understand, the container knows if a user is authenticated by >using the session id passed to it and then looking up the user principal. If >this is non-null, the user is authenticated. I am using web.xml with security >constraints and UsersRoleLoginModule defined in jaas.conf

Re: Rotating/archiving catalina.out

2024-01-30 Thread Tim Funk
One option (hacky workaround) is to try using "swallowOutput" which may mitigate the worst of your issue. (Beyond a rewrite with a logging framework) https://tomcat.apache.org/tomcat-9.0-doc/config/context.html -Tim On Mon, Jan 29, 2024 at 3:28 PM Aryeh Friedman wrote: > We need to shrink the

Re: Rotating/archiving catalina.out

2024-01-30 Thread Michael Osipov
On 2024/01/29 20:28:05 Aryeh Friedman wrote: > We need to shrink the size of catalina.out but looking at the logging > documentation I do not see any way to do this with the standard > logging.properties (or else where). Due to the nature of the > production site we never bring it completely

Re: Tomcat 9 release plan

2024-01-30 Thread Olaf Kock
On 30.01.24 12:10, Kambhapati, Sindhuri wrote: Hi, Can you give me link for the tomcat forum please. https://tomcat.apache.org/lists.html - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: Tomcat 9 release plan

2024-01-30 Thread Kambhapati, Sindhuri
Hi, Can you give me link for the tomcat forum please. On Tue, Jan 30, 2024 at 4:34 PM Torsten Krah wrote: > Am Dienstag, dem 30.01.2024 um 16:29 +0530 schrieb Kambhapati, > Sindhuri: > > Can we get a confirmation as to how long tomcat 9 releases would be > > happening or there would be support

Re: Tomcat 9 release plan

2024-01-30 Thread Torsten Krah
Am Dienstag, dem 30.01.2024 um 16:29 +0530 schrieb Kambhapati, Sindhuri: > Can we get a confirmation as to how long tomcat 9 releases would be > happening or there would be support for the existing one's. Please look / search in the archives, this was already discussed a few days ago, topic was:

<    2   3   4   5   6   7   8   9   10   11   >