Re: Exit code 6 on shutting down Tomcat service

2020-09-30 Thread tomcat/perl
Hi. On 30.09.2020 14:40, Jakub Moravec wrote: Hello Tomcat team, we are having an issue that we were not able to resolve ourselves or using the existing documentation, so I'd like to ask you for help. Description: During Tomcat service shutdown (using command

Re: HTTP2: memory filled up fast on increasing the connections to 1000/2000 (Embedded tomcat 9.0.38)

2020-09-30 Thread tomcat/perl
On 30.09.2020 07:42, Arshiya Shariff wrote: Hi Martin , Thank you for the response. With a payload of 200 bytes we were able to send 20K requests/sec with 200 users from Jmeter without any memory issue . On increasing the payload to 5Kb and the number of users to 1000 in Jmeter and sending

Re: Tomcat Handling close_waits

2020-08-17 Thread tomcat/perl
Hi. On 17.08.2020 02:51, Norbert Elbanbuena wrote: Hi Paul, Yes these are some samples, I have about 300 of them getting stuck hourly tcp 761 0 192.168.1.50:58870 74.112.28.109:8011 CLOSE_WAIT tcp0 0 192.168.1.50:56938 192.168.1.50:61616 CLOSE_WAIT

Re: Tomcat 9.0.36 - JDK 13/14

2020-07-02 Thread tomcat/perl
On 02.07.2020 10:23, Utkarsh Bhargav wrote: Please i have resolved my issue Kindly stop sending mails Hi. You receive these emails because you subscribed to the email list "users@tomcat.apache.org". To not receive these emails anymore, you should unsubscribe from the list, be sending an

Re: Does Tomcat 9 still support AJP connections, REMOTE_USER, and tomcatAuthentication="false"?

2020-05-16 Thread tomcat/perl
MOTE_USER early   # Copy OAS's REMOTE_USER header -> AJP_REMOTE_USER for Tomcat   SetEnv AJP_REMOTE_USER "%{REMOTE_USER}" Note the lack of a trailing "e" on the value of the environment variable .. Hope that helps, - -chris PS It looks like there's some room to improve Tomcat

Re: Does Tomcat 9 still support AJP connections, REMOTE_USER, and tomcatAuthentication="false"?

2020-05-15 Thread tomcat/perl
for an application running within Apache. So we have: Browser <==> Apache+webgate <==> Tomcat (webapp) Jim On Friday, May 15, 2020, 08:36:18 AM EDT, André Warnier (tomcat/perl) wrote: Let me give my 5 cent. In the tomcat AJP Connector Tomcat, you use the tomcatA

Re: Does Tomcat 9 still support AJP connections, REMOTE_USER, and tomcatAuthentication="false"?

2020-05-15 Thread tomcat/perl
Let me give my 5 cent. In the tomcat AJP Connector Tomcat, you use the tomcatAuthentication attribute : This setting has the effect that tomcat will "believe" the authenticated user-id that Apache is passing to it in the AJP protocol messages that Apache sends to tomcat, and not try to

Re: Changing the Java using by Tomcat

2020-05-06 Thread tomcat/perl
On 06.05.2020 10:55, Reddy, Tippana Krishnanandan wrote: Hi All, We are using tomcat 9.0.6 and we want to change existing JAVA used by tomcat and replace it Adopt openJDK without uninstalling the tomcat. Is this possible? if so can anyone please send us details how to approach this. I

Re: Upgrading from 9.0.20 to 9.0.34 AJP connector issue

2020-05-01 Thread tomcat/perl
On 01.05.2020 20:32, Darryl Philip Baker wrote: Continuing the investigation: I have the two tomcat installation in /opt/tomcat. Apache HTTPD references the worker file using a path that has a symbolic link that "latest" I can switch to point to either installation of tomcat. The workers file

Re: Upgrading from 9.0.20 to 9.0.34 AJP connector issue

