5 Replies Latest reply on Feb 26, 2009 4:02 AM by Mansingh Shitole

    the request was rejected because no multipart boundary was f

    clause Mbacky Newbie

      hi, i have some problem to connect to my database.
      when i deploy my process into the database i have this error:


      11:04:17,821 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: t
      he request was rejected because no multipart boundary was found
      11:04:17,821 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.
      parseRequest(FileUploadBase.java:324)
      11:04:17,821 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.
      parseRequest(FileUploadBase.java:268)
      11:04:17,821 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.handleReque
      st(ProcessUploadServlet.java:72)
      11:04:17,821 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.service(Pro
      cessUploadServlet.java:56)
      11:04:17,821 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:810)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:252)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      11:04:17,821 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
      r.doFilter(ReplyHeaderFilter.java:96)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:202)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
      .invoke(StandardWrapperValve.java:213)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
      .invoke(StandardContextValve.java:178)
      11:04:17,821 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
      tionValve.invoke(SecurityAssociationValve.java:175)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.authenticator.Authenticat
      orBase.invoke(AuthenticatorBase.java:432)
      11:04:17,821 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
      e.invoke(JaccContextValve.java:74)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
      voke(StandardHostValve.java:126)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
      nvoke(ErrorReportValve.java:105)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
      invoke(StandardEngineValve.java:107)
      11:04:17,821 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
      ervice(CoyoteAdapter.java:148)
      11:04:17,821 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
      ess(Http11Processor.java:869)
      11:04:17,821 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
      ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      11:04:17,821 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
      ocessSocket(PoolTcpEndpoint.java:527)
      11:04:17,821 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
      hread.run(MasterSlaveWorkerThread.java:112)
      11:04:17,821 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      11:04:20,384 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: t
      he request was rejected because no multipart boundary was found
      11:04:20,384 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.
      parseRequest(FileUploadBase.java:324)
      11:04:20,384 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.
      parseRequest(FileUploadBase.java:268)
      11:04:20,384 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.handleReque
      st(ProcessUploadServlet.java:72)
      11:04:20,384 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.service(Pro
      cessUploadServlet.java:56)
      11:04:20,384 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpSe
      rvlet.java:810)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:252)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      11:04:20,384 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilte
      r.doFilter(ReplyHeaderFilter.java:96)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.internalDoFilter(ApplicationFilterChain.java:202)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterCha
      in.doFilter(ApplicationFilterChain.java:173)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve
      .invoke(StandardWrapperValve.java:213)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve
      .invoke(StandardContextValve.java:178)
      11:04:20,384 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssocia
      tionValve.invoke(SecurityAssociationValve.java:175)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.authenticator.Authenticat
      orBase.invoke(AuthenticatorBase.java:432)
      11:04:20,384 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValv
      e.invoke(JaccContextValve.java:74)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.in
      voke(StandardHostValve.java:126)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.i
      nvoke(ErrorReportValve.java:105)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.
      invoke(StandardEngineValve.java:107)
      11:04:20,384 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.s
      ervice(CoyoteAdapter.java:148)
      11:04:20,384 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.proc
      ess(Http11Processor.java:869)
      11:04:20,384 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$H
      ttp11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      11:04:20,384 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.pr
      ocessSocket(PoolTcpEndpoint.java:527)
      11:04:20,384 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerT
      hread.run(MasterSlaveWorkerThread.java:112)
      11:04:20,384 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)



      what that mean ?

        • 1. Re: the request was rejected because no multipart boundary w
          Ronald van Kuijk Master

          search this fine forum, e.g. with google.... lots, lots, lots of reports on this.

          • 3. Re: the request was rejected because no multipart boundary w
            Wole Adetiba Newbie

            How did you resolve this? I am having same problem

            Wole

            • 4. Re: the request was rejected because no multipart boundary w
              Sunil Kumar Newbie

              Hi

              Iam trying to run the jbpm exapmple which i got in jbpm/exapmples
              i did every thing following steps, but finally iam getting this error while iam deploying the process

              please any one help me regarding the same

              Thanks & Regards
              Sunil



              12:26:38,168 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart
              boundary was found
              12:26:38,309 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
              12:26:38,309 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
              12:26:38,309 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:72)
              12:26:38,309 ERROR [STDERR] at org.jbpm.web.ProcessUploadServlet.service(ProcessUploadServlet.java:56)
              12:26:38,309 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
              va:252)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              12:26:38,309 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.ja
              va:202)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
              12:26:38,309 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.jav
              a:175)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
              12:26:38,309 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
              12:26:38,309 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
              12:26:38,309 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
              12:26:38,309 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http
              11BaseProtocol.java:664)
              12:26:38,309 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
              12:26:38,309 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
              12:26:38,309 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)

              • 5. Re: the request was rejected because no multipart boundary w
                Mansingh Shitole Newbie

                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 A. Shitole
                NCST, Bangalore