9 Replies Latest reply on Jul 5, 2007 4:39 AM by koen.aers

    Problem with Deployment (FileUploadException)

      hi all,
      i have problem with deployment, can anybody help me, is this known issue ?
      i found this problem here in this forum but i can't resolve this problem yet,
      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050482#4050482
      http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951326#3951326
      when i tried to deploy process archive i got this error:

      23:54:49,552 ERROR [STDERR] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
      23:54:49,554 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
      23:54:49,554 ERROR [STDERR] at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
      23:54:49,554 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.handleRequest(ProcessUploadServlet.java:87)
      23:54:49,555 ERROR [STDERR] at org.jbpm.webapp.servlet.ProcessUploadServlet.service(ProcessUploadServlet.java:63)
      23:54:49,555 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      23:54:49,555 ERROR [STDERR] at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      23:54:49,555 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      23:54:49,555 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      23:54:49,555 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
      23:54:49,555 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      23:54:49,556 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      23:54:49,556 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      23:54:49,556 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      23:54:49,556 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      23:54:49,556 ERROR [STDERR] at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      23:54:49,556 ERROR [STDERR] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      23:54:49,556 ERROR [STDERR] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      23:54:49,556 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      




      _______________
      Regards,
      Paata.

        • 1. Re: Problem with Deployment (FileUploadException)
          cahimoped

          Your servlet get something but apparently the content isn't multipart.

          How do you use it? From the web-console? the GPD?

          • 2. Re: Problem with Deployment (FileUploadException)
            koen.aers

            I assume you are using an older version of the GPD with a newer version of the jbpm-console or something like that. List your specific version matrix please.

            Regards,
            Koen

            • 3. Re: Problem with Deployment (FileUploadException)

              os - suse linux
              jbpm - jbpm-jpdl-3.2.GA
              eclipse - 2.0.0beta2
              example - [url]http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmGettingStarted[url]

              • 4. Re: Problem with Deployment (FileUploadException)

                and when i look on server log i this messages recursively :

                05:50:38,554 DEBUG [JobExecutorThread] acquiring jobs for execution...
                05:50:38,554 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
                05:50:38,555 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@1670cc6
                05:50:38,555 DEBUG [DbPersistenceServiceFactory] creating persistence service
                05:50:38,555 DEBUG [DbPersistenceService] creating hibernate session
                05:50:38,555 DEBUG [DbPersistenceService] beginning hibernate transaction
                05:50:38,555 DEBUG [JobExecutorThread] querying for acquirable job...
                05:50:38,556 DEBUG [JobExecutorThread] no acquirable jobs in job table
                05:50:38,556 DEBUG [JbpmContext] closing JbpmContext
                05:50:38,556 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@e86f41
                05:50:38,556 DEBUG [DbPersistenceService] committing hibernate transaction
                05:50:38,556 DEBUG [DbPersistenceService] closing hibernate session
                05:50:38,556 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@1e04a35
                05:50:38,557 DEBUG [JobExecutorThread] obtained locks on following jobs: []
                05:50:38,557 DEBUG [JbpmContextInfo] creating jbpm context with service factories '[tx, message, scheduler, logging, persistence, authentication]'
                05:50:38,557 DEBUG [JbpmContext] creating org.jbpm.JbpmContext@281902
                05:50:38,557 DEBUG [DbPersistenceServiceFactory] creating persistence service
                05:50:38,557 DEBUG [DbPersistenceService] creating hibernate session
                05:50:38,557 DEBUG [DbPersistenceService] beginning hibernate transaction
                05:50:38,558 DEBUG [JbpmContext] closing JbpmContext
                05:50:38,558 DEBUG [Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@d2bb53
                05:50:38,558 DEBUG [DbPersistenceService] committing hibernate transaction
                05:50:38,558 DEBUG [DbPersistenceService] closing hibernate session
                05:50:38,558 DEBUG [Services] closing service 'tx': org.jbpm.tx.TxService@1086036
                


                does it mean something wrong ????

                ______________________
                Regards,
                Paata,



                • 5. Re: Problem with Deployment (FileUploadException)
                  ricardomarques

                  have u tried to use the latest eclipse and GPD version? eclipse 2 is too old.

                  • 6. Re: Problem with Deployment (FileUploadException)
                    kukeltje

                    I think he means JBoss IDE 2.0 Beta2

                    No the debug is not an error it is for executing timers and async jobs

                    JBoss IDE 2.0 beta 2 includes an old GPD (3.0.9 afaik) so the answer Koen gave is probable the most correct. Try the latest GPD

                    • 7. Re: Problem with Deployment (FileUploadException)

                       

                      "kukeltje" wrote:
                      I think he means JBoss IDE 2.0 Beta2

                      No the debug is not an error it is for executing timers and async jobs

                      JBoss IDE 2.0 beta 2 includes an old GPD (3.0.9 afaik) so the answer Koen gave is probable the most correct. Try the latest GPD



                      hi guys ,
                      Thank you for your posts, i have download jbpm-jpdl-designer-3.1.0.beta1 (jbpm-gpd-3.0.13 ) , it works fine, error does not appears, but when i tried to enter http://localhost:8080/jbpm there is nothing. i think there is no deployed application , what i did incorrect ?

                      also i got this warning :
                      <task xmlns="urn:jbpm.org:jpdl-3.2" name="Send Item" blocking="false" signalling="true" priority="normal">
                       <controller config-type="field">
                       <variable name="tracking number" access="read,write,required"/>
                       </controller>
                       </task>
                      


                      but i don't think that this is problem. how i can find my deployed application ?
                      is this correct url : http://localhost:8080/jbpm

                      sorry for my simple questions,

                      _____________
                      Regards,
                      Paata.

                      • 8. Re: Problem with Deployment (FileUploadException)

                         

                        23:29:37,796 WARN [JpdlXmlReader] process xml warning: warning: no swimlane or assignment specified for task '<task xmlns="urn:jbpm.org:jpdl-3.2" name="Send Item" blocking="false" signalling="true" priority="normal">
                         <controller config-type="field">
                         <variable name="tracking number" access="read,write,required"/>
                         </controller>
                         </task>'
                        
                        


                        • 9. Re: Problem with Deployment (FileUploadException)
                          koen.aers

                          Use the url http://localhost:8080/jbpm-console.

                          Regards,
                          Koen