2020-04-30 Thread tomcat/perl
On 01.05.2020 00:09, Darryl Philip Baker wrote: I am trying to browse to one of the JKmount URLs in this case https://myserver.northwestern.edu/LmsSync/. When I point the symbolic link to the 9.0.20 installation, it works fine. When I point the symbolic link to the 9.0.34 installation, it I

Re: Losing session between calls from mobile phone

2020-04-28 Thread tomcat/perl
On 28.04.2020 18:28, AJ Chen wrote: Thanks. Martin and Mark. I can recreate the problem: I compare two different mobile phones. One phone can log in and proceed. Server log shows the same session persists (same sessionID upon different requests). The other phone can log in, but upon next

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread tomcat/perl
On 31.03.2020 15:30, Mark Thomas wrote: On 31/03/2020 13:29, André Warnier (tomcat/perl) wrote: On 31.03.2020 14:20, Mark Thomas wrote: On 31/03/2020 11:20, Aditya Kumar wrote: Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 I've noticed on a freshly installed version of tomcat 9, upon

Re: Why does Tomcat open connections on localhost?

2020-03-31 Thread tomcat/perl
On 31.03.2020 14:20, Mark Thomas wrote: On 31/03/2020 11:20, Aditya Kumar wrote: Tomcat 9.0.30 on Windows Server 2012 / Java 1.8 I've noticed on a freshly installed version of tomcat 9, upon startup there are several connections to and from localhost on different ports For example on my

Re: Does Tomcat/Java get around the problem of 64K maximum client source ports?

2020-03-28 Thread tomcat/perl
On 27.03.2020 21:39, Eric Robinson wrote: FYI, I don't have 1800 tomcat instances on one server. I have about 100 instances on each of 18 servers. When one of these (attempted) connections fails, do you not get some error message which gives a clue as to what the failure is due to ? (should

Re: Does Tomcat/Java get around the problem of 64K maximum client source ports?

2020-03-27 Thread tomcat/perl
On 27.03.2020 14:27, André Warnier (tomcat/perl) wrote: On 26.03.2020 20:42, Eric Robinson wrote: -Original Message- From: Olaf Kock Sent: Thursday, March 26, 2020 2:06 PM To: users@tomcat.apache.org Subject: Re: Does Tomcat/Java get around the problem of 64K maximum client source

Re: Does Tomcat/Java get around the problem of 64K maximum client source ports?

2020-03-27 Thread tomcat/perl
On 26.03.2020 20:42, Eric Robinson wrote: -Original Message- From: Olaf Kock Sent: Thursday, March 26, 2020 2:06 PM To: users@tomcat.apache.org Subject: Re: Does Tomcat/Java get around the problem of 64K maximum client source ports? Hi Eric, On 26.03.20 18:58, Eric Robinson wrote:

gostCat patch

2020-03-23 Thread tomcat/perl
Hello tomcat developers. Re : current : https://tomcat.apache.org/tomcat-8.5-doc/config/ajp.html#Standard_Implementations quote secretRequired If this attribute is true, the AJP Connector will only start if the secret attribute is configured with a non-null, non-zero length value. This

Re: AW: AW: AW: AJP Connector issue

2020-03-20 Thread tomcat/perl
- Florian Fritze M.A. Fraunhofer-Informationszentrum Raum und Bau IRB Competence Center Research Services & Open Science Nobelstr. 12, 70569 Stuttgart, Germany Telefon +49 711 970-2713 florian.fri...@irb.fraunhofer.de | www.irb.fraunhofer.de -Ursprüngliche Nachricht- Von: André Warni

Re: AW: AW: AJP Connector issue

2020-03-20 Thread tomcat/perl
new entry in the Apache HTTPD error.log concering these requests. Help is appreciated Florian Fritze -- Florian Fritze M.A. Fraunhofer-Informationszentrum Raum und Bau IRB Competence Center Research Services & Open Science Nobelstr. 12, 70569 Stuttgart, Germany Telefon +49 711 970-2713

