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

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

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

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: 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 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: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Onno, On 18.06.21 07:07, Sugar Moose wrote: > I am using Ansible role robertdebock.tomcat to install Tomcat. This role uses > archives from the Tomcat site to install Tomcat. I have always thought that > this is a fine approach but the customer has pointed out that a package

Re: Archive or package install

2021-06-18 Thread tomcat-lists
Hi Christopher, On 18.06.21 20:54, Christopher Schultz wrote: >> I would only stick to the distro-provided packages, if it is a small >> (in other words not that important) application running in Tomcat. Just >> for reference: With Ubuntu 18.04, you would end up >> with 9

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-21 Thread tomcat/perl
Soyrry to top-post, but it's getting cluttered down there.. The next thing that you may want to do : > netstat -p -a -6 --tcp That is an alternative list of sockets, which also shows the "tcp state" of the sockets. To get only the ones of the tomcat JVM PID, filter wi

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-20 Thread tomcat/perl
Hi. According to the list below, you have 2 java (JVM) processes running on your system. One (PID = 130244) is the JVM which runs tomcat. This is visible when you look at the whole command-line. The other (PID = 130516) runs ElasticSearch, which I believe is not relevant here. So you

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-26 Thread tomcat/perl
e of the webapps running under tomcat. It seems quite unlikely that this would be tomcat itself, because if that was the case, this tomcat users list would probably be swamped with requests such as yours; which it isn't. It is worth noting also, that among all these messages found in Google, I have

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-26 Thread tomcat/perl
when you did this, you also changed the driver which tomcat is using to communicate with Postgresql. And maybe the problem lies in that driver. I mean that the driver is the piece of code which creates connections (using sockets) with Postgresql. And usually, that works and you have a number

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-25 Thread tomcat/perl
Hi. The point is to try to figure out what these thousands of apparently "TCPv6" sockets belonging to the tomcat process actually are, so that we can maybe begin to look at where they may be coming from. The trouble is, the lsof output so far did not really tell us what these &qu

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-23 Thread tomcat/perl
y this form of lsof : # lsof -a -p 130244 -T s -i6 And finally (after copying the result of the above) : do you know how to trigger a GC (Garbage Collection) in your tomcat JVM ? (the point is to see if when a GC happens, these things disappear). On 22.05.2021 18:03, Yeggy Javadi wrote: Here

Re: apache-tomcat-8.5.59 too many open files on Linux 8

2021-05-22 Thread tomcat/perl
Mmm. Nothing very special in that netstat output. The sockets seen there look quite normal for tomcat, and there are not a lot. What about the IPv4 sockets ? (remove the -6 in your netstat command) Looks like lsof is counting things which are not IPv6 TCP sockets belonging to the tomcat JVM

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

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

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-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] 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: IIS 10.0 as Tomcat reverse proxy does not send auth_type and remote_user AJP heder

2021-07-15 Thread tomcat/perl
Sorry, I haven't read the whole thread, but a basic question : In the tomcat AJP Connector configuration, is "tomcatAuthentication" set to "no" ? https://tomcat.apache.org/tomcat-9.0-doc/config/ajp.html#Common_Attributes On 13.07.2021 17:35, Paolo Clerici wrote: I

Re: Session stickiness with mod_proxy_balancer

2021-12-22 Thread tomcat/perl
modules and configuration sections and if after that you really understand what is going on, come back to me to explain, because after 20+ years of configuring Apache httpd, I'm still not sure sometimes. On 22.12.2021 18:04, Christopher Schultz wrote: All, I'm setting up mod_proxy_balancer to talk

Re: tomcat logging

2022-06-09 Thread tomcat-lists
Hi Alan, On 09.06.22 12:56, Alan F wrote: > Tomcat logging > > I would like to add a delimiter or characters " " around {user-agent} for > logging, I wanted it in double quotes for example "Mozilla 5.0.." but can't > seem to make it work. Or even addi

Re: OT: Question about TomcatX.exe files

2022-09-29 Thread tomcat/perl
See also : https://cwiki.apache.org/confluence/display/TOMCAT/Windows#Windows-Q11 On 28.09.2022 21:41, jonmcalexan...@wellsfargo.com.INVALID wrote: Thank you Mark. I mainly wanted to have answers for when I will be invariably questioned about it. :-). I knew about the naming, but understand

Tomcat 5.5.26 hangs

2009-10-14 Thread conrad-tomcat . users . 2009
Hi, our customer is running a cluster of tomcat servlet engines. On these, our web application is running. The basic setup is Loadbalancer --- Apache 1.3.x with mod_jk --- Tomcat with 2-3 Apache servers and 30 Tomcat instances bundled into clusters of 3-5 instances each. Apache + Tomcat servers

Re: Tomcat 5.5.26 hangs

