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

Tomcat Manager 403's with LDAP Realm

2024-02-17 Thread Dan McLaughlin
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. If you are not the intended

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

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,

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

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

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

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

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

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 satisfy them :) &g

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 thread pool wi

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 application's

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 docs are like

Re: Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-05 Thread Mark Thomas
at 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 of misunderstanding in t

Tomcat misuse of Servlet 3.0's asynchronous support

2017-09-03 Thread Yasser Zamani
es 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 asynchronous support according

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

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

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

All Status is S Tomcat manager

2015-04-24 Thread Jian Wu
and 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 is to restart Tomcat, but after several days

Re: All Status is S Tomcat manager

2015-04-24 Thread Christopher Schultz
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? Those are metrics I don't recognize. Are these stats kept and shown by the load balancer? To solve

Re: Tomcat 5.5.20 v/s 7.0.57 WebDavServlet / Window 7 - QA...

2015-01-19 Thread Mark Thomas
On 19/01/2015 18:43, manish.m.pa...@kp.org wrote: Hello Users: Issue: while copying file from windows 7 to network share folder (in webapp using webDav servlet) it throws error message on local machine Error 0x80070032: The request is not supported We were NOT having this issue when we

Tomcat 5.5.20 v/s 7.0.57 WebDavServlet / Window 7 - QA...

2015-01-19 Thread Manish . M . Patel
Hello Users: Issue: while copying file from windows 7 to network share folder (in webapp using webDav servlet) it throws error message on local machine Error 0x80070032: The request is not supported We were NOT having this issue when we were using windows XP. We are working with microsoft on

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

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

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 a...@ice-sa.com 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:

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 罗茂林 a8156...@126.com: 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:

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 knst.koli...@gmail.com wrote: 2014-09-30 11:53 GMT+04:00 罗茂林 a8156...@126.com: 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

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

2014-06-09 Thread Mark Thomas
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? Usually when you see - it means the value is absent

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

2014-06-09 Thread André Warnier
, Fred Toth ft...@synernet.com 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 getting is - in the log. Have to ask

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 configuration. I've just

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, as soon

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

2014-06-09 Thread Christopher Schultz
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 status links, I get the key. Before

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

2014-06-09 Thread Fred Toth
- 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 log when I click

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 some trick to this? I haven't found

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 ft...@synernet.com 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 getting

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

2014-06-08 Thread Fred Toth
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. Have to ask, but are you sure that the request has an active session? Usually when you see - it means

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

2014-02-21 Thread Mark Thomas
. On 2/20/14, 12:21 AM, Mark Thomas ma...@apache.org 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 described on the thread below

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

2014-02-21 Thread Mark_DeSpain
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 scripts for quite a few projects maintained by different teams. Would it be possible

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 difficult pick up the latest

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 ma...@apache.org 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 described on the thread below

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

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 a...@ice-sa.com 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 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

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

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

2013-11-11 Thread Howard W. Smith, Jr.
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. it is the mobile device phone/internet connection that is lost, recycled, recovered (or however you want to explain it). see below

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

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

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

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 icici...@gmail.com 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

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 icici...@gmail.com 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.

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 icici...@gmail.com wrote: For Sun Java for example you can try the following: -Dsun.net.client.defaultReadTimeout=180 which will increase the socket

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 icici...@gmail.com 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

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 icici...@gmail.com 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.

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

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:

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

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

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

RE: s

2011-11-01 Thread Kobe
: 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 CONFIDENTIAL

s

2011-10-26 Thread Kobe
connectionTimeout=11000 redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32723372.html Sent from the Tomcat - User mailing list archive at Nabble.com

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 tomcat6

Re: s

2011-10-26 Thread Kobe
config is Connector port=8080 protocol=org.apache.coyote.http11.Http11AprProtocol connectionTimeout=11000 redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32725391.html

Re: s

2011-10-26 Thread Kobe
redirectPort=443 / same for https also. -- View this message in context: http://old.nabble.com/s-tp32723372p32725411.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail

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 CONFIDENTIAL

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

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 (it is!)

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Darius D.
=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=%h %l %u %t quot;%rquot; %s %b resolveHosts=false/ /Host /Engine /Service /Server -- View this message in context: http://old.nabble.com/Request-params-randomly-null-in-servlet%28s%29

Re: Request params randomly null in servlet(s)