Re: AW: AJP Connector issue

2020-03-20 Thread tomcat/perl
On 20.03.2020 08:23, Fritze, Florian wrote: Hello Chris, thanks for the reply. Maybe I am doing something wrong, but setting secretRequired="false" does not solve my issue. Let me show you what I did and experience: I added to the Tomcat configuration and the ajp connector on the Apache HTTPD

Re: I wish I could forward all requests completely to another server.

2020-03-19 Thread tomcat/perl
On 19.03.2020 04:18, HeeGu Lee wrote: I was tasked with writing a web application that needs to forward a http request to each server after checking certain headers. Of course I can use a library like apache http client to reconstruct and send the data. But if you think about it, this is a very

Re: AJP Connector issue

2020-03-19 Thread tomcat/perl
On 19.03.2020 12:43, Fritze, Florian wrote: Dear Tomcat users, since the Tomcat release with the Ghostcat security fix (Tomcat 8.5.51) me as an admin have the problem using the https://httpd.apache.org/docs/2.4/mod/mod_proxy_ajp.html module to connect the Apache HTTPD with the Tomcat running

Re: [External] Re: Starting up Tomcat 8

2020-03-18 Thread tomcat/perl
/tomcat8/bin, thank you! Can I just run startup.sh from there or is that not right? On 3/17/20, 4:37 PM, "André Warnier (tomcat/perl)" wrote: On 17.03.2020 21:18, Maxfield, Rebecca A wrote: > Both are Linux. The new is Debian, the old ??

Re: [External] Re: Starting up Tomcat 8

2020-03-17 Thread tomcat/perl
omise" tomcat8 on that machine). On 3/17/20, 4:03 PM, "André Warnier (tomcat/perl)" wrote: On 17.03.2020 19:52, Maxfield, Rebecca A wrote: > Hello, > > I manage a project that currently runs on Tomcat 7 but is migrating to a new server where Tomcat

Re: Starting up Tomcat 8

2020-03-17 Thread tomcat/perl
On 17.03.2020 19:52, Maxfield, Rebecca A wrote: Hello, I manage a project that currently runs on Tomcat 7 but is migrating to a new server where Tomcat 8 was installed by the server admin. When I navigate to the /var/lib/tomcat8 folder, I don’t see a ./bin folder or any startup.sh or

Re: OpenId with apache and tomcat

2020-03-13 Thread tomcat/perl
On 13.03.2020 17:53, Stephane Passignat wrote: Hi, Actually I have Apache2 operating as proxy and authenticate layer (HTTP Form and HTTP Basic), in front of several Tomcat instances and webapps. Apache pushes the userId to tomcat through AJP. On tomcat side, the webapp has a Basic login-module

Re: bind Tomcat to IPv4 and IPv6 loopback, Tomcat 9.0.31

2020-03-11 Thread tomcat/perl
On 10.03.2020 15:44, Martin Grigorov wrote: On Tue, Mar 10, 2020 at 3:56 PM Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Martin, On 3/10/20 04:43, Martin Grigorov wrote: We can define custom address like "loopback" for which

Re: bind Tomcat to IPv4 and IPv6 loopback, Tomcat 9.0.31

2020-03-11 Thread tomcat/perl
On 11.03.2020 09:30, Piyush Kumar Nayak wrote: What's the point of " ipv6v6only" attribute. The doc says : "If listening on an IPv6 address on a dual stack system, should the connector only listen on the IPv6 address? If not specified the default is false and the connector will listen on the

Re: Problem with tomcat connector in IIS using tomcat 9.0.31

2020-03-04 Thread tomcat/perl
On 04.03.2020 09:30, Stephen Hames wrote: Hi Matthias, I suspect your issue is: address="::"You probably want address="0.0.0.0" or the ipv4 IP address that your tomcat instance is listening on. :: allows any on IPv6, but for IPv4 I suspect that tomcat would still be listening only on