2009-10-15 Thread conrad-tomcat . users . 2009
probably confirm this by checking with 'top' to see that Tomcat isn't using any CPU time, because it's just waiting. exactly. That's what I meant with waiting for input from the Apache servers. Thanks for confirming this. Is it feasible to remove httpd from the equation? Tomcat 5.5 can easily

Re: Tomcat restart not killing session

2009-10-15 Thread conrad-tomcat . users . 2009
Hi, On Thu, Oct 15, 2009 at 08:53:03AM -0500, sharda k wrote: I was under the impression that restarting webserver would kill all user sessions. But with my tomcat install, restarting Tomcat does not kill user sessions. I am still able to continue with the initially started sessions

Re: Tomcat 5.5.26 hangs

2009-11-10 Thread conrad-tomcat . users . 2009
httpd and Tomcat access logs netstat was found to be very helpful, because it showed non-empty send-queues and lots of connections in FIN_WAIT_1 on the webservers. Which proved that the problems were network-related, and not due to software bugs. Thanks for your help! Peter -- Peter

Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-18 Thread conrad-tomcat . users . 2009
Hi, we're seeing a strange problem here that is only partially reproducible. Our customer is running a cluster of Tomcat 5.5.26 servers (several cluster domains) behind several load-balanced Apache-2.2.11 (for SSL termination + sticky sessions). The application consists of an unencrypted part

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-19 Thread conrad-tomcat . users . 2009
and Tomcat). yep, that's what I thought, too. It looks like the last, partially filled AJP packet from the Tomcat response is not making it through the SSL layer, somehow. Or whatever signals end of response to the SSL layer. while the rest is only transferred after 5 seconds. Leaving -0 away from

Re: Apache-2.2.11 + mod_jk-1.2.28 + SSL

2009-11-27 Thread conrad-tomcat . users . 2009
Hi, Am Mittwoch, 18. November 2009 schrieb conrad-tomcat.users.2...@tivano.de: When a HTTP/1.0 client requests a dynamically generated page over SSL, most of the response is returned immediately. Then, we see a 5-second timeout (this is *not* Apache's KeepAliveTimeout), then the rest of the

[no subject]

2010-05-02 Thread Tomcat Users List
-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Tomcat on a machine with multiple ip addresses Content-Type: multipart/alternative; boundary

[no subject]

2010-05-02 Thread Tomcat Users List
-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: users@tomcat.apache.org Subject: Tomcat on a machine with multiple ip addresses Content-Type: multipart/alternative; boundary

[no subject]

2010-05-03 Thread Tomcat Users List
; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Smithan John smithantechsp...@gmail.com CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References

[no subject]

2010-05-03 Thread Tomcat Users List
; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Smithan John smithantechsp...@gmail.com CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References

[no subject]

2010-05-03 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Smithan John smithantechsp...@gmail.com CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References

[no subject]

2010-05-03 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Smithan John smithantechsp...@gmail.com CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References

[no subject]

2010-05-03 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Mark Thomas ma...@apache.org CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References: 4bdf5246.3040...@apache.org

[no subject]

2010-05-03 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Mark Thomas ma...@apache.org CC: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: Tomcat on a machine with multiple ip addresses References: 4bdf5246.3040...@apache.org

[no subject]

2010-05-04 Thread Tomcat Users List
mod_negotiation.c mod_dir.c mod_imagemap.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c I am using Tomcat 6.0.18 and am trying to load this module like so: LoadModule jk_module /usr/local/apache2/modules/mod_jk.so I really am not sure what is the problem here

[no subject]

2010-05-04 Thread Tomcat Users List
mod_negotiation.c mod_dir.c mod_imagemap.c mod_actions.c mod_userdir.c mod_alias.c mod_rewrite.c mod_so.c I am using Tomcat 6.0.18 and am trying to load this module like so: LoadModule jk_module /usr/local/apache2/modules/mod_jk.so I really am not sure what is the problem here

[no subject]

2010-05-05 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List users@tomcat.apache.org CC: =?ISO-8859-1?Q?Andr=E9_Warnier?= a...@ice-sa.com Subject: Re: Re: error with jk_module References: 4be0a632.8010...@ice-sa.com In-Reply

[no subject]

2010-05-05 Thread Tomcat Users List
(Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List users@tomcat.apache.org CC: =?ISO-8859-1?Q?Andr=E9_Warnier?= a...@ice-sa.com Subject: Re: Re: error with jk_module References: 4be0a632.8010...@ice-sa.com In-Reply

[no subject]

2010-05-06 Thread Tomcat Users List
-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: error with jk_module References: 4be1ea75.2020...@christopherschultz.net In-Reply

[no subject]

2010-05-06 Thread Tomcat Users List
-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: Tomcat Users List users@tomcat.apache.org Subject: Re: Re: error with jk_module References: 4be1ea75.2020...@christopherschultz.net In-Reply

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

<    4   5   6   7   8   9