tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33916] New: - Multipart request errors occuring after upgrading to 5.5.7
Date Tue, 08 Mar 2005 22:29:51 GMT
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=33916>.
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=33916

           Summary: Multipart request errors occuring after upgrading to
                    5.5.7
           Product: Tomcat 5
           Version: 5.5.7
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rmills@dex.com


I have an upload page that has been working without any problems for months.  
It is used dozens of times each day.  My web app uses Struts.

Today, I installed Java 5 and upgraded from Tomcat 5.0.16 to 5.5.7.  I deployed 
to same code as before and started getting a multipart request error (see 
below).  It does not occur consistently.  So far today, it has occurred twice.

Error from logs...

 INFO http-9999-Processor24 org.apache.struts.action.RequestProcessor - 
Processing a 'POST' for path '/viewBidDetailsAction'
 ERROR http-9999-Processor25 
org.apache.struts.upload.CommonsMultipartRequestHandler - Failed to parse 
multipart request
 org.apache.commons.fileupload.FileUploadException: Processing of 
multipart/form-data request failed. Read timed out
	at org.apache.commons.fileupload.FileUpload.parseRequest
(FileUpload.java:462)
	at org.apache.commons.fileupload.FileUpload.parseRequest
(FileUpload.java:304)
	at org.apache.struts.upload.CommonsMultipartRequestHandler.handleRequest
(CommonsMultipartRequestHandler.java:234)
	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:934)
	at org.apache.struts.action.RequestProcessor.processPopulate
(RequestProcessor.java:779)
	at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:246)
	at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1292)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
	at com.dex.goldmine.actions.SessionTimeoutFilter.doFilter(Unknown 
Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:825)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:738)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:526)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
ERROR http-9999-Processor25 StandardWrapper[/goldmine2:action] - Servlet.service
() for servlet action threw exception
 javax.servlet.ServletException: Filter exception : Processing of 
multipart/form-data request failed. Read timed out
	at com.dex.goldmine.actions.SessionTimeoutFilter.doFilter(Unknown 
Source)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:202)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:214)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:825)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:738)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:526)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
	at java.lang.Thread.run(Unknown Source)
INFO http-9999-Processor24 org.apache.struts.action.RequestProcessor - 
Processing a 'POST' for path '/updateBidAction'


Here's the HTML for the upload page (Page is actually written with Struts 
tags)...

<html>
<head>
<style>
input {font-family:arial;font-size:11px}
select {font-family:arial;font-size:11px}
.columnHeadings {font-family:arial;font-size:9px;font-weight:bold;background-
color:#e6e6e6}
.pageTitle {font-family:arial;font-size:10pt;color:#ffffff;font-
weight:bold;background-color:#387BB8}
.pageSubtitle {font-family:arial;font-size:11px;color:#ffffff;font-
weight:bold;background-color:#598DBE}
.results {font-family:arial;font-size:9px}
a {font-family:arial;font-size:9px}
</style>
<SCRIPT type='text/javascript' src='goldmine_edit.js'></SCRIPT>
<title>Attachment Details</title>
</head>
<body bgcolor="#FFFFFF" leftmargin="2" topmargin="2" marginwidth="2" 
marginheight="2" onKeyPress="keyPress()" onKeyDown="keyDown()">
<form name="attachmentDetailForm" method="POST" 
action="/goldmine2/updateAttachmentInfo.do" enctype="multipart/form-data" 
onsubmit="return showHourglass()"> 
<table width="600" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td>
      <font color="red"><B></B></font> 
      <font color="green">
        <B>
          
        </B>
      </font> 
      <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td>
            <a href="/goldmine2/UpdateTargets.do"><img src="btn_targets.gif" 
width="67" height="18" border="0"></a>
          </td>
          <td>
           <img src="btn_bidpipeline.gif" width="89" height="18">
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td height="2"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" 
bgcolor="#CCCCCC">
        <tr> 
          <td> 
            <table border="0" cellspacing="0" cellpadding="2" width="100%">
              <tr bgcolor="#387BB8"> 
                <td class="pageTitle">ATTACHMENT</td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td height="2" bgcolor="#999999"><img src="spacer.gif" width="1" 
height="1"></td>
  </tr>
  <tr valign="top">
    <td>
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          
            
              <td valign="top">
                <a href="javascript:goBack()">
                  <img src="btn_back.gif" width="41" height="15" border="0">
                </a>
              </td>
              <td height="17" valign="top"><a 
href="/goldmine2/BidSearchForm.jsp" onclick="showHourglass()"><img 
src="btn_search.gif" border="0"></a></td>
              <td valign="top"><a href="javascript:window.print()"><img 
src="btn_print.gif" width="47" height="15" border="0"></a></td>           
  
            
          
        </tr>
      </table>
  </tr>
  <tr> 
    <td height="8"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tr> 
          <td bgcolor="#CCCCCC"> 
            <table border="0" bgcolor="#FFFFFF" width="100%" cellpadding="2" 
cellspacing="1">
              <tr bgcolor="#598DBE"> 
                <td colspan="2" class="pageSubtitle">Attachment Information</td>
                <td colspan="10" class="pageSubtitle"></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="8"><img src="spacer.gif" width="1" height="1"></td>
        </tr>
        <tr> 
          <td bgcolor="#CCCCCC"> 
            <table border="0" width="100%" cellpadding="2" cellspacing="1" 
bgcolor="#FFFFFF">
              <tr>
                <td class="columnHeadings" width="5%" nowrap="true" 
align="right">Description</td>
                <td class="results" colspan="3" nowrap="true">
                  
                  
                    <input type="text" name="linkedDocument.description" 
maxlength="35" size="80" value="">
                    
                  
                </td>
              </tr>
              <tr>
                <td class="columnHeadings" width="5%" nowrap="true" 
align="right">Notes</td>
                <td class="results" colspan="3" nowrap="true">
                  
                  
                    <textarea name="linkedDocument.notes" cols="80" 
rows="5"></textarea>
                    
                  
                </td>
              </tr>
              <tr>
                <td class="columnHeadings" width="5%" nowrap="true" 
align="right">File</td>
                <td class="results" colspan="3" nowrap="true">
                  
                    <input type="file" name="file" size="80" value="">
                  
                  
                </td>
              </tr>
              <tr valign="top"> 
                <td true colspan="19" height="1"> 
                  <table width="100%" border="0" cellspacing="0" 
cellpadding="0">
                    <tr bgcolor="#CCCCCC"> 
                      <td><img src="spacer.gif" width="1" height="1"></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="8"><img src="spacer.gif" width="1" height="1"></td>
        </tr>
        <tr>
          <td>
            <table align="center">
              <tr>
                 
                  <td><input type="submit" name="submitType" value="Save"></td>
                  <td><input type="submit" name="submitType" 
value="Delete"></td>
                  <td><input type="submit" name="submitType" 
value="Cancel"></td>
                
                
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

</form> 
</body>
</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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message