2011-09-15 Thread Pid
protocolHeader=X-Forwarded-Proto / Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=localhost_access_log. suffix=.txt pattern=%h %l %u %t quot;%rquot; %s %b resolveHosts=false/ /Host /Engine /Service /Server

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.

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

Re: Request params randomly null in servlet(s)

2011-09-14 Thread Pid
with type and v params like it gets and processes thousands others. Servlet code looks like: doProcess(req, res) is not a Servlet API method. What other method(s) call it? private void doProcess(HttpServletRequest request, HttpServletResponse response) throws IOException

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: public void doGet

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 instance field somewhere in a thread-unsafe way. It is called

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 extends

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

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

2011-03-15 Thread Leon Rosenberg
On Tue, Mar 15, 2011 at 4:20 AM, Caldarale, Charles R chuck.caldar...@unisys.com 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 missed something, but why should 64 bit app on 64

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

2011-03-15 Thread Peter Crowther
On 15 March 2011 07:36, Leon Rosenberg rosenberg.l...@gmail.com wrote: So a 64bit cpu has a 32bit mode, or how would a 32bit OS shrink the transmit size? I mean the registers stay the same? Frequently, the bottleneck with realistic loads is access to main memory (or, not quite equivalently,

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 32-bit process, using 32-bit pointers, will enjoy a 2x speedup for those types of data. Also, a Java int, when allocated on the stack, must take up

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

2011-03-15 Thread Peter Crowther
On 15 March 2011 13:02, Caldarale, Charles R chuck.caldar...@unisys.comwrote: Also, a Java int, when allocated on the stack, must take up the same number of bits as a pointer. That's an interesting space/time trade-off (I presume it's to prevent excess arithmetic on stack value accesses). I

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 of bits as a pointer. That's

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, using 32-bit pointers

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 missed something, but why should

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

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 end up being

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I've been thinking about the recent discussion(s) about 32-bit versus 64-bit performance on 64-bit hardware and I have a simple question: what's the best deployment strategy for a Java webapp that doesn't require *huge* amounts of memory, yet

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

2011-03-14 Thread David kerber
On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get no benefit from running a 64-bit OS then I won't bother installing one. If you're using windows server machines, Server 2008 R2 (and maybe Server

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:22 PM, David kerber wrote: On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get no benefit from running a 64-bit OS then I

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

2011-03-14 Thread David kerber
On 3/14/2011 1:31 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:22 PM, David kerber wrote: On 3/14/2011 1:01 PM, Christopher Schultz wrote: ... We are going into a production upgrade cycle and I'd like to plan for the OS type: if we get

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011 1:36 PM, David kerber wrote: On 3/14/2011 1:31 PM, Christopher Schultz wrote: I should have mentioned, we are in a Linux environment, so we have lots of options. ;) Lucky you; I wish I could say the same... You should

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

2011-03-14 Thread Leon Rosenberg
I'm sorry, I probably missed something, but why should 64 bit app on 64 bit os on 64 bit cpu be slower as 32 bit analog? regards Leon On Mon, Mar 14, 2011 at 6:45 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/14/2011

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

2011-03-14 Thread Justin Randall
To: Tomcat Users Listusers@tomcat.apache.org Reply-To: Tomcat Users List users@tomcat.apache.org Subject: Re: [OT] Followup on 32-bit versus 64-bit performance discussion(s) I'm sorry, I probably missed something, but why should 64 bit app on 64 bit os on 64 bit cpu be slower as 32 bit analog

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 3:45 PM, Justin Randall wrote: In general, it is technically possible for a 32-bit application to perform faster than a 64-bit application when running on a 64-bit CPU because of CPU memory cache behaviour. Also due to the

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

2011-03-14 Thread Justin Randall
-bit versus 64-bit performance discussion(s) Sent: Mar 14, 2011 17:08 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 3:45 PM, Justin Randall wrote: In general, it is technically possible for a 32-bit application to perform faster than a 64-bit application when running on a 64

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

2011-03-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Justin, On 3/14/2011 5:44 PM, Justin Randall wrote: It really makes you wonder why caches and pipelines weren't scaled more proportionally. Not to mention memory sizes in general. We got a 2^32-fold increase in addressable memory. Great. Where is

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

2011-03-14 Thread Caldarale, Charles R
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 missed something, but why should 64 bit app on 64 bit os on 64 bit cpu be slower as 32 bit analog? Because all the data items are bigger

  1   2   3   >