Re: [OT] programming style or mental process ?

2021-04-07 Thread tomcat/perl
milk, in different types of recipients. And not that some people would think that this is now all totally [OT], I would remind everyone of the definite historical and cultural connections between Tomcat, Java, programming and coffee (and Jakarta). (And dutch pe

Re: What exactly does the AJP connector on 8009 do?

2021-04-06 Thread tomcat/perl
On 06.04.2021 00:45, James H. H. Lampert wrote: On 4/5/21 1:22 PM, Christopher Schultz wrote: If you are not running a reverse-proxy in front of Tomcat, then it does absolutely nothing for you. If you *are* running a reverse-proxy in front of Tomcat, then it *may* do something for you

Re: [OT] programming style or mental process ?

2021-04-06 Thread tomcat/perl
On 05.04.2021 14:37, Christopher Schultz wrote: Or, more literarily, given that the syntax of most (all?) programming languages is based on English (if, then, else, new, for, while, until, exit, continue, etc.), we (*) do normally ask "is your coffee cold ?" and not "is cold your coffee ?".

Re: [OT] programming style or mental process ?

2021-04-04 Thread tomcat/perl
On 05.04.2021 00:21, Zala Pierre GOUPIL wrote: In your case, with a function call, this wouldn't make a difference "if(request.getCharacterEncoding() = null)" would be illegal syntax as well, but "if(someObject = null)" is perfectly legal, but doesn't express the author's intent clearly: Is it

Re: [OT] programming style or mental process ?

2021-04-04 Thread tomcat/perl
On 04.04.2021 12:57, Olaf Kock wrote: Hi André On 04.04.21 12:23, André Warnier (tomcat/perl) wrote:   if (null == request.getCharacterEncoding()) { as opposed to   if (request.getCharacterEncoding() == null) { So why do (some) people write it the other way ? Is it purely a question

[OT] programming style or mental process ?

2021-04-04 Thread tomcat/perl
Hi. I have a question which may be totally off-topic for this list, but this has been puzzling me for a while and I figure that someone here may be able to provide some clue as to the answer, or at least some interesting ponts of view. In various places (including on this list), I have seen

Re: [OT] Working with SAML

2021-03-17 Thread tomcat/perl
On 17.03.2021 17:49, Christopher Schultz wrote: André, On 3/16/21 18:21, André Warnier (tomcat/perl) wrote: Alternatively, see this : https://wiki.shibboleth.net/confluence/display/SP3/JavaHowTo Thanks for mentioning this. I looked at Shibboleth. Their web site says "vers

Re: [OT] Working with SAML

2021-03-16 Thread tomcat/perl
Alternatively, see this : https://wiki.shibboleth.net/confluence/display/SP3/JavaHowTo On 16.03.2021 21:18, Christopher Schultz wrote: Robert, On 3/16/21 14:33, Robert Turner wrote: Chris, I'm not sure if it will do what you want, but when sourcing Java-based SAML libraries for our use as

Re: Run servlets on Nashorn written in server-side JavaScript

2021-02-17 Thread tomcat/perl
EE and Jakarta EE, but need a little bit of time)? —-rony On 15.02.2021 07:29, leo wrote: Hi there I am trying to find out how to process servlets written in server-side JavaScript through Tomcat. I looked through the Tomcat FAQ and How-To but couldn't find anything. By googling I found

Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread tomcat/perl
eter below. On 15.01.2021 11:48, André Warnier (tomcat/perl) wrote: On 14.01.2021 22:55, Christopher Schultz wrote: Content-Disposition: attachment; filename="[filename]"; filename*=utf-8''[filename in UTF-8 encoding] Hi Chris. Do you have any reference for the above ? (the "

Re: Tomcat server not considering Mime Type - Request urgent help!!

2021-01-15 Thread tomcat/perl
On 14.01.2021 22:55, Christopher Schultz wrote: Content-Disposition: attachment; filename="[filename]"; filename*=utf-8''[filename in UTF-8 encoding] Hi Chris. Do you have any reference for the above ? (the "utf8''" part is new to me)

Re: Tomcat SSO valve implementation

2020-12-17 Thread tomcat/perl
On 16.12.2020 19:39, Kevin Oxley wrote: We are trying to support SSO SAML 2.0 for user authentication in Tomcat (9.0.22). Can anybody provide a reference to a pre-integrated SAML SSO valve implementation that you've had a good experience with? searching Google for "SAML SP for se

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 /bin/tomcat9

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

2020-09-30 Thread tomcat/perl
1000 requests per second , the heap of 20GB got filled in 2 minutes . How long does it typically take (at the beginning of the test) for tomcat to *process* one of these requests ? With 200 users the memory is cleared in the G1 mixed GC itself , but with 1000 users the memory is not cleared

Re: WebSocket connection silently drops

2020-09-13 Thread Christopher Dodunski (Apache Tomcat)
disconnected. This indicates that the WebSocket connection is not being silently dropped afterall, rather the client is becoming deaf to inbound messages after a few minutes. Exactly why this is is a mystery. But evidently it is a Tyrus rather than a Tomcat or network issue

WebSocket connection silently drops

2020-09-13 Thread Christopher Dodunski (Apache Tomcat)
Hi, I have a desktop application that, using the org.glassfish.tyrus WebSocket implementation, connects and talks with a parent web application running on Tomcat. All runs well for a while but, after data transfer falls quiet for a few minutes, the connection gets silently dropped (nothing

Re: Tomcat Handling close_waits

2020-08-17 Thread tomcat/perl
52.24.48.141:60660 CLOSE_WAIT tcp6 202 0 192.168.1.50:443199.189.191.86:51716CLOSE_WAIT tcp6 202 0 192.168.1.50:443199.189.191.86:1386 CLOSE_WAIT Try forcing a Java Garbage Collection in Tomcat, and check if these CLOSE_WAIT sockets are still

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: NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread tomcat-subs
jar > > dependencies because of a new development effort. I've debugged the code by > > stepping through the Tomcat source to the point I've found where it is > > failing. It seems to be a Tomcat bug but of course I'm not convinced since > > it is highly more likely it is

NullPointerException on statrup - possible bug in Tomcat

2020-06-24 Thread tomcat-subs
I have a web application which is failing in RestEasy initialization with an NPE. It worked for many years until I added a large number of jar dependencies because of a new development effort. I've debugged the code by stepping through the Tomcat source to the point I've found where

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

2020-05-16 Thread tomcat/perl
In summary, yes, I think you're right in your final conclusion below. If the tomcat access log shows the authenticated user, it means that tomcat got it, and I see no other way than from Apache and through that "tomcatAuthentication=false" option of the tomcat AJP connector. And th

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

2020-05-15 Thread tomcat/perl
d. So the problem I having is trying to figure out how to "integrate" that with Tomcat. Then you would need an Apache add-on module which grabs the content of this header, and sets the Apache R->user variable (where R is the Apache request object). And in Tomcat, you

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

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 wo

Re: Upgrading from 9.0.20 to 9.0.34 AJP connector issue

2020-04-30 Thread tomcat/perl
get a 404 error. Ah, here may be a clue : the 404 error page returned by Apache httpd looks significantly different from the 404 error page returned by Tomcat (in look). Which one are you getting ? If you get the Apache httpd version, then the problem is that Apache httpd/mod_jk is not even

Re: Losing session between calls from mobile phone

2020-04-28 Thread tomcat/perl
, Apr 28, 2020 at 2:23 AM AJ Chen wrote: My web application using tomcat 6 can track user session (cookie by default) for mobile and PC users in dev environment. But when deployed on cloud server, it fails to track session for some mobile users. meaning, servlet always creates a new session

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

Re: AW: AW: AW: AJP Connector issue

2020-03-20 Thread tomcat/perl
do not mention this attribute, and it defaults to "true" To get the previous behaviour (without secret), you now *must* specify : secretRequired="false". This is one of the changes in the latest tomcat versions compared to the previous one, and this was motivated by security reasons. S

Re: AW: AW: AJP Connector issue

2020-03-20 Thread tomcat/perl
Ok, so it looks like : - the request is effectively reaching tomcat, and that it is tomcat sending back the 403 response. - the URL is "/", so presumably it is "well-formed" etc. Furthermore, according to something you wrote below, both Apache httpd and tomcat are runni

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 Ap

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

2020-03-19 Thread tomcat/perl
unreasonable and bad way. No, it is pretty much the only way that makes sense. Well, at least if you want to do this with tomcat. First : there is no code in tomcat that does any kind of "proxy/forwarding" function, nor (to my knowledge) any plan to add such code. See the fi

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
cript sets a number of variables before calling tomcat's startup.sh, changes to the approriate directory etc.. If you want a tomcat8 which is installed in a single directory, and which reacts in the "canonical" way as explained on the tomcat website, then you would have to de-install

Re: [External] Re: Starting up Tomcat 8

2020-03-17 Thread tomcat/perl
On 17.03.2020 21:18, Maxfield, Rebecca A wrote: Both are Linux. The new is Debian, the old ?? On a Debian Linux system, tomcat 8 installed via the standard Debian package manager results in some files appearing in the following directories (and maybe others) - /etc/tomcat8 - /usr/share

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 similar

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
" for which Tomcat will bind on both "127.0.0.1" and "::1" depending on the values of java.net.preferIPv4Stack and java.net.preferIPv6Addresses, but I am not sure whether it is worth it This is kind of an interesting suggestion, as would maybe supporting "all" as an a

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

2020-03-11 Thread tomcat/perl
ystem" .. -Original Message- From: Martin Grigorov Sent: Tuesday, March 10, 2020 8:14 PM To: Tomcat Users List Subject: Re: bind Tomcat to IPv4 and IPv6 loopback, Tomcat 9.0.31 On Tue, Mar 10, 2020 at 3:56 PM Christopher Schultz < ch...@christopherschultz.net> wrote: -B

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 sti

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

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 Con

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) -

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

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
tandable. So people installing tomcat for the first time should have no problem. But I think that quite a few recent posts show that these changes could have been made a bit more visible for people who have running tomcats, and are just updating from one minor version to the next minor version.

Re: Novice Tomcat Admin Question - Filtering log output

2020-02-21 Thread tomcat/perl
on of several Tomcat instances. > A number of these are load balanced using an F5 appliance. The > org.apache.catalina.values.AccessLogValve log file is filled with > the F5 polls to see if the application is alive. Under almost all > circumstances these are useless, I w

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

Re: [ANN] Apache Tomcat 9.0.31 available

2020-02-13 Thread tomcat/perl
alse "when the Connector is used on a trusted network".) Make that such a breaking change in a minor maintenance update is quite touchy. I have never seen such drastic change in my usage history of Tomcat. For info, there is also another thread entitled "Re: Tomcat 8.5.51 fail

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: HTTP error response payload

2020-02-08 Thread tomcat-lists
Hi Saurav, On 08.02.20 07:47, Saurav Sarkar wrote: > Through tomcat access valve i can view the HTTP request url ,response code > etc. > > But i can not view the error response being sent in the form of JSON > payload. > > Is their any valve/filter/ any other setting on t

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

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

2020-01-23 Thread tomcat/perl
ou to read this page in its entirety: https://cwiki.apache.org/confluence/display/TOMCAT/Character+Encoding - -chris - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h.

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

2020-01-17 Thread tomcat/perl
dards, you should not normally need this Encoding filter, and everything should "just work". This filter is probably a left-over "patch" from either an older (and incorrect) application version, or some older version of Tomcat. That is why I first recommended that you remove the

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

2020-01-16 Thread tomcat/perl
loaded because itsMIME type, “text/html”, is not “text/css”. ---- Also note : https://tomcat.apache.org/tomcat-9.0-doc/servletapi/javax/servlet/ServletResponse.html#setCharacterEncoding-java.lang.String- says : "...callin

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
e is nothing that explicitly says that the InputStream is no longer available if you have called "getPart". (It is also in fact not very clear about what happens to the parameters, when the content-type of the Request is "multipart/form-data", which is only mentioned in

Re: Bouncing Tomcat from HTTPD?

2019-12-09 Thread tomcat/perl
. But while driving on the freeway, there's no way to access ssh into the server and key in the command to restart tomcat. httpd was working fine. It would have been nice to bring up a non-tomcat web page on my phone and press a button to cause the tomcat service to restart. I know I could

Re: Double Slash Support in Tomcat 9.0.27

2019-12-09 Thread tomcat/perl
Hi Christopher. I believe that yours is a really good explanation of why Tomcat collapses consecutive slashes in URLs. It's certainly worth a FAQ article, in case the question ever pops up again. It maybe even be worth a note somewhere in the main documentation, such as where it explains how

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

[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,

Re: tomcat service app

2019-10-31 Thread tomcat
in single quotes... From: George Stanchev Sent: Wednesday, October 30, 2019 1:33 PM To: Tomcat Users List Subject: tomcat service app I am trying to troubleshoot an issue where when I call tomcat8.exe with following parameters it writes [2] to the registry (newline where the semicolon was) and I am

Re: Cannot add dependency job for unit systemd-console-setup.service

2019-10-20 Thread tomcat
On 20.10.2019 10:07, Emefile Francis Nwajie wrote: Hello All, Top of the day to you. I have a VPS with CentOs 7. I am trying to start-up Tomcat 9.0.27 using "systemctl start tomcat". And I got the error message - "Cannot add dependency job for unit systemd-console-setup.

Re: tomcat 8 post call lost in process

2019-10-18 Thread tomcat
Hi. It is unfortunately a bit difficult to make sense of the description and information that you provide below. But one thing is quite certain : By the time tomcat (if I understand correctly, the one that you call the "slave") writes a line to its access log, with a result co

[OT] Re: Question about DirResourceSet?

2019-10-14 Thread tomcat
nice", so I thought we should also from time to time give kudos when it is). On 14.10.2019 16:37, Robert Olofsson wrote: Hi! Some background: We are currently running tomcat (9.0.26) and we serve data to both html/webapp and to our java application. The java application uses a lot of th

Re: Any tutorials or hints about JSP using javax.script engines instead of Java?

2019-10-13 Thread tomcat
Hi. On 12.10.2019 02:17, George S. wrote: I'm a little confused. What would one hope to gain by doing this? I'm not that much of an expert on Tomcat or its "ecological niche", but in a general overall point of view, I would tend to say that anything that "opens up&

Re: tomcat with SiteMinder

2019-10-11 Thread tomcat
On 11.10.2019 05:11, Bauer, Margaret M (Peggy) wrote: Has anyone used tomcat with SiteMinder without having a webserver in front of it? If so, where can I find the how to? In the SiteMinder documentation ? (No kidding. As I recall, they do provide examples with multiple webservers.) thank

Re: Any tutorials or hints about JSP using javax.script engines instead of Java?

2019-10-08 Thread tomcat
On 08.10.2019 17:11, Rony G. Flatscher (Apache) wrote: Does anyone know of any tutorials that would demonstrate how to use any javax.script language in JSPs instead of Java (e.g. using Jython or JavaScript instead)? If not, any advice/hint how to realize/create such a functionality (for then

Re: Acessing static content - Tomcat 7 vs. Tomcat9

2019-10-08 Thread tomcat
On 08.10.2019 13:41, Martin Knoblauch wrote: Hi Andre, thanks for the extensive response. this is really appreciated. See below for comments On Mon, Oct 7, 2019 at 10:27 PM André Warnier (tomcat) wrote: Hi. see at end. Then the browser tells me that "The page isn’t redirecting pro

Re: user and certificate info is not passed to tomcat

2019-10-07 Thread tomcat
On 08.10.2019 00:50, Magosányi Árpád wrote: On 10/7/19 11:29 PM, André Warnier (tomcat) wrote: DirectoryIndex off RewriteEngine Off AuthType openid-connect AllowOverride None AuthzDBDQuery "a correct database query" Require dbd-group allrepo LogL

Re: user and certificate info is not passed to tomcat

2019-10-07 Thread tomcat
Adding to my own previous post : A posteriori, I saw a question here : https://stackoverflow.com/questions/58240796/pass-username-and-client-certificate-from-apache-to-tomcat-using-mod-jk that may be related to your question on this list. Examining the above, you problem may be in the httpd

Re: user and certificate info is not passed to tomcat

2019-10-07 Thread tomcat
On 07.10.2019 23:24, Magosányi Árpád wrote: On 10/7/19 8:20 PM, André Warnier (tomcat) wrote: Forgot the atribute 'tomcatAuthentication="false"' in the Connector ? Yes, I did, however adding it back did not improve the situation. Ok. I just mentioned that, because it is

Re: Acessing static content - Tomcat 7 vs. Tomcat9

2019-10-07 Thread tomcat
Hi. see at end. On 07.10.2019 16:26, Martin Knoblauch wrote: On Mon, Oct 7, 2019 at 3:31 PM Konstantin Kolinko wrote: пн, 7 окт. 2019 г. в 15:44, Martin Knoblauch : Hi Konstantin, On Mon, Oct 7, 2019 at 2:36 PM Konstantin Kolinko < knst.koli...@gmail.com> wrote: 2. For Tomcat to

Re: user and certificate info is not passed to tomcat

2019-10-07 Thread tomcat
On 07.10.2019 17:36, Magosányi Árpád wrote: Magosányi, How are you getting the attributes from the request? This is the filter code: String user = httpRequest.getRemoteUser(); Object cert = httpRequest.getAttribute("javax.servlet.request.X509Certificate");

Re: Acessing static content - Tomcat 7 vs. Tomcat9

2019-10-07 Thread tomcat
On 07.10.2019 13:45, Mark Thomas wrote: On 07/10/2019 12:22, Martin Knoblauch wrote: Dear fellow Tomcat users, recently we migrated our application from Tomcat7 to Tomcat9. Most things work great so far, but we observed on issue. Basically serving static pages has stopped for us. Our

Re: SSO fails on Tomcat 9

2019-09-10 Thread tomcat
of hduverge I get HTTP/nlsl-decadetst.u4agr.com@U$AGR.COM The Tomcat Authenticator takes care of validating the user. In the configuration you provided the JAASRealm is - effectively - (re-)validating the contents of the keytab file. That is why you see the keytab principal as the authenticated

Re: POST request fails if content is ignored?

2019-09-09 Thread tomcat
On 09.09.2019 15:21, Leon Atherton wrote: Thank you for the suggestion. I have just tried playing with this value. Setting it to -1, and setting it to 100x larger than the default. In both cases, the behaviour seems unchanged. Without touching this value, Tomcat will accept multipart POST

Re: POST request fails if content is ignored?

2019-09-09 Thread tomcat
Hi. Did you check : https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Common_Attributes --> maxPostSize Note : normally, the browser will encode (Base64 or similar) the content of a file and send the encoded content, which tends to be significantly larger (in bytes) than the origi

Re: Tomcat 8.5.45 service error 1067

2019-09-08 Thread tomcat
Hello Jason. Have a look at the archives of this mailing list, for the last 30 days or so. I think that there have been some issues with the tomcat(x).exe wrapper recently. And I believe (but don't trust me entirely on this) that one quick workaround was to copy the previous tomcat8.exe program

Re: Reg : Parameter Filters

2019-09-06 Thread tomcat
On 05.09.2019 20:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Praveen, On 9/5/19 05:07, praveen kumar wrote: Hello, I am working with an application called geoserver which works on Apache Tomcat server. Just for an idea for those who donot know, geoserver

Re: SSO fails on Tomcat 9

2019-09-06 Thread tomcat
Hi Heidi. We have kind of a conundrum here : - Mark (who is one of the main tomcat developers) tested the SPNEGO (Kerberos) authentication under both tomcat8 and tomcat9, using the standard instructions provided in the respective on-line tomcat documentation pages, and reported that it works

Re: Fw: Tomcat 7.0 how to check if overloaded with requests or were requests received by tomcat on a specific day and time

2019-09-04 Thread tomcat
On 04.09.2019 08:11, ford royal wrote: Dear Experts Please guide me I am trying to investigate we use TOMCAT 7.0 1. how to check if TOMCAT is overloaded with incoming requests ? 2. were the requests received by TOMCAT on a specific day and time from SAP ECC ? How to find ? Precise tomcat

Re: SSO fails on Tomcat 9

2019-09-03 Thread tomcat
Hi. See below. On 03.09.2019 11:56, Heidi Leerink - Duverger wrote: Hello Alex, Thank you for the extensive answer. Q1: Are you sure that it is *exactly* the same ? Yes the installation is done on the same PC with the same user principal for the Tomcat service to log in . The Tomcat 8

Re: SSO fails on Tomcat 9

2019-09-03 Thread tomcat
Hello Heidi. Thank you for the complete information provided in your post below. I do not have any experience with the Tomcat SPNEGO Valve per se, but quite a bit of experience with Windows Integrated Authentication. To me, the symptoms that you describe below, do not really look like

Re: Tomcat Bandwidth Utilization Tool

2019-08-30 Thread tomcat
Hi. If what you are after is really the full byte traffic at the lowest level, and if you are under Linux, how about this : 1) cat /etc/network/interfaces and look for the name of the interface which matches the address tomcat is listening on. e.g. (in my case, real addresses scrambled

Re: Lost my CCS and resources with mod_proxy and Tomcat

2019-08-29 Thread tomcat
/login ProxyPassReverse /me http://localhost:8084/menuapp/login The app doesnt have any css or javascritp code Any cluees about this ? Maybe but not with the minimal information that you provide above. First of all, when you are posting a question here about tomcat, provide

Re: Access denied (403) for external requests

2019-08-28 Thread tomcat
Hi. (While not saying yet that this is the problem in your case) It would help a lot if you specified the version of Tomcat, the JVM, and the platform on which you are running this. (Such as maybe a bug in a past version of RemoteAddrValve which would explain this). On 28.08.2019 11:17, Jörg

Re: How change tomcat8.exe listening port 0.0.0.0:12345 to a different port

2019-08-27 Thread tomcat
e "web.xml" files within "webapps". Logfiles do not show such entry either. We therefore have to get in touch with the software vendor in order to address this. Thanks again. -Original Message----- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Dienstag, 2

Re: How change tomcat8.exe listening port 0.0.0.0:12345 to a different port

2019-08-27 Thread tomcat
Addendum : On 27.08.2019 15:23, André Warnier (tomcat) wrote: On 27.08.2019 14:05, Patrick Heinen wrote: Hi everyone, In our Apache Tomcat 8.5.31 installation, Tomcat8.exe ist listening on TCP port 12345, and we need to change this to a different port number. Unfortunatley, we cannot find

Re: How change tomcat8.exe listening port 0.0.0.0:12345 to a different port

2019-08-27 Thread tomcat
On 27.08.2019 14:05, Patrick Heinen wrote: Hi everyone, In our Apache Tomcat 8.5.31 installation, Tomcat8.exe ist listening on TCP port 12345, and we need to change this to a different port number. Unfortunatley, we cannot find a way to change this since it is not specified in server.xml

Re: Help with proxy from secure Apache to unsecured Tomcat

2019-08-26 Thread tomcat
Hi. That looks more like an Apache httpd issue, than a Tomcat issue (as you mention, the tomcat logfiles do not show anything, and the rest tends to indicate that Apache httpd is not proxying these calls to tomcat, but trying to resolve them locally). This being said, I cannot find any

Re: Tomcat Server Using 100% CPU

2019-08-08 Thread tomcat
On 08.08.2019 20:08, Eric Robinson wrote: Utkarsh and John, thank you for your feedback. Since everything was originally on Windows, and we built a new Linux server with fresh tomcat installs, and the only thing we moved over from the old Windows servers was the tomcat application folder

Re: Apache Tomcat Native Library - compatibility clarification needed?

2019-08-02 Thread tomcat
Hi. Not a full response but an additional source. On 02.08.2019 11:12, Polina Georgieva wrote: Hi all, Would you please clarify the compatibility restrictions (if any) between the Apache Tomcat Native Lib and its dependencies on one hand and between Apache Tomcat server and the native lib

  1   2   3   4   5   6   7   8   9   >