DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-04 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-04 17:16 ---
Maybe, but I cannot see any difference between your test and my test, which 
didn't cause any single failures over thousands of requests (with a high 
concurrency level).

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-04 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-04 13:36 ---
Sorry, the:

Tue Dec 04 17:12:36 CET 2001 Parameter missing in request [null] in 
[t=billerud_day&f=pngm]

is from the Sun1.3. Just me copy:ing and paste:ing..

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-04 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-04 13:34 ---
Ok, I ran some tests today with both IBM1.3 (Linux) and Sun1.3.1 (Linux) with the 
following code :

  protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
  {
// get requests and features
String templateName = request.getParameter("t");

if (templateName == null || templateName.equals(""))
{
  // sout parameter and QueryString
  System.out.println((new Date())+" Parameter missing in request [" + 
request.getParameter("t") + "] in [" + request.getQueryString() + "]");

  // did we get ANY params?
  Enumeration enum = request.getParameterNames();
  while(enum.hasMoreElements())
  {
String name = (String)enum.nextElement();
String[] sarr = request.getParameterValues(name);
for(int i1 = 0; i1 < sarr.length; i1++)
{
  String s = sarr[i1];
  System.out.println(" --> " + name + " = " + s);
}
  }
}

response.setContentType("text/plain");
java.io.PrintWriter out = response.getWriter();
out.println("TomcatTestServlet");
out.close();
  }

The testcase was called 8 times/h for 8h and failed (IBM):
Tue Dec 04 11:04:33 GMT+01:00 2001 Parameter missing in request [null] in 
[t=billerud_day&f=pngm]
Tue Dec 04 12:14:34 GMT+01:00 2001 Parameter missing in request [null] in 
[t=billerud_day&f=pngm]
Tue Dec 04 17:12:36 CET 2001 Parameter missing in request [null] in 
[t=billerud_day&f=pngm]

e.g. neither the parameter "t" or "f" have been proparly parsed. The result with 
Sun1.3 was the same (failed 4 times in 8h). It´s really tricky to find the cause when 
it´s so hard to reproduce (all bugs of the kind "sometime fails" are)! If I have time 
i´ll try to run some tests on a w2k tomorrow.

Any thoughts?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-02 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-02 05:42 ---
I´ll create a testcase and run it on some more platforms, I´ll get back to you when I 
can get it to fail in predictable way.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-01 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-01 09:55 ---
That's great, but if I can't reproduce the problem, I can't fix it.
Do you see anything which would make my test case different than your 
situation ?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-12-01 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-12-01 05:16 ---
Missed the 2001-11-21 comment. As you can see in the output, the querystring
is correct, the accesslogs are correct and all requests are identical. The load is 
always the same, beacause the servlet is called from a shellscript, a request is 
finished when the next is done.

We don´t see this problem with Tomcat 3.2.3.

I´ll do some more tests with some other JVMs (now we are running IBM 1.3).

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-11-30 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME



--- Additional Comments From [EMAIL PROTECTED]  2001-11-30 23:31 ---
I created a simple servlet accessing the request parameters, with debug code 
like:
String foo = req.getParameter("foo");
if (foo == null) {
   System.out.println("No foo in URL:" + req.getRequestURL());
}

I then used ab to hammer the servlet (called S3, and added to the examples 
webapp) on:
http://127.0.0.1:8080/examples/servlet/S3?dfsds=dasdfas&foo=bar&fsdiuwe=qfebwejh

With concurrency set to 50 and 5000 requests, I didn't get a single failure.

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




DO NOT REPLY [Bug 4966] - request.getParameter(String) SOMETIMES fail to parse the querystring

2001-11-21 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966

request.getParameter(String) SOMETIMES fail to parse the querystring





--- Additional Comments From [EMAIL PROTECTED]  2001-11-21 13:29 ---
Have you checked in the access logs that all the requests were indeed 
specifying the parameters ?

--
To unsubscribe, e-mail:   
For additional commands, e-mail: