You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/01/24 13:00:29 UTC

[Bug 56060] New: Request parameter is intermittently missing

https://issues.apache.org/bugzilla/show_bug.cgi?id=56060

            Bug ID: 56060
           Summary: Request parameter is intermittently missing
           Product: Tomcat 7
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Servlet & JSP API
          Assignee: dev@tomcat.apache.org
          Reporter: haperkelu@gmail.com

Tomcat Version: 7.0.29

My server is handling requests in parallel.(Almost 50 requests per second)

I can tell the parameter is intermittently missing, which is very annoying.

To be specific, the parameter key is "app_code" and corresponding value is
"xxxxx" 

At most time,  I can get the value by invoking method
request.getParameter("app_code").  However, sometimes, when the request load is
high, I did get null.

Could you please inform me of how to trouble shoot this issue?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56060] Request parameter is intermittently missing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56060

--- Comment #2 from Sid <sh...@hotmail.com> ---
Hi Mark/Pie,

Just checking if there is any known issue around this in Tomcat 7.0.22

We're encountering the same issue. Few of our requests have no values in
parameters map even though query string is proper.

-Sid

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56060] Request parameter is intermittently missing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56060

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Bugzilla is not a support forum. Please use the Tomcat users mailing list. What
you are describing sounds like a thread safety issue with the application.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 56060] Request parameter is intermittently missing

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56060

--- Comment #3 from Jess Holle <je...@ptc.com> ---
I had one such case -- and it was traced down to another thread making calls
against a ServletRequest object.  There are all sorts of nasty race conditions
around this -- ServletRequest objects are explicitly not guaranteed to be
thread safe by the serlvet spec and Tomcat's most certainly are not.  So I'd
first be absolutely certain that you're making no use of ServletRequest objects
from other threads than the request handling threads.  [And if you absolutely
must, then you'll need to be super careful to do all sorts of things just right
-- and I'd assume you didn't...]

And as others have stated, Bugzilla is not a support forum.  Asking about the
bug on the mailing lists would be more appropriate than adding comments to it.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org