Re: issue faced in tomcat 8.5.51

2020-03-02 Thread tomcat/perl
On 02.03.2020 07:38, Rathore, Rajendra wrote: Hi Calder/Team, I set the below flag as false but still it will giving the same error. If you really changed that attribute in the right place, and you restarted tomcat, it is quite unlikely that you would have the same error in the log. But if

Re: issue faced in tomcat 8.5.51

2020-02-28 Thread tomcat/perl
On 28.02.2020 15:11, calder wrote: On Fri, Feb 28, 2020, 07:39 Rathore, Rajendra wrote: Hi Team, I am using below configuration in server.xml for tomcat but I got below exception in start up time < snip > Caused by: java.lang.IllegalArgumentException: The AJP Connector is

Re: Error parsing HTTP request header

2020-02-26 Thread tomcat/perl
On 26.02.2020 14:30, dku...@ccilindia.co.in wrote: Dear Team, We are getting below error in catelina log while starting the tomcat. 26-Feb-2020 18:57:36.795 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 21520 ms 26-Feb-2020 18:57:38.277 INFO [http-nio-443-exec-11]

Re: [OT] At wits end: Difficulties with IIS ISAPI connector andTomcat

2020-02-26 Thread tomcat/perl
Hi. I think that we are getting complicated and confusing here. A picture is worth a thousand words, so a little ASCII graphic art may help clarifying things. browser <-(1)-> IIS + proxy <-(2)-> tomcat <-> application - connection (1) can be HTTP or HTTPS (admin choice) - connection (2) can be

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread tomcat/perl
The workers.properties below look good to me at first sight. Just to eliminate something, could you try the following changes : 1) workers.properties : remove the line > worker.worker1.secret="mySecret". 2) AJP Connector in tomcat : then restart tomcat and IIS. What's happening then ? Note

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-25 Thread tomcat/perl
On 25.02.2020 17:26, jonmcalexan...@wellsfargo.com.INVALID wrote: -Original Message- From: Ellen Meiselman Sent: Tuesday, February 25, 2020 10:01 AM To: Tomcat Users List Subject: Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat Hi, I've been testing, and so far,

Re: At wits end: Difficulties with IIS ISAPI connector and Tomcat

2020-02-24 Thread tomcat/perl
On 24.02.2020 22:04, Christopher Schultz wrote: With 8.5.51, requiredSecret is renamed "secret" but "requiredSecret" is still an alias of the same configuration property. If #2 happens after #1 above, then your actual secret will be the literal string "true" (oops). We apologize for this

Re: Novice Tomcat Admin Question - Filtering log output

2020-02-21 Thread tomcat/perl
On 21.02.2020 18:49, Darryl Philip Baker wrote: On 2/21/20, 11:36 AM, "Christopher Schultz" wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Darryl, On 2/21/20 12:15, Darryl Philip Baker wrote: > I have taken over the administration of several

Re: FW: Apache Tomcat versions and proof of support

2020-02-21 Thread tomcat/perl
Hi. Maybe you could start by looking at this page : http://tomcat.apache.org/index.html and this one : http://tomcat.apache.org/whichversion.html (including the comments after the table) Tomcat is open-source (and free) software, developed, distributed and supported by volunteers. Depending on

Re: [ANN] Apache Tomcat 9.0.31 available

2020-02-13 Thread tomcat/perl
On 13.02.2020 11:05, logo wrote: Am 2020-02-13 10:57, schrieb Olivier Jaquemet: On 13/02/2020 10:32, Rémy Maucherat wrote: On Thu, Feb 13, 2020 at 9:33 AM Olivier Jaquemet wrote: On 13/02/2020 01:02, Stefan Mayr wrote: - AJP defaults changed to listen the loopback address, require a

Re: Tomcat 8.5.51 fails

