RE: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-26 Thread Chris Evans
Thanks for the help. Best regards, Chris Evans -Original Message- From: Christopher Schultz Sent: Wednesday, February 26, 2025 7:38 AM To: users@tomcat.apache.org Subject: Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object Robert

Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-26 Thread Christopher Schultz
Robert, On 2/25/25 5:59 PM, Robert Turner wrote: Tomcat 10.x uses the jakarta versions of the API, and I believe all the attributes have been renamed: "javax.servlet.request.X509Certificate" -> "jakarta.servlet.request.X509Certificate" +1 This is documented in Jakarta Servlet Specification[1

Re: Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-25 Thread Robert Turner
Tomcat 10.x uses the jakarta versions of the API, and I believe all the attributes have been renamed: "javax.servlet.request.X509Certificate" -> "jakarta.servlet.request.X509Certificate" Give that a quick try... On Tue, Feb 25, 2025 at 4:45 PM Chris Evans wrote: > > Hello, > > I need assistan

Tomcat 10.1.36 Configuration Question: Client Certificate(s) missing from servlet request object

2025-02-25 Thread Chris Evans
Hello, I need assistance with accessing client certificates from a servlet. This is not a servlet code question but a configuration question. The call to: request.getAttribute("javax.servlet.request.X509Certificate"); is not returning any certificates. The last time that I needed to do this

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Thanks, we aren’t allowed to until you guys fully release. 😊 From: Christopher Schultz Sent: Thursday, November 7, 2024 4:54 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 17: 37, Mcalexander, Jon J. wrote: > Thank you. ☹ You co

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Rob, On 11/7/24 17:54, Rob Sargent wrote: Thanks for this information Chris. I can probably create this dependency, but then I wouldn’t want it to be running all the time, will having it as a dependency start said service? I could use Procrun to probably do this service, but then how do I te

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Rob Sargent
Thanks for this information Chris. I can probably create this dependency, but then I wouldn’t want it to be running all the time, will having it as a dependency start said service? I could use Procrun to probably do this service, but then how do I tell it to run and then stop? I honestly ha

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 17:37, Mcalexander, Jon J. wrote: Thank you. ☹ You could grab the just-rolled 9.0.97. It's already got 2 +1 votes. -chris From: Christopher Schultz Sent: Thursday, November 7, 2024 4:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Pr

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Thank you. ☹ From: Christopher Schultz Sent: Thursday, November 7, 2024 4:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 14: 53, Mcalexander, Jon J. wrote: > Sorry to top-reply, but does this regression exist in 10. 1. 31 as w

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 14:29, Mcalexander, Jon J. wrote: From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote: > Happy Thursday everybody, >

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
t: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote: > Happy Thursday everybody, > > I have a question around starting a Tomcat Service Instance on Windows servers. Is there a way to have the Tomcat Startup kick off a script before

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
From: david w Sent: Thursday, November 7, 2024 2:09 PM To: Tomcat Users List Subject: Re: Tomcat Service(s) on Windows, Procmon question Sent: Thursday, November 7, 2024 8: 53 PM To: Tomcat Users List Subject: RE: Tomcat Service(s) on Windows, Procmon

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread david w
Sent: Thursday, November 7, 2024 8:53 PM To: Tomcat Users List Subject: RE: Tomcat Service(s) on Windows, Procmon question Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? From: Christopher Schultz Sent: Thursday

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Sorry to top-reply, but does this regression exist in 10.1.31 as well, or only 9.0.96? From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote

RE: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
From: Christopher Schultz Sent: Thursday, November 7, 2024 1:16 PM To: users@tomcat.apache.org Subject: Re: Tomcat Service(s) on Windows, Procmon question Jon, On 11/7/24 13: 08, Mcalexander, Jon J. wrote: > Happy Thursday everybody, > > I have a question around starting a Tomca

Re: Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Christopher Schultz
Jon, On 11/7/24 13:08, Mcalexander, Jon J. wrote: Happy Thursday everybody, I have a question around starting a Tomcat Service Instance on Windows servers. Is there a way to have the Tomcat Startup kick off a script before starting that will clear the contents of the workDir (Clear the cache

Tomcat Service(s) on Windows, Procmon question

2024-11-07 Thread Mcalexander, Jon J.
Happy Thursday everybody, I have a question around starting a Tomcat Service Instance on Windows servers. Is there a way to have the Tomcat Startup kick off a script before starting that will clear the contents of the workDir (Clear the cache so to say)? We have run into some issues after upgra

Re: Tomcat Manager 403's with LDAP Realm

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

Tomcat Manager 403's with LDAP Realm

2024-02-17 Thread Dan McLaughlin
ansmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure, ​or distribution is strictly prohibited. The contents of this e-mail are confidential and may be subject to work product privileges

Http/s Memory Leak

2021-07-08 Thread Mark A. Claassen
We are using 9.0.12 on a server and noticed a pretty big memory leak. The change log mentions a some fixed leaks in the releases since 9.0.12. I was wondering if this leak was fixed already. The leak is that there are over 80,000 instances of org.apache.tomcat.util.buf.MessageBytes. Below is

Re: Apache httpd / tomcat AJP connector(s?)

2019-05-09 Thread Rainer Jung
Am 08.05.2019 um 10:14 schrieb Mark Thomas: On 07/05/2019 13:37, André Warnier (tomcat) wrote: Hi. On 26.04.2019 18:16, Mark Thomas wrote: On 24/04/2019 10:58, André Warnier (tomcat) wrote: Hi. This is somewhat of an arcane question and somewhat straddling httpd and tomcat, so if I'm on the

Re: Apache httpd / tomcat AJP connector(s?)

2019-05-08 Thread Mark Thomas
On 07/05/2019 13:37, André Warnier (tomcat) wrote: > Hi. > > On 26.04.2019 18:16, Mark Thomas wrote: >> On 24/04/2019 10:58, André Warnier (tomcat) wrote: >>> Hi. >>> >>> This is somewhat of an arcane question and somewhat straddling httpd and >>> tomcat, so if I'm on the wrong list for this, just

Re: Apache httpd / tomcat AJP connector(s?)

2019-05-07 Thread tomcat
Hi. On 26.04.2019 18:16, Mark Thomas wrote: On 24/04/2019 10:58, André Warnier (tomcat) wrote: Hi. This is somewhat of an arcane question and somewhat straddling httpd and tomcat, so if I'm on the wrong list for this, just let me know. Here is fine. We can always move the thread if necessary

Re: Apache httpd / tomcat AJP connector(s?)

2019-04-26 Thread Mark Thomas
On 24/04/2019 10:58, André Warnier (tomcat) wrote: > Hi. > > This is somewhat of an arcane question and somewhat straddling httpd and > tomcat, so if I'm on the wrong list for this, just let me know. Here is fine. We can always move the thread if necessary. > The question is : is there any parti

Apache httpd / tomcat AJP connector(s?)

2019-04-24 Thread tomcat
Hi. This is somewhat of an arcane question and somewhat straddling httpd and tomcat, so if I'm on the wrong list for this, just let me know. The question is : is there any particular reason why the combination mod_proxy + mod_proxy_ajp (in httpd), does not seem to follow the ProxyPreserveHost

Re: Intermittently a Tomcat’s 7's response loses all (non-Coyote-added) headers

2018-05-03 Thread Mark Thomas
On 03/05/18 15:47, R Mundell wrote: > I don’t believe it’s actually possible for the filters or the servlet to > remove headers even if they want to (they don’t appear to have any access to > the MimeHeaders of the Coyote “Response” object, and the HttpServletResponse > object doesn’t have an

Intermittently a Tomcat’s 7's response loses all (non-Coyote-added) headers

2018-05-03 Thread R Mundell
Attention Tomcat developers who know how the Coyote bit of Tomcat works… I’ve got a tricky one for you! :-) We’re struggling with a puzzling problem where intermittently, calls to a servlet are delivered back to the client with all of the headers missing except the ones that Coyote adds. In ro

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-19 Thread Yasser Zamani
; "scalabilitaly is equal" to a tomcat with 200 max threads but with >>> servlet 3's async API including application's thread pool with size 200. >>> >>> However so far I thought Oracle's docs are like standards and tomcat >>> have to sat

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-13 Thread Yasser Zamani
On 9/13/2017 9:49 PM, Mark Thomas wrote: > On 05/09/2017 19:56, Yasser Zamani wrote: >> Thanks a lot Mark! >> >> Yes I knew these and before tested that a tomcat with 400 max threads >> "scalabilitaly is equal" to a tomcat with 200 max threads but wi

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-13 Thread Mark Thomas
On 05/09/2017 19:56, Yasser Zamani wrote: > Thanks a lot Mark! > > Yes I knew these and before tested that a tomcat with 400 max threads > "scalabilitaly is equal" to a tomcat with 200 max threads but with > servlet 3's async API including application's thre

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-13 Thread Yasser Zamani
On 9/5/2017 11:26 PM, Yasser Zamani wrote: > Thanks a lot Mark! > > Yes I knew these and before tested that a tomcat with 400 max threads > "scalabilitaly is equal" to a tomcat with 200 max threads but with > servlet 3's async API including applicati

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-05 Thread Yasser Zamani
Thanks a lot Mark! Yes I knew these and before tested that a tomcat with 400 max threads "scalabilitaly is equal" to a tomcat with 200 max threads but with servlet 3's async API including application's thread pool with size 200. However so far I thought Oracle's do

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-05 Thread Mark Thomas
k Tomcat must use another thread pool for such blocking operations > and keep current thread pool free for new requests; It's the philosophy > of Servlet 3.0's asynchronous support according to Oracle's > documentation. wdyt? I think this is a good question that highlights a lot

Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-03 Thread Yasser Zamani
only does not make thread pool more free to process new requests, but also has an overhead via thread switching! I think Tomcat must use another thread pool for such blocking operations and keep current thread pool free for new requests; It's the philosophy of Servlet 3.0's asynchrono

Re: Apache Tomcat8 blocked once reached max thread(s) count

2016-05-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 5/2/16 7:29 AM, David kerber wrote: > On 5/2/2016 3:33 AM, Kapilan A wrote: >> Hi Folks >> >> I am facing one issue with Apache Tomcat 8. >> >> >> >> In 32 GB machine, four instances of tomcat is running and every >> tomcat has memory as

Re: Apache Tomcat8 blocked once reached max thread(s) count

2016-05-02 Thread David kerber
On 5/2/2016 3:33 AM, Kapilan A wrote: Hi Folks I am facing one issue with Apache Tomcat 8. In 32 GB machine, four instances of tomcat is running and every tomcat has memory as 512-1024. In the SQl server, a particular table called "MetaData". Third party engine will post

Re: Apache Tomcat8 blocked once reached max thread(s) count

2016-05-02 Thread Mark Thomas
On 02/05/2016 08:33, Kapilan A wrote: > I am facing one issue with Apache Tomcat 8. Which version? > After 12 hours continuously posting, then one of the tomcat is freeze. Its > not accepting any more connections from third party What do the logs show? What about a thread dump? Ideally, you

Apache Tomcat8 blocked once reached max thread(s) count

2016-05-02 Thread Kapilan A
Hi Folks I am facing one issue with Apache Tomcat 8. In 32 GB machine, four instances of tomcat is running and every tomcat has memory as 512-1024. In the SQl server, a particular table called "MetaData". Third party engine will post a http request throug

Re: All Status is "S" Tomcat manager

2015-04-24 Thread Christopher Schultz
r is almost > not accessible. That's a lot of threads. > When I open the server:8080/manager of that server, I found that > all the Stages under "http-nio-8080" are "S"! The values of > "BSent" and "BRecv" are all 0 KB. What does that mean? Tho

All Status is "S" Tomcat manager

2015-04-24 Thread Jian Wu
the server is almost not accessible. When I open the server:8080/manager of that server, I found that all the Stages under "http-nio-8080" are "S"! The values of "BSent" and "BRecv" are all 0 KB. What does that mean? To solve this problem, the only way I know

Re:Re: tomcat7's welcome-file-list seems not to work fine on my server

2014-09-30 Thread 罗茂林
Thanks for replying,I answered after you questions. At 2014-09-30 17:25:53, "Konstantin Kolinko" wrote: >2014-09-30 11:53 GMT+04:00 罗茂林 : >> Here is my env: >> Server version: Apache Tomcat/7.0.47 >> Server built: Oct 18 2013 01:07:38 >> Server number: 7.0.47.0 >> OS Name:Linux >> OS V

Re: tomcat7's welcome-file-list seems not to work fine on my server

2014-09-30 Thread Konstantin Kolinko
2014-09-30 11:53 GMT+04:00 罗茂林 : > Here is my env: > Server version: Apache Tomcat/7.0.47 > Server built: Oct 18 2013 01:07:38 > Server number: 7.0.47.0 > OS Name:Linux > OS Version: 2.6.32-358.el6.x86_64 > Architecture: amd64 > JVM Version:1.6.0_20-b02 > JVM Vendor: Sun Mi

Re:Re: tomcat7's welcome-file-list seems not to work fine on my server

2014-09-30 Thread 罗茂林
Sorry,I made a mistake, the ROOT should be upper case. At 2014-09-30 17:13:40, "André Warnier" wrote: >罗茂林 wrote: >> Here is my env: >> Server version: Apache Tomcat/7.0.47 >> Server built: Oct 18 2013 01:07:38 >> Server number: 7.0.47.0 >> OS Name:Linux >> OS Version: 2.6.32-3

Re: tomcat7's welcome-file-list seems not to work fine on my server

2014-09-30 Thread Andr?? Warnier
?? wrote: Here is my env: Server version: Apache Tomcat/7.0.47 Server built: Oct 18 2013 01:07:38 Server number: 7.0.47.0 OS Name:Linux OS Version: 2.6.32-358.el6.x86_64 Architecture: amd64 JVM Version:1.6.0_20-b02 JVM Vendor: Sun Microsystems Inc. The problem: my a

tomcat7's welcome-file-list seems not to work fine on my server

2014-09-30 Thread 罗茂林
Here is my env: Server version: Apache Tomcat/7.0.47 Server built: Oct 18 2013 01:07:38 Server number: 7.0.47.0 OS Name:Linux OS Version: 2.6.32-358.el6.x86_64 Architecture: amd64 JVM Version:1.6.0_20-b02 JVM Vendor: Sun Microsystems Inc. The problem: my application layou

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
For BASIC- and DIGEST-based authentication, a session is not necessary at all, though common. Sessions can also exist completely independently of authentication. I just downloaded a fresh instance of 7.0.54 and added the %S to the valve config. However, I don't get any session keys in the l

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Christopher Schultz
essions can also exist completely independently of authentication. > I just downloaded a fresh instance of 7.0.54 and added the %S to > the valve config. However, I don't get any session keys in the log > when I click around in the doc. But, as soon as I click on the > manager or

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Fred Toth
Hi again, I'm confused. I thought (apparently mistakenly) that there was always a session, but I must be wrong. I just downloaded a fresh instance of 7.0.54 and added the %S to the valve config. However, I don't get any session keys in the log when I click around in the doc. But,

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Mark Thomas
On 09/06/2014 10:59, André Warnier wrote: > Mark Thomas wrote: >> On 09/06/2014 01:41, Fred Toth wrote: >>> Hi Dan, >>> >>> Yes, the rest of the log is correct, and yes, I am certain I have an >>> active session (I can see the cookie in my browser). >> >> Then something is messed up in your configu

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread André Warnier
Jun 8, 2014 4:01 PM, "Fred Toth" wrote: Hi, This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not working. All I'm ge

Re: Adding user session id to access log with %S doesn't work?

2014-06-09 Thread Mark Thomas
>> >>> This feature is in the doc since at least tomcat 5. I'm using tomcat >> 7.0.47 and I just tried to add the user session id to the access log by >> adding "%S" to the pattern attribute. However, it's not working. All I'm >> getting is "

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
cat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not working. All I'm getting is "-" in the log. Have to ask, but are you sure that the request has an active session

Re: Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Daniel Mikusa
On Jun 8, 2014 4:01 PM, "Fred Toth" wrote: > > Hi, > > This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not

Adding user session id to access log with %S doesn't work?

2014-06-08 Thread Fred Toth
Hi, This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not working. All I'm getting is "-" in the log. Is there

Re: Can jasper2's "validateXml" be added back, at least for the lifetime of Tomcat 7?

2014-02-21 Thread Mark_DeSpain
>> >> On 2/20/14, 12:21 AM, "Mark Thomas" wrote: >> >>> On 20/02/2014 07:46, mark_desp...@mcafee.com wrote: >>>> Hi everyone, >>>> >>>> My project recently tried upgrading to Tomcat 7.0.52 and has become >>>>

Re: Can jasper2's "validateXml" be added back, at least for the lifetime of Tomcat 7?

2014-02-21 Thread Mark Thomas
e it as fixed. Mark > > Thanks! > > Mark D. > > > > > On 2/20/14, 12:21 AM, "Mark Thomas" wrote: > >> On 20/02/2014 07:46, mark_desp...@mcafee.com wrote: >>> Hi everyone, >>> >>> My project recently tried upgrading to

Re: Can jasper2's "validateXml" be added back, at least for the lifetime of Tomcat 7?

2014-02-20 Thread Mark_DeSpain
/20/14, 12:21 AM, "Mark Thomas" wrote: >On 20/02/2014 07:46, mark_desp...@mcafee.com wrote: >> Hi everyone, >> >> My project recently tried upgrading to Tomcat 7.0.52 and has become >> bit by the renaming of jasper2¹s ³validateXml² to ³validateTld², as >>

Re: Can jasper2's "validateXml" be added back, at least for the lifetime of Tomcat 7?

2014-02-20 Thread Mark Thomas
On 20/02/2014 07:46, mark_desp...@mcafee.com wrote: > Hi everyone, > > My project recently tried upgrading to Tomcat 7.0.52 and has become > bit by the renaming of jasper2’s “validateXml” to “validateTld”, as > described on the thread below. This change has made it more > dif

Can jasper2's "validateXml" be added back, at least for the lifetime of Tomcat 7?

2014-02-19 Thread Mark_DeSpain
Hi everyone, My project recently tried upgrading to Tomcat 7.0.52 and has become bit by the renaming of jasper2’s “validateXml” to “validateTld”, as described on the thread below. This change has made it more difficult pick up the latest Tomcat 7’s security fixes since the change breaks build

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Howard W. Smith, Jr.
ception e) { logger.error("caught org.apache.catalina.connector.ClientAbortException: " + e.getMessage()); } since I already know the culprit(s); see details/explanation, below. > Maybe Igor is right and the problem is some browser (e.g. MSIE 8) and not > necessarily mobile clients. >

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 11/11/13, 5:41 AM, André Warnier wrote: > Howard W. Smith, Jr. wrote: >> On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < >> smithh032...@gmail.com> wrote: >> >>> Caused by: java.net.SocketTimeoutException at >>> org.apache.tomca

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 11/10/13, 9:25 AM, Howard W. Smith, Jr. wrote: > On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < > smithh032...@gmail.com> wrote: > >> Caused by: java.net.SocketTimeoutException at >> org.apache.tomcat.util.net.NioBlockingSelec

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread Howard W. Smith, Jr.
On Mon, Nov 11, 2013 at 5:41 AM, André Warnier wrote: > Howard W. Smith, Jr. wrote: > >> On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < >> smithh032...@gmail.com> wrote: >> >> Caused by: java.net.SocketTimeoutException >>> at >>> org.apache.tomcat.util.net.NioBlockingSelector.write( >>>

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-11 Thread André Warnier
Howard W. Smith, Jr. wrote: On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: Caused by: java.net.SocketTimeoutException at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127) at org.apache.tomcat.util.net.NioSelectorPool.write

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov wrote: > There is heaps of articles and questions in various forums > you're right... i searched google for ClientAbortException in tomcat nabble archive, and saw many posts.

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 8:54 PM, Igor Cicimov wrote: > > > Also you didn't say anything about any load balancer or proxy fronting your > application. It is worth checking the timeouts there as well and align them > with the > connection timeout on your server (in case you do use one of course). >

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Igor Cicimov
On Mon, Nov 11, 2013 at 11:22 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > > > For Sun Java for example you can try the following: > > > > -Dsun.net.client.defaultReadTimeout=180 > > > > which will increase the socket timeo

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > For Sun Java for example you can try the following: > > -Dsun.net.client.defaultReadTimeout=180 > > which will increase the socket timeout to 30 minutes lets say if the > default one is not enough in case or slow client. Another thing to

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 5:08 PM, Igor Cicimov wrote: > > In my experience SocketTimeoutException comes up in case of misbehaving > browser (read IE 8 and older), i.e. the client fails to send the complete > request and the socket timeout strikes. interesting, thanks. This error occurs when diff

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Igor Cicimov
On Mon, Nov 11, 2013 at 1:25 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < > smithh032...@gmail.com> wrote: > > > Caused by: java.net.SocketTimeoutException > > at > > > org.apache.tomcat.util.net.NioBlockingSelector.write(NioBl

Re: Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
On Sun, Nov 10, 2013 at 9:14 AM, Howard W. Smith, Jr. < smithh032...@gmail.com> wrote: > Caused by: java.net.SocketTimeoutException > at > org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:127) > at > org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java

Avoiding/Handling SocketTimeoutException(s) when web application serving resources to mobile clients

2013-11-10 Thread Howard W. Smith, Jr.
Using Tomcat 7.0.47 via TomEE 1.6.0 along with MyFaces 2.1.13 Recently, I have been experiencing the SocketTimeoutException when web application is serving resources to 'mobile clients'. Yesterday, user was attempting to login from mobile iPad via an internal wireless phone connection. Since my we

Possible serious bug in Tomcat 7's websocket UpgradeUtil when handling concurrent connections that use a custom ServerEndpointConfig.Configurator

2013-10-27 Thread Bob DeRemer
It appears that there is a problem in Tomcat's static UpgradeUtil.doUpgrade logic when handling concurrent connection/upgrade requests that rely on a custom ServerEndpointConfig.Configurator.modifyHandshake to grab [per-upgrade-request] client header values and inject them into the wsSession th

Followup old thread(s) about Apache, AJP, and tomcatAuthentication, and roles

2012-06-03 Thread ohaya
Hi, Awhile ago, I had this thread, where I originally trying to see if I could get Tomcat, using the AJP connector and "tomcatAuthentication" to work, when I had an OAM webgate installed on the Apache proxy fronting the Tomcat: http://tomcat.10.n6.nabble.com/Do-any-of-the-Tomcat-LDAP-type-realm

RE: ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-23 Thread Konstantin Preißer
Hello Rainer, > -Original Message- > From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Sent: Monday, February 20, 2012 7:48 PM > > I don't really know, but 1220 is ERROR_CONNECTION_INVALID, which is > closer to what you expected. One of the parameters passed to > WriteClient > and also

Re: ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-20 Thread Rainer Jung
On 20.02.2012 18:45, Konstantin Preißer wrote: Hi all, I'm using Tomcat 7.0.25 (running on a Oracle JDK 1.7.0_03) on a Windows Server 2008 (32-Bit), with IIS 7.0 and the ISAPI 1.2.32 connector (with chunked encoding enabled) to pass HTTP requests to Tomcat. Since IIS 7.0, there is a response

ISAPI errors 87 when disabling IIS 7.0's response buffering

2012-02-20 Thread Konstantin Preißer
Hi all, I'm using Tomcat 7.0.25 (running on a Oracle JDK 1.7.0_03) on a Windows Server 2008 (32-Bit), with IIS 7.0 and the ISAPI 1.2.32 connector (with chunked encoding enabled) to pass HTTP requests to Tomcat. Since IIS 7.0, there is a response buffering that also applies to responses from t

RE: s

2011-11-01 Thread Kobe
/usr/tomcat/lib # n828cl wrote: > >> From: Kobe [mailto:r...@mailcity.com] >> Subject: Re: s > >> I changed the paths to standard locations (using >> LD_LIBRARY_PATH). > > So where is your .so file actually located? You need to include that > directo

RE: s

2011-10-26 Thread Caldarale, Charles R
> From: Kobe [mailto:r...@mailcity.com] > Subject: Re: s > Is it possible to make it say what library it missing? It's missing the one you built. (You did build the APR .so file, didn't you?) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETA

