Re: EOL - Tomcat versions

2024-01-09 Thread Christopher Schultz

Maruks,

On 1/8/24 1:47 AM, i...@flyingfischer.ch wrote:

https://endoflife.date/tomcat


This is actually really great: accurate and up-to-date.

The only disappointing thing is that it does not have references 
pointing to the original documentation from the project.


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



[ANN] Apache Tomcat 9.0.85 available

2024-01-09 Thread Rémy Maucherat
The Apache Tomcat team announces the immediate availability of Apache
Tomcat 9.0.85.

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.85 is a bugfix and feature release. The notable
changes compared to 9.0.84 include:

- Fix virtual thread support for the NIO2 connector

- Correct a regression in the fix for 67675 that broke TLS key file
   parsing for PKCS#8 format keys that do not specify an explicit
   pseudo-random function and rely on the default. This typically affects
   keys generated by OpenSSL 1.0.2.

- Allow multiple operations with the same name on introspected mbeans,
   fixing a regression caused by the introduction of a second
   addSslHostConfig() method.

Along with lots of other bug fixes and improvements.

Please refer to the change log for the complete list of changes:
https://tomcat.apache.org/tomcat-9.0-doc/changelog.html


Downloads:
https://tomcat.apache.org/download-90.cgi

Migration guides from Apache Tomcat 7.x and 8.x:
https://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



[ANN] Apache Tomcat 11.0.0-M16 (alpha) available

2024-01-09 Thread Mark Thomas

The Apache Tomcat team announces the immediate availability of Apache
Tomcat 11.0.0-M16 (alpha).

Apache Tomcat 11 is an open source software implementation of the
Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language,
Jakarta WebSocket, Jakarta Authentication and Jakarta Annotations
specifications.

Users of Tomcat 10 onwards should be aware that, as a result of the move
from Java EE to Jakarta EE as part of the transfer of Java EE to the
Eclipse Foundation, the primary package for all implemented APIs has
changed from javax.* to jakarta.*. This will almost certainly require
code changes to enable applications to migrate from Tomcat 9 and earlier
to Tomcat 10 and later. A migration tool is available to aid this process.

Apache Tomcat 11.0.0-M16 is a milestone release of the 11.0.x branch and 
has been made to provide users with early access to the new features in 
Apache Tomcat 11.0.x so that they may provide feedback. The notable 
changes compared to 11.0.0-M15 include:


- Fix virtual thread support for the NIO2 connector

- Correct a regression in the fix for 67675 that broke TLS key file
  parsing for PKCS#8 format keys that do not specify an explicit
  pseudo-random function and rely on the default. This typically affects
  keys generated by OpenSSL 1.0.2.

- Allow multiple operations with the same name on introspected mbeans,
  fixing a regression caused by the introduction of a second
  addSslHostConfig() method.

Please refer to the change log for the complete list of changes:
http://tomcat.apache.org/tomcat-11.0-doc/changelog.html

Downloads:
http://tomcat.apache.org/download-11.cgi

Migration guides from Apache Tomcat 8.5.x, 9.0.x and 10.1.x:
http://tomcat.apache.org/migration.html

Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Apache Tomcat 8.5.98 Available

2024-01-09 Thread Christopher Schultz

The Apache Tomcat team announces the immediate availability of Apache
Tomcat 8.5.98.

Apache Tomcat 8 is an open source software implementation of the Java
Servlet, JavaServer Pages, Java Unified Expression Language, Java
WebSocket and JASPIC technologies.

Apache Tomcat 8.5.98 is a bugfix and feature release. The notable
changes compared to 8.5.97 include:

- Fix virtual thread support for the NIO2 connector.

- Correct a regression in the fix for 67675 that broke TLS key file
  parsing for PKCS#8 format keys that do not specify an explicit
  pseudo-random function and rely on the default. This typically affects
  keys generated by OpenSSL 1.0.2.

- Allow multiple operations with the same name on introspected mbeans,
  fixing a regression caused by the introduction of a second
  addSslHostConfig() method.

Please refer to the change log for the complete list of changes:
https://tomcat.apache.org/tomcat-8.5-doc/changelog.html

Downloads:
https://tomcat.apache.org/download-80.cgi

Migration guides from Apache Tomcat 7.x and 8.0:
https://tomcat.apache.org/migration.html

Please note that Tomcat 8.5.x will reach End-of-life (EOL) on 31 March 
2024. For more information please visit 
https://tomcat.apache.org/tomcat-85-eol.html


