DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=33751>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=33751 Summary: AJP12 support broken ; loses query string Product: Tomcat 3 Version: 3.3.2 Final Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P2 Component: Connectors AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: [EMAIL PROTECTED] I must be the only person still using this thing, because it just blew up in my face in a big way. Apparently all query strings get dropped by Tomcat 332 when using the AJP12 protocol. (It works with Tomcat 331a. It works with AJP13.) Environment: Windows XP Apache 1.3.33 mod_jk 1.2.6 Tomcat 3.3.2 Sun JDK 1.4.2 A "Test" servlet (included below) fails to print any values (no request parameters) when accessed over AJP12. Same servlet works with AJP12 on Tomcat 331a. Also works with AJP13 on Tomcat 332. To reproduce, setup Tomcat 332 with only the Ajp12Connector enabled. Setup Apache+mod_jk with one ajp12 worker. Access the servlet below with query string parameters. public class Test extends HttpServlet { protected void doGet(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException { printParams(arg0, arg1); } protected void doPost(HttpServletRequest arg0, HttpServletResponse arg1) throws ServletException, IOException { printParams(arg0, arg1); } private void printParams(HttpServletRequest request, HttpServletResponse response) throws IOException { response.setContentType("text/html"); response.getWriter().println("<html><body>"); for (Enumeration e = request.getParameterNames(); e.hasMoreElements(); ) { String name = (String) e.nextElement(); response.getWriter().println("<p>" + name + " = "); response.getWriter().println(request.getParameter(name)); } response.getWriter().println("</html>"); } } -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]