DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4966>. 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 Summary: request.getParameter(String) SOMETIMES fail to parse the querystring Product: Tomcat 4 Version: 4.0.1 Final Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Setup: We have a servlet that is called (GET) by a shell-script every minute, always with the same URL. Every 25th reqeust or so, tomcat seems to fail parsing the querystring. The server is not under heavy load, the shell-script is the only client. Code (servlet): protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // get requests and features String templateName = request.getParameter(URL_TEMPLATE); String hintString = request.getParameter(URL_FORMAT); // check template if (templateName == null || templateName.equals("")) { // debug för felet på prod6 SystemLog.debug("Template missing in request ["+request.getParameter(URL_TEMPLATE)+"] in ["+request.getQueryString()+"]"); error("Template missing in request",request,response); return; } Output (SystemLog.debug is a simple System.out.println): DEBUG msg:Template missing in request [null] in [t=billerud_day&f=pngm] -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>