2 Replies Latest reply on Feb 26, 2009 4:05 AM by Mansingh Shitole

    problems using jbpm 3.1 with jboss 4.0.0

    jainer eduardo quiceno Newbie

      hi, I have configured jboss with the following archives that says the starters kit:
      - In the folder deploy I created the file postgres-ds.xml.
      - In the folder jbpm.sar->meta-inf I configured the file jboss-service.xml.
      - In the file jbpm.sar.cfg.jar I configured the file hibernate.cfg.xml.

      The problem is when I use the console jbpm, because the data do not appear, and are no exceptions of datasource. Simply I can navigate between the jsp pages, but without the possibility to see the data.
      The other problem is when I try to deploy a definition of process in the editor; it appears the following exception:

      INFO [STDOUT] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
      at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
      at org.jbpm.webapp.servlet.UploadServlet.handleRequest(UploadServlet.java:70)
      at org.jbpm.webapp.servlet.UploadServlet.service(UploadServlet.java:50)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
      at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
      at java.lang.Thread.run(Thread.java:595)
      


      i'm working with postgreSQL
      Any idea?
      thanx
      Regards!!

      ________________
      jainer eduardo

        • 1. Re: problems using jbpm 3.1 with jboss 4.0.0
          jainer eduardo quiceno Newbie

           

          "jainer" wrote:
          hi, I have configured jboss with the following archives that says the starters kit:
          - In the folder deploy I created the file postgres-ds.xml.
          - In the folder jbpm.sar->meta-inf I configured the file jboss-service.xml.
          - In the file jbpm.sar.cfg.jar I configured the file hibernate.cfg.xml.

          The problem is when I use the console jbpm, because the data do not appear, and are no exceptions of datasource. Simply I can navigate between the jsp pages, but without the possibility to see the data.
          The other problem is when I try to deploy a definition of process in the editor; it appears the following exception:

          INFO [STDOUT] org.apache.commons.fileupload.FileUploadException: the request was rejected because no multipart boundary was found
          at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:324)
          at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:268)
          at org.jbpm.webapp.servlet.UploadServlet.handleRequest(UploadServlet.java:70)
          at org.jbpm.webapp.servlet.UploadServlet.service(UploadServlet.java:50)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
          at org.jbpm.webapp.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:55)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
          at org.jbpm.web.JbpmContextFilter.doFilter(JbpmContextFilter.java:83)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
          at org.jbpm.webapp.filter.LogFilter.doFilter(LogFilter.java:59)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
          at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
          at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:44)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:169)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
          at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
          at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
          at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
          at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
          at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
          at java.lang.Thread.run(Thread.java:595)
          


          i'm working with postgreSQL
          Any idea?
          thanx
          Regards!!

          ________________
          jainer eduardo


          • 2. Re: problems using jbpm 3.1 with jboss 4.0.0
            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