RE: s

2011-10-26 Thread Caldarale, Charles R
> From: Kobe [mailto:r...@mailcity.com] > Subject: Re: s > I changed the paths to standard locations (using > LD_LIBRARY_PATH). So where is your .so file actually located? You need to include that directory in LD_LIBRARY_PATH. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDE

Re: s

2011-10-26 Thread Kobe
dServer.initialize(StandardServer.java:786) >>> at org.apache.catalina.startup.Catalina.load(Catalina.java:528) >>> at org.apache.catalina.startup.Catalina.load(Catalina.java:552) >>> ... 6 more >>> >>> >>>

Re: s

2011-10-26 Thread Kobe
lina.java:552) >> ... 6 more >> >> >> my connector config is >> >> >> >protocol="org.apache.coyote.http11.Http11AprProtocol" >>connectionTimeout="11000" >>red

Re: s

2011-10-26 Thread Daniel Mikusa
I see "java.library.path" is set to "/opt/asdasdasd/app/bin/../lib", which looks a little funky. Have you tried setting it to "/opt/asdasdasd/app/lib"? I'm assuming this is the location of the compiled library files, please confirm. Dan On Wed, 2011-10-26 at 04:30 -0700, Kobe wrote: > i have t

s

2011-10-26 Thread Kobe
) at org.apache.catalina.startup.Catalina.load(Catalina.java:528) at org.apache.catalina.startup.Catalina.load(Catalina.java:552) ... 6 more my connector config is same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32723372.html Sent

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Darius D.
Pid * wrote: > > > Exactly which version of Tomcat are you running? > > Latest, 7.0.21. -- View this message in context: http://old.nabble.com/Request-params-randomly-null-in-servlet%28s%29-tp32461421p32474158.html Sent from the Tomcat - User mailing list archive at Nabble.com. --

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
;2" >enableLookups="false" >acceptCount="1000" >maxThreads="500" >maxPostSize="10485760" > /> > > > > >

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Darius D.
Pid * wrote: > > > What is your server.xml config? (please remove comments, passwords etc > & post it inline, in the response) > > Here it is, nothing special ( except usage of RemoteIpValve ). Thanks for looking into this problem.

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
On 14/09/2011 16:38, Darius D. wrote: > >> p >> > > Well the problem is that we already looked for that mode of failure, our > servlet class has 0 instance variables... Basically it is a method like i > pasted before, doing HttpSession session = request.getSession(); and if > session is valid (i

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Pid * wrote: > > On 14/09/2011 11:55, Darius D. wrote: > > They are in *that* thread. > > It is possible to expose either request or response object outside of > the scope of the thread, so a second request sees a modified version of > the same object. > > E.g. > > public class SomeServlet

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
On 14/09/2011 11:55, Darius D. wrote: > > > > Pid * wrote: >> >> doProcess(req, res) is not a Servlet API method. What other method(s) >> call it? >> >> Usually this type of thing occurs because the request (or response) is >> being held as an

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Pid * wrote: > > doProcess(req, res) is not a Servlet API method. What other method(s) > call it? > > Usually this type of thing occurs because the request (or response) is > being held as an instance field somewhere in a thread-unsafe way. > > It is called from:

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
on&v=1315912033175 HTTP/1.0" > 200 15 > 127.0.0.1 - - [13/Sep/2011:14:18:20 +0300] "GET > /ourapp/servlet/Servlet?type=groupsChangedAction&v=1315912699092 HTTP/1.0" > 200 15 > > So as you can see, tomcat got that GET reqest with type and v params like

Request params randomly null in servlet(s)

2011-09-14 Thread Darius D.
Hi, we have a problem of request params beeing null in servlets where it shouldn't be ( post or get, in get we can even see that request.getQueryString() is fine, but params are null). It is more pronounced when using dedicated thread executor, moving to threads provided by connector itself (wit

Re: problem with missing library(s)--google app engine

2011-05-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, On 5/6/2011 10:26 AM, Jay, Michael wrote: > This package is in the .jar. User is a class in the package. > createLoginURL() is a method in the UserServiceFactory class, also in > the package. And yet, live in tomcat . . . > > error: > > com

problem with missing library(s)--google app engine

2011-05-06 Thread Jay, Michael
I am trying to write a web app to do authentication through google. My development environment is eclipse with the google GAE and jetty. I get no compile time errors--and I copied the web module folder (named *war* in eclipse) manually into webapps in tomcat. No .war file involved. The app runs

RE: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) > A Java int is defined to be 32-bits. Why would it have to be word-length > on the stack? Is that documented anywhere, or does it just

RE: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) So, back to the original question: will a 32-bit JVM on a 64-bit OS give me a bigger heap potential than a 32-bit JVM on a 32-bit OS? Depends entirely on

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/14/2011 11:20 PM, Caldarale, Charles R wrote: >> From: Leon Rosenberg [mailto:rosenberg.l...@gmail.com] >> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) > >> I'm sorry, I probably

Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 3/15/2011 9:02 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) > >> A 32-bit process,

RE: [OT] Followup on 32-bit versus 64-bit performance discussion(s)

2011-03-15 Thread Caldarale, Charles R
> From: peter.crowth...@googlemail.com [mailto:peter.crowth...@googlemail.com] > On Behalf Of Peter Crowther > Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) > > Also, a Java int, when allocated on the stack, must take up the same number > >

  1   2   3   >