6 Replies Latest reply on May 27, 2014 2:37 PM by jaredmladner

    Kie-wb does not display processes diagram

    gkitchen

      Kie-wb does not display processes diagram

       

      I have kie-wb (6.1) deployed in jboss7.1 persisted to a MYSQL database.

       

      I have the simple examples Hiring a Developer and Evaluation, deployed and I am able to start instances from within the workbench itself and started from a rest client.

       

      When I click on details and view model I do not get the diagram.  Any suggestions?  In the logs I can see the following.

       

      http://pastebin.com/bn1SQC92

       

      09:29:55,876 INFO  [org.jbpm.designer.server.EditorHandler] (http--10.97.80.10-7080-10) Performing diagram information pre-processing steps.

      09:29:55,880 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--10.97.80.10-7080-10) Performing preprocessing steps in readonly mode.

      09:29:55,951 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--10.97.80.10-7080-10) Successfully deleted file :/usr/share/jboss7.1/standalone/tmp/vfs/temp2b09f3cda5cda085/kie-wb.war-965f7429028de673/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json

      09:29:55,963 ERROR [stderr] (http--10.97.80.10-7080-10) context [anonymous] 6188:12 attribute includedo isn't defined

      09:29:55,970 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--10.97.80.10-7080-10) Created file:/usr/share/jboss7.1/standalone/tmp/vfs/temp2b09f3cda5cda085/kie-wb.war-965f7429028de673/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/bpmn2.0jbpm.json

      09:29:55,976 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (http--10.97.80.10-7080-10) Created file:/usr/share/jboss7.1/standalone/tmp/vfs/temp2b09f3cda5cda085/kie-wb.war-965f7429028de673/org.kie.workbench.KIEWebapp/stencilsets/bpmn2.0jbpm/view/activity/workitems/ReadOnlyService.svg

      09:29:55,984 WARN  [org.jboss.solder.exception.control.log] (http--10.97.80.10-7080-10) No handlers found for exception java.lang.IllegalMonitorStateException

      09:29:55,988 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/kie-wb].[EditorHandler]] (http--10.97.80.10-7080-10) Servlet.service() for servlet EditorHandler threw exception: java.lang.IllegalMonitorStateException

              at org.uberfire.commons.lock.impl.ThreadLockServiceImpl.unlock(ThreadLockServiceImpl.java:44) [uberfire-commons-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.uberfire.io.impl.AbstractIOService.endBatch(AbstractIOService.java:158) [uberfire-io-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit.preprocess(JbpmPreprocessingUnit.java:283) [jbpm-designer-backend-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

              at org.jbpm.designer.server.EditorHandler.doGet(EditorHandler.java:236) [jbpm-designer-backend-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.2.1.Final.jar:3.2.1.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.2.1.Final.jar:3.2.1.Final]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.jbpm.designer.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:70) [jbpm-designer-backend-6.1.0-SNAPSHOT.jar:6.1.0-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.uberfire.security.server.UberFireSecurityFilter.doFilter(UberFireSecurityFilter.java:283) [uberfire-security-server-0.4.0-SNAPSHOT.jar:0.4.0-SNAPSHOT]

              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.13.Final.jar:]

              at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]

              at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:416) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]

              at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]

              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]

        • 1. Re: Kie-wb does not display processes diagram
          salaboy21

          Something is wrong with your process definition. Have you created the process definition inside the web process designer?

           

          Can you look for the string: "includedo" inside your business process? because the parser is complaining about that.

           

          Regards

          • 2. Re: Kie-wb does not display processes diagram
            hcaicedo

            I had the same problem. I found that the class org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit on the jbpm-designer-backend-6.1.0-SNAPSHOT.jar  has a bug. The monitor is closed twice ( line 163, and line 283 ). That prevent the application of trowing the right error. Remove the line 163 ( the finally block on line 283 will end the transaction.

             

            If you remove this and recompile that error goes away and you can correct your process. 

             

            Regards

            • 3. Re: Kie-wb does not display processes diagram
              gkitchen

              Thanks for the replies chaps.

               

              The processes that I am deploying are the out the box examples included in the war - the evaluation example and the hiring example so I have not knowingly changed them. 

               

              If and when I get a chance I guess I'll work out how to build from source and try Hector suggestion.

              • 4. Re: Kie-wb does not display processes diagram
                tsurdilovic

                Absolutely correct! This is fixed in Designer master branch now. Thanks for the solution.

                • 5. Re: Kie-wb does not display processes diagram
                  tsurdilovic

                  You should build designer first (git clone https://github.com/droolsjbpm/jbpm-designer.git) - mvn clean install -Dfull -DskipTests

                  and then build kie-wb (git clone https://github.com/droolsjbpm/kie-wb-distributions.git ) so that it picks up the latest designer from your local repository.

                  You can find your wars then under kie-wb-distributions/kie-wb/kie-wb-webapp/target/

                   

                  HTH

                  • 6. Re: Kie-wb does not display processes diagram
                    jaredmladner

                    Hi,

                     

                    I am still running into this issue building the 6.1.0.Beta3 tag that has the fix mentioned above.  The process designer works fine on a clean configuration but after a process is executed or aborted, returning back to Authoring, the Process Designer will never load. The logs show below:

                     

                    13:35:08,469 INFO  [org.jbpm.designer.server.EditorHandler] (http-localhost-127.0.0.1-8080-12) Performing diagram information pre-processing steps.

                    13:35:08,618 INFO  [org.jbpm.designer.server.EditorHandler] (http-localhost-127.0.0.1-8080-7) Performing diagram information pre-processing steps.

                     

                    I have found that if i delete the, .niogit/system.git repo and start over with a new configuration, the designer works again.