2 Replies Latest reply on Feb 26, 2009 4:07 AM by ms_shitole

    org.apache.commons.fileupload.FileUploadException: the reque

    utsaviinindia

      Hi,

      I am using Eclipse SDK 3.2.1, jbpm-gpd-feature-3.0.12, jbpm-jpdl-3.2.1.
      I followed the demo example. It is working fine till press "Deploy Process Archive" button. Message I got successful message but I got the below error on server side.

      I saw this error in this forum also but it says in next release it is resolved.
      But this is the only combination of softwares, gpd is working.

      Can someone guide me in right direction?

      Best Regards and Thanks in advance for your help.

      org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
      15:50:19,028 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
      15:50:19,028 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
      15:50:19,028 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:72)
      15:50:19,038 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.service(ProcessUploadServlet.java:56)
      15:50:19,038 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      15:50:19,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      15:50:19,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:50:19,038 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      15:50:19,038 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      15:50:19,058 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      15:50:19,058 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      15:50:19,058 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      15:50:19,058 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      15:50:19,058 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      15:50:19,078 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      15:50:19,078 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      15:50:19,078 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      15:50:19,088 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      15:50:19,088 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      15:50:19,088 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      15:50:19,108 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      15:50:19,108 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocketPoolTcpEndpoint.java:527)
      15:50:19,108 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.runMasterSlaveWorkrThread.java:112)
      15:50:19,108 ERROR [STDERR] at java.lang.Thread.runThread.java:534)

        • 1. he request was rejected because no multipart boundary was fo
          utsaviinindia


          I took the latest jar file (commons-fileupload-1.2.jar) from Apache but still getting the same problem.

          Any advises..

          • 2. Re: org.apache.commons.fileupload.FileUploadException: the r

            Hi,

            Its just versioning problem, thats it.
            You have to download commons-fileupload-1.2.1.jar from following link
            http://commons.apache.org/downloads/download_fileupload.cgi

            And put this "commons-fileupload-1.2.1.jar" in jbpm-console.war file inside WEB-INF/lib directory.

            So u will find jbpm-console.war file in following path. ie from your server home directory
            jbpm-jpdl-3.2.2/server/server/jbpm/deploy

            just extract jbpm-console.war file and then after extracting you will get "jbpm-console" directory. Inside this directory, go to following path
            jbpm-console/WEB-INF/lib

            and delete previous "commons-fileupload.jar" file from lib directory and paste newly downloaded "commons-fileupload-1.2.1.jar" file

            Then just once again, newly create the jbpm-console.war and paste it in following path
            jbpm-jpdl-3.2.2/server/server/jbpm/deploy

            means replace with old jbpm-console.war file

            Thats it. Then restart the server. Its sure that, u will not get FileUploadException again.

            Hope this will help u all-:)

            --Mansingh