DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED OS/Version|Solaris |All Resolution||WONTFIX Version|4.1.30 |4.1.31 --- Additional Comments From [EMAIL PROTECTED] 2005-05-26 21:50 --- I have done some testing and I can repeat this on both Linux and Win32. The bug is in the parameter handling of the org.apache.ajp.tomcat4.Ajp13Connector connector, as you correctly point out. The fix is to use the newer org.apache.coyote.tomcat4.CoyoteConnector connector with the org.apache.jk.server.JkCoyoteHandler The connector documentation is not as clear about which connectors are deprecated and which are not and as a result I have re-written large chunks of the documentation as a result. I will update the website soon, but I need to filter out changes in the docs that relate to features implemented post 4.1.31 first. Since the connector with the bug is deprecated, this bug is WONTFIX. -- 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]
DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 --- Additional Comments From [EMAIL PROTECTED] 2005-03-07 20:33 --- If you have a new issue, please open a new bug report. -- 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]
DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 --- Additional Comments From [EMAIL PROTECTED] 2005-03-06 22:08 --- Created an attachment (id=14418) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14418action=view) I had exact same code and same problem. But I got around by using for loop as displayed -- 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]
DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 --- Additional Comments From [EMAIL PROTECTED] 2005-03-06 22:14 --- Created an attachment (id=14419) -- (http://issues.apache.org/bugzilla/attachment.cgi?id=14419action=view) But meanwhile I have same problem with loop of enumeration.hasMoreElements() from request.getAllAttributes() and I can see that enumeration.hasMoreElements() still true when there is no more. -- 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]
DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 [EMAIL PROTECTED] changed: What|Removed |Added Component|Catalina|Connector:JK/AJP --- Additional Comments From [EMAIL PROTECTED] 2005-01-07 18:27 --- Just looked at this again and it is related to the JK connector between Apache and Tomact. I'll change the component. -- 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]
DO NOT REPLY [Bug 29777] - HttpServletRequest#getParameterNames problem
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=29777. 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=29777 HttpServletRequest#getParameterNames problem [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Platform|All |Sun Resolution|WORKSFORME | Summary|getParameterNames problem |HttpServletRequest#getParame ||terNames problem --- Additional Comments From [EMAIL PROTECTED] 2004-06-28 06:19 --- I have not tested this with the latest version of the Tomcat4 source (from CVS) yet. But this problem is Solaris only? It did not occur in Windows (same version as Solaris). [test servlet] public class testServlet extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { printOutput(response, test + BR); Enumeration enum = request.getParameterNames(); if(enum != null) { Object obj = null; while(enum.hasMoreElements()) { obj = enum.nextElement(); printOutput(response, obj.toString() + BR); } }; printOutput(response, test2 + BR); } protected void printOutput(HttpServletResponse response, String str) { try { PrintWriter out = response.getWriter(); out.print(str); } catch (Exception e) { e.printStackTrace(); }; } } [web.xml] ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app servlet servlet-nametest/servlet-name servlet-classtest.testServlet/servlet-class /servlet servlet-mapping servlet-nametest/servlet-name url-pattern/test/url-pattern /servlet-mapping /web-app - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]