Enjoy!

- The Apache Tomcat team

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Windows 10 - installing tomcat 9.0.84 as a service

2024-01-09 Thread Christoph Kukulies
Thanks for reading along :)

Gotit running now.

First off: too old Java Version bin/client or bin/server didn't exist
After removing that service using  tomcat9 //DS I reinstalled it using 
service.bat install.

C:\apache-tomcat-9.0.84\bin>service.bat install 
Installing the service 'Tomcat9' ...

Using CATALINA_HOME:"C:\apache-tomcat-9.0.84"   
Using CATALINA_BASE:
"C:\apache-tomcat-9.0.84"   
Using JAVA_HOME:"c:\Program Files\Java\jre-8"   
Using JRE_HOME: 
"c:\Program Files\Java\jre-8"   
Using JVM:  "c:\Program 
Files\Java\jre-8\bin\server\jvm.dll"
The service 'Tomcat9' has been installed.   

 

Stopping and starting the service using tomcat9w (setting everying to auto and 
start mode Automatic) finale made it working.

--
Christoph

> Am 09.01.2024 um 15:03 schrieb Christoph Kukulies :
> 
> The picture has changed a bit:
> 
> C:\apache-tomcat-9.0.84\bin>service.bat install
> Installing the service 'Tomcat9' ...
> Using CATALINA_HOME:"C:\apache-tomcat-9.0.84"
> Using CATALINA_BASE:"C:\apache-tomcat-9.0.84"
> Using JAVA_HOME:"c:\Program Files\Java\jdk1.8.0_161"
> Using JRE_HOME: "c:\Program Files\Java\jdk1.8.0_161\jre"
> Using JVM:  "c:\Program 
> Files\Java\jdk1.8.0_161\jre\bin\server\jvm.dll"
> Failed installing 'Tomcat9' service
> 
> C:\apache-tomcat-9.0.84\bin>
> C:\apache-tomcat-9.0.84\logs\commons-daemon.2024-01-09.log :
> 
> [2024-01-09 14:57:32] [info]  [ 7400] Apache Commons Daemon procrun (1.3.4.0 
> 64-bit) started.
> [2024-01-09 14:57:32] [info]  [ 7400] Running Service 'tomcat9'...
> [2024-01-09 14:57:32] [error] [ 7400] StartServiceCtrlDispatcher for 
> 'tomcat9' failed.
> [2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine 
> Verbindung mit dem Dienstcontroller herstellen.
> [2024-01-09 14:57:32] [error] [ 7400] Apache Commons Daemon procrun failed 
> with exit value: 4 (failed to run service).
> [2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine 
> Verbindung mit dem Dienstcontroller herstellen.
> 
> 
>> Am 09.01.2024 um 14:31 schrieb Christoph Kukulies > >:
>> 
>> A few more observations: the tomcat9 service got installed nonetheless. I 
>> was able to chage the log path using tomcat9w afterwards.
>> But the logs don't look nice, not to talk  from seeing anything listening to 
>> port 8080:
>> 
>> 
>> [2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun (1.3.4.0 
>> 64-bit) started.
>> [2024-01-09 14:19:27] [info]  [ 9876] Running Service 'tomcat9'...
>> [2024-01-09 14:19:27] [info]  [ 6216] Starting service...
>> [2024-01-09 14:19:27] [error] [ 6216] Missing service ImageFile.
>> [2024-01-09 14:19:27] [error] [ 6216] ServiceStart returned 1.
>> [2024-01-09 14:19:27] [info]  [ 9876] Run service finished.
>> [2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun finished.
>> [2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun (1.3.4.0 
>> 64-bit) started.
>> [2024-01-09 14:19:36] [info]  [ 8044] Running Service 'tomcat9'...
>> [2024-01-09 14:19:36] [info]  [ 5340] Starting service...
>> [2024-01-09 14:19:36] [error] [ 5340] Missing service ImageFile.
>> [2024-01-09 14:19:36] [error] [ 5340] ServiceStart returned 1.
>> [2024-01-09 14:19:36] [info]  [ 8044] Run service finished.
>> [2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun finished.
>> [2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun (1.3.4.0 
>> 64-bit) started.
>> [2024-01-09 14:21:25] [info]  [ 1388] Running Service 'tomcat9'...
>> [2024-01-09 14:21:25] [info]  [ 3424] Starting service...
>> [2024-01-09 14:21:25] [error] [ 3424] Missing service ImageFile.
>> [2024-01-09 14:21:25] [error] [ 3424] ServiceStart returned 1.
>> [2024-01-09 14:21:25] [info]  [ 1388] Run service finished.
>> [2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun finished.
>> [2024-01-09 14:21:37] [info]  [ 9840] Apache Commons Daemon procrun (1.3.4.0 
>> 64-bit) started.
>> [2024-01-09 14:21:37] [info]  [ 9840] Running Service 'tomcat9'...
>> [2024-01-09 14:21:37] [info]  [ 9876] Starting service...
>> [2024-01-09 14:21:37] [error] [ 9876] Missing service ImageFile.
>> [2024-01-09 14:21:37] [error] [ 9876] ServiceStart returned 1.
>> [2024-01-09 14:21:37] [info]  [ 9840] Run service finished.
>> [2024-01-09 14:21:37] [info]  [ 

Re: Windows 10 - installing tomcat 9.0.84 as a service

2024-01-09 Thread Christoph Kukulies
The picture has changed a bit:

C:\apache-tomcat-9.0.84\bin>service.bat install
Installing the service 'Tomcat9' ...
Using CATALINA_HOME:"C:\apache-tomcat-9.0.84"
Using CATALINA_BASE:"C:\apache-tomcat-9.0.84"
Using JAVA_HOME:"c:\Program Files\Java\jdk1.8.0_161"
Using JRE_HOME: "c:\Program Files\Java\jdk1.8.0_161\jre"
Using JVM:  "c:\Program 
Files\Java\jdk1.8.0_161\jre\bin\server\jvm.dll"
Failed installing 'Tomcat9' service

C:\apache-tomcat-9.0.84\bin>
C:\apache-tomcat-9.0.84\logs\commons-daemon.2024-01-09.log :

[2024-01-09 14:57:32] [info]  [ 7400] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:57:32] [info]  [ 7400] Running Service 'tomcat9'...
[2024-01-09 14:57:32] [error] [ 7400] StartServiceCtrlDispatcher for 'tomcat9' 
failed.
[2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine Verbindung 
mit dem Dienstcontroller herstellen.
[2024-01-09 14:57:32] [error] [ 7400] Apache Commons Daemon procrun failed with 
exit value: 4 (failed to run service).
[2024-01-09 14:57:32] [error] [ 7400] Der Dienstprozess konnte keine Verbindung 
mit dem Dienstcontroller herstellen.


> Am 09.01.2024 um 14:31 schrieb Christoph Kukulies :
> 
> A few more observations: the tomcat9 service got installed nonetheless. I was 
> able to chage the log path using tomcat9w afterwards.
> But the logs don't look nice, not to talk  from seeing anything listening to 
> port 8080:
> 
> 
> [2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun (1.3.4.0 
> 64-bit) started.
> [2024-01-09 14:19:27] [info]  [ 9876] Running Service 'tomcat9'...
> [2024-01-09 14:19:27] [info]  [ 6216] Starting service...
> [2024-01-09 14:19:27] [error] [ 6216] Missing service ImageFile.
> [2024-01-09 14:19:27] [error] [ 6216] ServiceStart returned 1.
> [2024-01-09 14:19:27] [info]  [ 9876] Run service finished.
> [2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun finished.
> [2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun (1.3.4.0 
> 64-bit) started.
> [2024-01-09 14:19:36] [info]  [ 8044] Running Service 'tomcat9'...
> [2024-01-09 14:19:36] [info]  [ 5340] Starting service...
> [2024-01-09 14:19:36] [error] [ 5340] Missing service ImageFile.
> [2024-01-09 14:19:36] [error] [ 5340] ServiceStart returned 1.
> [2024-01-09 14:19:36] [info]  [ 8044] Run service finished.
> [2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun finished.
> [2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun (1.3.4.0 
> 64-bit) started.
> [2024-01-09 14:21:25] [info]  [ 1388] Running Service 'tomcat9'...
> [2024-01-09 14:21:25] [info]  [ 3424] Starting service...
> [2024-01-09 14:21:25] [error] [ 3424] Missing service ImageFile.
> [2024-01-09 14:21:25] [error] [ 3424] ServiceStart returned 1.
> [2024-01-09 14:21:25] [info]  [ 1388] Run service finished.
> [2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun finished.
> [2024-01-09 14:21:37] [info]  [ 9840] Apache Commons Daemon procrun (1.3.4.0 
> 64-bit) started.
> [2024-01-09 14:21:37] [info]  [ 9840] Running Service 'tomcat9'...
> [2024-01-09 14:21:37] [info]  [ 9876] Starting service...
> [2024-01-09 14:21:37] [error] [ 9876] Missing service ImageFile.
> [2024-01-09 14:21:37] [error] [ 9876] ServiceStart returned 1.
> [2024-01-09 14:21:37] [info]  [ 9840] Run service finished.
> [2024-01-09 14:21:37] [info]  [ 9840] Apache Commons Daemon procrun finished.
> 
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Re: Windows 10 - installing tomcat 9.0.84 as a service

2024-01-09 Thread Christoph Kukulies
A few more observations: the tomcat9 service got installed nonetheless. I was 
able to chage the log path using tomcat9w afterwards.
But the logs don't look nice, not to talk  from seeing anything listening to 
port 8080:


[2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:19:27] [info]  [ 9876] Running Service 'tomcat9'...
[2024-01-09 14:19:27] [info]  [ 6216] Starting service...
[2024-01-09 14:19:27] [error] [ 6216] Missing service ImageFile.
[2024-01-09 14:19:27] [error] [ 6216] ServiceStart returned 1.
[2024-01-09 14:19:27] [info]  [ 9876] Run service finished.
[2024-01-09 14:19:27] [info]  [ 9876] Apache Commons Daemon procrun finished.
[2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:19:36] [info]  [ 8044] Running Service 'tomcat9'...
[2024-01-09 14:19:36] [info]  [ 5340] Starting service...
[2024-01-09 14:19:36] [error] [ 5340] Missing service ImageFile.
[2024-01-09 14:19:36] [error] [ 5340] ServiceStart returned 1.
[2024-01-09 14:19:36] [info]  [ 8044] Run service finished.
[2024-01-09 14:19:36] [info]  [ 8044] Apache Commons Daemon procrun finished.
[2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:21:25] [info]  [ 1388] Running Service 'tomcat9'...
[2024-01-09 14:21:25] [info]  [ 3424] Starting service...
[2024-01-09 14:21:25] [error] [ 3424] Missing service ImageFile.
[2024-01-09 14:21:25] [error] [ 3424] ServiceStart returned 1.
[2024-01-09 14:21:25] [info]  [ 1388] Run service finished.
[2024-01-09 14:21:25] [info]  [ 1388] Apache Commons Daemon procrun finished.
[2024-01-09 14:21:37] [info]  [ 9840] Apache Commons Daemon procrun (1.3.4.0 
64-bit) started.
[2024-01-09 14:21:37] [info]  [ 9840] Running Service 'tomcat9'...
[2024-01-09 14:21:37] [info]  [ 9876] Starting service...
[2024-01-09 14:21:37] [error] [ 9876] Missing service ImageFile.
[2024-01-09 14:21:37] [error] [ 9876] ServiceStart returned 1.
[2024-01-09 14:21:37] [info]  [ 9840] Run service finished.
[2024-01-09 14:21:37] [info]  [ 9840] Apache Commons Daemon procrun finished.





















































































> Am 09.01.2024 um 14:05 schrieb Christoph Kukulies :
> 
> I'm trying to install Tomcat-9.0.84 under Windows 10 as a service.
> I unpacked it under C:\apache-tomcat-9.0.84 and after creating a file 
> setenv.bat (as of the RUNNING.TXT document)
> I ran:
> 
> C:\apache-tomcat-9.0.84\bin>set CATALINA_HOME=C:\apache-tomcat-9.0.84"
> 
> C:\apache-tomcat-9.0.84\bin>tomcat9 //IS
> [2024-01-09 13:57:22] [warn]  [10572] Failed to grant service user 'NT 
> AUTHORITY\LocalService' write permissions to log path 
> 'C:\WINDOWS\system32\LogFiles\Apache' due to error '19: Das Medium ist 
> schreibgesch³tzt.'
> 
> C:\apache-tomcat-9.0.84\bin>
> 
> This was done in a CMD Window with administrative rights. It's quite a couple 
> of years back I did a tomcat installation under Windows.
> Some help appreciated. Thank you.
> 
> --
> Christoph
> 
> 



smime.p7s
Description: S/MIME cryptographic signature


Windows 10 - installing tomcat 9.0.84 as a service

2024-01-09 Thread Christoph Kukulies
I'm trying to install Tomcat-9.0.84 under Windows 10 as a service.
I unpacked it under C:\apache-tomcat-9.0.84 and after creating a file 
setenv.bat (as of the RUNNING.TXT document)
I ran:

C:\apache-tomcat-9.0.84\bin>set CATALINA_HOME=C:\apache-tomcat-9.0.84"

C:\apache-tomcat-9.0.84\bin>tomcat9 //IS
[2024-01-09 13:57:22] [warn]  [10572] Failed to grant service user 'NT 
AUTHORITY\LocalService' write permissions to log path 
'C:\WINDOWS\system32\LogFiles\Apache' due to error '19: Das Medium ist 
schreibgesch³tzt.'

C:\apache-tomcat-9.0.84\bin>

This was done in a CMD Window with administrative rights. It's quite a couple 
of years back I did a tomcat installation under Windows.
Some help appreciated. Thank you.

--
Christoph




smime.p7s
Description: S/MIME cryptographic signature


Re: Regarding Tomcat is creating the zombie processes

2024-01-09 Thread Mark Thomas

On 09/01/2024 10:11, Vaidya, Omkar wrote:

Hi Mark,

Thanks for the response. For mainly related to our Thingworx IOT-based 
application, we are using the Tomcat 9.0.62 server. So for that, we are getting 
zombie or defunct processes.

"Please provide the steps you used to recreate this issue in a clean installation of a 
standalone Tomcat instance." -> So for this,  We have executed our installer, which 
itself installs the Tomcat server. So, there are no manual steps that we ask the user to 
execute.


That is not a clean installation of a standalone Tomcat. That is your 
installer which could, frankly, be doing anything.


Your original post claimed that this issue was reproducible on a 
standalone Tomcat installation. You need to provide details of how to 
reproduce this on a clean standalone Tomcat installation - i.e. starting 
with an installer provided by the ASF.



As per the previous response, "A default Tomcat install does not create parent and 
child processes, so zombie processes cannot occur." -> So we have raised a support 
case with Tomcat to just understand the reason why defunct processes are created.

Is anybody already raised case similar to defunct or related to zombie 
processes. If yes, can you please share which resolution you have provided to 
them to prevent creation of those.


This is open source support, provided by volunteers, for free. Not a 
commercial support agreement. If you want a commercial support agreement 
then there are plenty of vendors offering them (of varying quality). And 
you'll need to pay for it.


So far, you have claimed a problem exists without providing any evidence 
to back up that claim.


You need to provide the steps to re-create the problem from a clean 
installation of a current Tomcat package provided by the ASF.


Given that the issue is with zombie process (which require parent/child 
process) and that a standard Tomcat installation is a single process 
that never forks any children, this currently looks like something that 
is not a Tomcat issue.


At this point the onus is on you to provide the steps necessary for 
someone on this list to recreate the problem you are seeing starting 
from a Tomcat distribution downloaded from tomcat.apache.org


Mark




Thanks,
Omkar V.

-Original Message-
From: Mark Thomas 
Sent: Friday, January 5, 2024 6:00 PM
To: users@tomcat.apache.org
Subject: Re: Regarding Tomcat is creating the zombie processes

[You don't often get email from ma...@apache.org. Learn why this is important 
at https://aka.ms/LearnAboutSenderIdentification ]

You will need to provide more details.

A default Tomcat install does not create parent and child processes so zombie 
processes cannot occur.

I'll also note that zombie process do not consume system resources (apart from 
a process ID).

Please provide the steps you used to recreate this issue in a clean 
installation of a standalone Tomcat instance.

Mark


On 05/01/2024 09:48, Vaidya, Omkar wrote:

Adding information -
Tomcat Version - 9.0.62
Platform - Linux Platform


From: Vaidya, Omkar 
Sent: Friday, January 5, 2024 3:15 PM
To: users@tomcat.apache.org
Cc: Shriwardhankar, Varun 
Subject: Regarding Tomcat is creating the zombie processes

Hi Team,

This is regarding like we have one customer issue where on Linux platform, we 
have configured our IOT-application (Thingworx), which is using Tomcat as a 
server.
So we are able to identify that even when we remove our application, Tomcat is 
creating a zombie (defunct) process, which is creating 200+ processes under the 
process table, which ultimately occupy all the OS resources and the application 
goes in a hung state. This issue is also reproducible on the Standalone Tomcat 
server also.
There are two scenarios mentioned below -
1.If this is relatable to Tomcat can you please suggest any article 
or documentation so that we can stop zombie process creation, if this is a 
known issue or there is only way to clear zombie (defunct) process from 
Processes table of linux.
2.Also, let us know if this is a Operating System specific issue 
like as it is reproducible only on Linux, So Linux os is the thing that creates 
the zombie (defunct) processes?
we are eagerly waiting for the response.

Thanks,
Omkar Vaidya.




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Regarding Tomcat is creating the zombie processes

2024-01-09 Thread Simon Matter
Hi,

I'm not Mark but still try to provide my help

> Hi Mark,
>
> Thanks for the response. For mainly related to our Thingworx IOT-based
> application, we are using the Tomcat 9.0.62 server. So for that, we are
> getting zombie or defunct processes.
>
> "Please provide the steps you used to recreate this issue in a clean
> installation of a standalone Tomcat instance." -> So for this,  We have
> executed our installer, which itself installs the Tomcat server. So, there
> are no manual steps that we ask the user to execute.

What you were asked is to provide full details about your installer.
That's most likely where we could see why you have this issue.

>
> As per the previous response, "A default Tomcat install does not create
> parent and child processes, so zombie processes cannot occur." -> So we
> have raised a support case with Tomcat to just understand the reason why
> defunct processes are created.

I'm not sure you can "raise a support case with Tomcat" as you do with
commercial companies where you pay for support contracts. At least I was
not aware Apache Tomcat provides such contracts, but I may have missed it.

>
> Is anybody already raised case similar to defunct or related to zombie
> processes. If yes, can you please share which resolution you have provided
> to them to prevent creation of those.

Your best bet may be to openly provide more detailed info so we, as a
community, can help you identifying why you see zombie processes.

Regards,
Simon

>
> Thanks,
> Omkar V.
>
> -Original Message-
> From: Mark Thomas 
> Sent: Friday, January 5, 2024 6:00 PM
> To: users@tomcat.apache.org
> Subject: Re: Regarding Tomcat is creating the zombie processes
>
> [You don't often get email from ma...@apache.org. Learn why this is
> important at https://aka.ms/LearnAboutSenderIdentification ]
>
> You will need to provide more details.
>
> A default Tomcat install does not create parent and child processes so
> zombie processes cannot occur.
>
> I'll also note that zombie process do not consume system resources (apart
> from a process ID).
>
> Please provide the steps you used to recreate this issue in a clean
> installation of a standalone Tomcat instance.
>
> Mark
>
>
> On 05/01/2024 09:48, Vaidya, Omkar wrote:
>> Adding information -
>> Tomcat Version - 9.0.62
>> Platform - Linux Platform
>>
>>
>> From: Vaidya, Omkar 
>> Sent: Friday, January 5, 2024 3:15 PM
>> To: users@tomcat.apache.org
>> Cc: Shriwardhankar, Varun 
>> Subject: Regarding Tomcat is creating the zombie processes
>>
>> Hi Team,
>>
>> This is regarding like we have one customer issue where on Linux
>> platform, we have configured our IOT-application (Thingworx), which is
>> using Tomcat as a server.
>> So we are able to identify that even when we remove our application,
>> Tomcat is creating a zombie (defunct) process, which is creating 200+
>> processes under the process table, which ultimately occupy all the OS
>> resources and the application goes in a hung state. This issue is also
>> reproducible on the Standalone Tomcat server also.
>> There are two scenarios mentioned below -
>> 1.If this is relatable to Tomcat can you please suggest any
>> article or documentation so that we can stop zombie process creation, if
>> this is a known issue or there is only way to clear zombie (defunct)
>> process from Processes table of linux.
>> 2.Also, let us know if this is a Operating System specific
>> issue like as it is reproducible only on Linux, So Linux os is the thing
>> that creates the zombie (defunct) processes?
>> we are eagerly waiting for the response.
>>
>> Thanks,
>> Omkar Vaidya.
>>
>>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Posting questions

2024-01-09 Thread Simon Matter
> Refer to attached screenshot.

Attached screenshot? This is a public mailing list so your best option is
to provide information in posted text format, screenshots and other images
most likely won't make it through in a usable way :)

Regards,
Simon

>
> -Original Message-
> From: Jalaj Asher 
> Sent: Friday, January 5, 2024 8:02 PM
> To: Tomcat Users List 
> Subject: RE: Posting questions
>
> [You don't often get email from jalaj.as...@eclinicalworks.com.invalid.
> Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification ]
>
> Omkar,
> 2 questions
> 1. when you say processes what processes are you seeing being invoked and
> does it stop at 200 processes. May be a screen shot might help 2. does the
> tomcat have read write privilege on all its folders ? If not does giving
> those rights help ?
>
>
>
> -Original Message-
> From: Vaidya, Omkar 
> Sent: Friday, January 5, 2024 4:56 AM
> To: users@tomcat.apache.org
> Subject: Posting questions
>
> Attention! - This email has originated from an External Source outside of
> eClinicalWorks. Always use caution when opening attachments, clicking
> links, or when responding to this email. If you feel this is a phishing
> scam, please use the Phish Alert Report button in Outlook.
>
>
> Hi Team,
>
>
>
> Tomcat Version - 9.0.62
>
> Platform - Linux Platform
>
>
>
>
>
> This is regarding like we have one customer issue where on Linux platform,
> we have configured our IOT-application (Thingworx), which is using Tomcat
> as a server.
>
> So we are able to identify that even when we remove our application,
> Tomcat is creating a zombie (defunct) process, which is creating 200+
> processes under the process table, which ultimately occupy all the OS
> resources and the application goes in a hung state. This issue is also
> reproducible on the Standalone Tomcat server also.
>
> There are two scenarios mentioned below -
>
> 1.If this is relatable to Tomcat can you please suggest any
> article or documentation so that we can stop zombie process creation, if
> this is a known issue or there is only way to clear zombie (defunct)
> process from Processes table of linux.
>
> 2.Also, let us know if this is a Operating System specific
> issue like as it is reproducible only on Linux, So Linux os is the thing
> that creates the zombie (defunct) processes?
>
> we are eagerly waiting for the response.
>
>
>
> Thanks,
>
> Omkar Vaidya.
>
>
> CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains
> confidential information belonging to the sender that is legally
> privileged and proprietary and may be subject to protection under the law,
> including the Health Insurance Portability and Accountability Act (HIPAA).
> If you are not the intended recipient of this e-mail, you are prohibited
> from sharing, copying, or otherwise using or disclosing its contents. If
> you have received this e-mail in error, please notify the sender
> immediately by reply e-mail and permanently delete this e-mail and any
> attachments without reading, forwarding or saving them. Thank you.
>
> CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains
> confidential information belonging to the sender that is legally
> privileged and proprietary and may be subject to protection under the law,
> including the Health Insurance Portability and Accountability Act (HIPAA).
> If you are not the intended recipient of this e-mail, you are prohibited
> from sharing, copying, or otherwise using or disclosing its contents. If
> you have received this e-mail in error, please notify the sender
> immediately by reply e-mail and permanently delete this e-mail and any
> attachments without reading, forwarding or saving them. Thank you.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Regarding Tomcat is creating the zombie processes

2024-01-09 Thread Vaidya, Omkar
Hi Mark, 

Thanks for the response. For mainly related to our Thingworx IOT-based 
application, we are using the Tomcat 9.0.62 server. So for that, we are getting 
zombie or defunct processes. 

"Please provide the steps you used to recreate this issue in a clean 
installation of a standalone Tomcat instance." -> So for this,  We have 
executed our installer, which itself installs the Tomcat server. So, there are 
no manual steps that we ask the user to execute. 

As per the previous response, "A default Tomcat install does not create parent 
and child processes, so zombie processes cannot occur." -> So we have raised a 
support case with Tomcat to just understand the reason why defunct processes 
are created. 

Is anybody already raised case similar to defunct or related to zombie 
processes. If yes, can you please share which resolution you have provided to 
them to prevent creation of those. 

Thanks,
Omkar V. 

-Original Message-
From: Mark Thomas  
Sent: Friday, January 5, 2024 6:00 PM
To: users@tomcat.apache.org
Subject: Re: Regarding Tomcat is creating the zombie processes

[You don't often get email from ma...@apache.org. Learn why this is important 
at https://aka.ms/LearnAboutSenderIdentification ]

You will need to provide more details.

A default Tomcat install does not create parent and child processes so zombie 
processes cannot occur.

I'll also note that zombie process do not consume system resources (apart from 
a process ID).

Please provide the steps you used to recreate this issue in a clean 
installation of a standalone Tomcat instance.

Mark


On 05/01/2024 09:48, Vaidya, Omkar wrote:
> Adding information -
> Tomcat Version - 9.0.62
> Platform - Linux Platform
>
>
> From: Vaidya, Omkar 
> Sent: Friday, January 5, 2024 3:15 PM
> To: users@tomcat.apache.org
> Cc: Shriwardhankar, Varun 
> Subject: Regarding Tomcat is creating the zombie processes
>
> Hi Team,
>
> This is regarding like we have one customer issue where on Linux platform, we 
> have configured our IOT-application (Thingworx), which is using Tomcat as a 
> server.
> So we are able to identify that even when we remove our application, Tomcat 
> is creating a zombie (defunct) process, which is creating 200+ processes 
> under the process table, which ultimately occupy all the OS resources and the 
> application goes in a hung state. This issue is also reproducible on the 
> Standalone Tomcat server also.
> There are two scenarios mentioned below -
> 1.If this is relatable to Tomcat can you please suggest any 
> article or documentation so that we can stop zombie process creation, if this 
> is a known issue or there is only way to clear zombie (defunct) process from 
> Processes table of linux.
> 2.Also, let us know if this is a Operating System specific issue 
> like as it is reproducible only on Linux, So Linux os is the thing that 
> creates the zombie (defunct) processes?
> we are eagerly waiting for the response.
>
> Thanks,
> Omkar Vaidya.
>
>

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Posting questions

2024-01-09 Thread Vaidya, Omkar
Refer to attached screenshot. 

-Original Message-
From: Jalaj Asher  
Sent: Friday, January 5, 2024 8:02 PM
To: Tomcat Users List 
Subject: RE: Posting questions

[You don't often get email from jalaj.as...@eclinicalworks.com.invalid. Learn 
why this is important at https://aka.ms/LearnAboutSenderIdentification ]

Omkar,
2 questions
1. when you say processes what processes are you seeing being invoked and does 
it stop at 200 processes. May be a screen shot might help 2. does the tomcat 
have read write privilege on all its folders ? If not does giving those rights 
help ?



-Original Message-
From: Vaidya, Omkar 
Sent: Friday, January 5, 2024 4:56 AM
To: users@tomcat.apache.org
Subject: Posting questions

Attention! - This email has originated from an External Source outside of 
eClinicalWorks. Always use caution when opening attachments, clicking links, or 
when responding to this email. If you feel this is a phishing scam, please use 
the Phish Alert Report button in Outlook.


Hi Team,



Tomcat Version - 9.0.62

Platform - Linux Platform





This is regarding like we have one customer issue where on Linux platform, we 
have configured our IOT-application (Thingworx), which is using Tomcat as a 
server.

So we are able to identify that even when we remove our application, Tomcat is 
creating a zombie (defunct) process, which is creating 200+ processes under the 
process table, which ultimately occupy all the OS resources and the application 
goes in a hung state. This issue is also reproducible on the Standalone Tomcat 
server also.

There are two scenarios mentioned below -

1.If this is relatable to Tomcat can you please suggest any article 
or documentation so that we can stop zombie process creation, if this is a 
known issue or there is only way to clear zombie (defunct) process from 
Processes table of linux.

2.Also, let us know if this is a Operating System specific issue 
like as it is reproducible only on Linux, So Linux os is the thing that creates 
the zombie (defunct) processes?

we are eagerly waiting for the response.



Thanks,

Omkar Vaidya.


CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential 
information belonging to the sender that is legally privileged and proprietary 
and may be subject to protection under the law, including the Health Insurance 
Portability and Accountability Act (HIPAA). If you are not the intended 
recipient of this e-mail, you are prohibited from sharing, copying, or 
otherwise using or disclosing its contents. If you have received this e-mail in 
error, please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or saving 
them. Thank you.

CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential 
information belonging to the sender that is legally privileged and proprietary 
and may be subject to protection under the law, including the Health Insurance 
Portability and Accountability Act (HIPAA). If you are not the intended 
recipient of this e-mail, you are prohibited from sharing, copying, or 
otherwise using or disclosing its contents. If you have received this e-mail in 
error, please notify the sender immediately by reply e-mail and permanently 
delete this e-mail and any attachments without reading, forwarding or saving 
them. Thank you.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org