2020-02-13 Thread tomcat/perl
On 13.02.2020 10:36, kohm...@iris.eonet.ne.jp wrote: On 2020/02/13 18:25, André Warnier (tomcat/perl) wrote: Check in the file (tomcat_dir)/conf/server.xml, the Connector :     The setting is the same as mine. I have use server.xml used in 8.5.50. In case of 8.5.50, I have no problem

Re: Tomcat 8.5.51 fails

2020-02-13 Thread tomcat/perl
On 13.02.2020 10:13, kohmoto wrote: Hi, I have install Tomcat 8.5.51 today and found something wrong. I have been using tomcat for last 5 years and never met this kind of problem. It would be appreciated if I could be advised. Thank you. System: CentOS 7.7.1908 httpd 2.4.41 (community

Re: [OT] distinction between resource charset and format octet decoding

2020-02-06 Thread tomcat/perl
On 06.02.2020 14:44, Mark Thomas wrote: On 06/02/2020 13:39, Garret Wilson wrote: On 2/6/2020 10:36 AM, Mark Thomas wrote: … Whether Tomcat should ship with this setting present in conf/web.xml by default is something that should probably be discussed for Tomcat 10. Given the current state of

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-23 Thread tomcat/perl
On 22.01.2020 10:26, Lmhelp1 wrote: Hello Chris and all, Sorry for my late answer. Thank you for the link you suggested me to read. Adding the element: UTF-8 to "web.xml" solved my problem. Glad to hear that. From an absolute point of view, this is of course again a "patch". But as Chris

Re: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-17 Thread tomcat/perl
On 17.01.2020 04:15, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Léa, On 1/16/20 9:33 AM, Lmhelp1 wrote: Hello, Thank you for your answers. I changed /* to *.jsp I also un-commented the line: servletResponse.setContentType("text/html; charset=" +

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread tomcat/perl
On 16.01.2020 10:36, Lmhelp1 wrote: Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":       EncodingFilter com.[...].EncodingFilter     requestEncoding   UTF-8      

Re: Antwort: Tomcat9, JSP, CSS and JS not loading in Firefox

2020-01-16 Thread tomcat/perl
On 16.01.2020 10:36, Lmhelp1 wrote: Hello, Thank you for your answer. Indeed, I have such a filter: In "web.xml":

Re: Expected behavior of calling javax.servlet.ServletRequest#getInputStream after javax.servlet.http.HttpServletRequest#getPart

2019-12-10 Thread tomcat/perl
On 10.12.2019 15:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Behrang, On 12/8/19 05:18, Behrang Saeedzadeh wrote: If I call javax.servlet.ServletRequest#getInputStream after having called javax.servlet.http.HttpServletRequest#getPart, even without performing

Re: Bouncing Tomcat from HTTPD?

2019-12-09 Thread tomcat/perl
On 05.12.2019 19:56, Jerry Malcolm wrote: I was stuck in traffic an hour from the office when I got a text that one of my sites had gone down. If I'd been in the office, I'd try bouncing TC first just to try to get the client back online, then dig into the logs to figure out what happened.

Re: Double Slash Support in Tomcat 9.0.27

2019-12-09 Thread tomcat/perl
3, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 12/5/19 04:55, André Warnier (tomcat/perl) wrote: Christopher, I believe that the problem of the OP is that either this filter or the application, *relies* on the fact that Tomcat would NOT collapse multiple co

Re: Double Slash Support in Tomcat 9.0.27

2019-12-05 Thread tomcat/perl
Christopher, I believe that the problem of the OP is that either this filter or the application, *relies* on the fact that Tomcat would NOT collapse multiple consecutive slashes in the URL, to a single slash. That (the non-collapsing) seems to have been the case in some previous versions of

[OT] Re: FW: tomcat creating new ssl session id for same session

2019-11-29 Thread tomcat/perl
On 29.11.2019 06:59, rekha...@dell.com wrote: Highly Restricted - Confidential ... Then maybe a public list, which is also archived for years in various places, is not the best communication channel ? - To unsubscribe,