10 Replies Latest reply on Jan 23, 2015 3:22 PM by sanjay05222

    jbpm 6.0 installation problem

    sravan008

      Hi Every one  ,

       

       

      I'm new to JBPM , I'm trying to install JBPM 6.0 in jboss-eap-6.1 .But it throwing some wired exceptions .couldn't get any solution for this by browsing .

       

      I really appreciate if any one can suggest me how to resolve this problem .

       

      FYR : please find the log below :

       

       

      01:24:06,791 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "jbpm-console-6.1.0.Final.war" (runtime-name: "jbpm-console-6.1.0.Final.war")

      01:24:13,085 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."jbpm-console-6.1.0.Final.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console-6.1.0.Final.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "jbpm-console-6.1.0.Final.war"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:127) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_67]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_67]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_67]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018774: Error loading jboss-all.xml from /home/ksk/servers/jboss-eap-6.1/standalone/tmp/vfs/temp6922a437c41b3d95/jbpm-console-6.1.0.Final.war-3683bb1c2fc0dba6/META-INF/jboss-all.xml

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:153) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:128) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.deploy(JBossAllXMLParsingProcessor.java:96) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:120) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        ... 5 more

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[18,3]

      Message: Unexpected element '{urn:jboss:weld:1.0}weld'

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)

        at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.parseJBossElement(JBossAllXMLParsingProcessor.java:203) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.readElement(JBossAllXMLParsingProcessor.java:192) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.readElement(JBossAllXMLParsingProcessor.java:176) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)

        at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)

        at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:148) [jboss-as-server-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]

        ... 8 more

        • 1. Re: jbpm 6.0 installation problem
          swiderski.maciej

          seems like you're trying to deploy jbpm console that is built for wildfly on EAP 6 which is not compatible. Make sure you use right version of jbpm console war file for the server you try to deploy to.

           

          HTH

          • 2. Re: jbpm 6.0 installation problem
            juandavidr

            I have the same issue, i downloaded jbpm console 6.1.0 and im getting the same error on jboss-eap-6.3 i've checked the installer and even changed the build.propertis to use the correct installation of jboss+jbpm. what else could be wrong?

             

            Stacktrace is as follows:

            13:17:12,726 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC000001: Failed to start service jboss.deployment.unit."jbpm-console.war".STRUCTURE: org.jboss.msc.service.S

            tartException in service jboss.deployment.unit."jbpm-console.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "jbpm-console.war"

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) [rt.jar:1.6.0_45]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_45]

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

            Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018774: Error loading jboss-all.xml from D:\aplicaciones\jbpm-installer\jboss-eap-6.3\standalone\tmp\vf

            s\temp\temp6550191ba3e3899f\jbpm-console.war-3ff84d61f611b8c7\META-INF\jboss-all.xml

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:153) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-red

            hat-19]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:128) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-red

            hat-19]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.deploy(JBossAllXMLParsingProcessor.java:96) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-red

            hat-19]

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]

                    ... 5 more

            Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[18,3]

            Message: Unexpected element '{urn:jboss:weld:1.0}weld'

                    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

                    at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.parseJBossElement(JBossAllXMLParsingProcessor.java:203) [jboss-as-server-7.4.0.Final-redhat-19.

            jar:7.4.0.Final-redhat-19]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.readElement(JBossAllXMLParsingProcessor.java:192) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.

            4.0.Final-redhat-19]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor$Parser.readElement(JBossAllXMLParsingProcessor.java:176) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.

            4.0.Final-redhat-19]

                    at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

                    at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]

                    at org.jboss.as.server.deployment.jbossallxml.JBossAllXMLParsingProcessor.parse(JBossAllXMLParsingProcessor.java:148) [jboss-as-server-7.4.0.Final-redhat-19.jar:7.4.0.Final-red

            hat-19]

                    ... 8 more

             

            How ever it appears to "deploy the console but its not operational

            [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "jbpm-console.war" (runtime-name : "jbpm-console.war")

             

            finial message i see is:

             

            JBAS014777:   Services which failed to start:      service jboss.deployment.unit."jbpm-console.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."jbpm-console.war".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "jbpm-console.war"

            • 3. Re: jbpm 6.0 installation problem
              swiderski.maciej

              same here, you use wrong version for the container. See here for all available versions of 6.1.0.Final. Please use the right one for the container you'd like to run it on. Note that 6.1.0.Final was built with EAP 6.1

               

              HTH

              • 4. Re: jbpm 6.0 installation problem
                juandavidr

                So what you are saying is that i have to use version 6.3-snapshot for the war, which would be the modules zip? i've been having trouble with this since the installation document only specifies de feault installation with the installer, but i want to incorporate it to an existing appliacation.

                • 5. Re: jbpm 6.0 installation problem
                  swiderski.maciej

                  here you can find 6.3 version that is CR4 for 6.2.

                   

                  HTH

                  • 6. Re: jbpm 6.0 installation problem
                    sanjay05222

                    Hi Maciej

                     

                    I had no problems on the wildfly8.1.0final and jbpm6.1.final veriosn working together except the weld-integratrion issue.

                     

                    I just now downloaded the Index of /groups/public-jboss/org/kie/kie-wb-distribution-wars/6.2.0.CR3

                    deployed it in the wildfly 8.1.final as is and it deployed with out any issue .

                    I opened my project and redeployed it . since i was using a remote client to invoke this process I test it with that and I got below error due you think i should be getting this error .so the same thing worked earlier with out any issue.

                     

                    \standalone\tmp\vfs\temp\tempfdc22d19163a9f48\kie-wb-distribution-wars-6.2.0.CR3-wildfly8.war-ea949bab62cf4d6e\org.kie.workbench.KIEWebapp\stencilsets/bpmn2.0jbpm/view/activity/workitems/Rest.svg

                    15:21:24,031 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (default task-32) Created file:E:\dev\JBPM-Home-1\jbpm-6.1.0.Final-installer-full\jbpm-installer\wildfly-8.1.0.Final

                    \standalone\tmp\vfs\temp\tempfdc22d19163a9f48\kie-wb-distribution-wars-6.2.0.CR3-wildfly8.war-ea949bab62cf4d6e\org.kie.workbench.KIEWebapp\stencilsets/bpmn2.0jbpm/view/activity/workitems/CmriWebServic

                    eWIH.svg

                    15:21:24,317 INFO  [org.jbpm.designer.web.preprocessing.impl.JbpmPreprocessingUnit] (default task-32) Created file:E:\dev\JBPM-Home-1\jbpm-6.1.0.Final-installer-full\jbpm-installer\wildfly-8.1.0.Final

                    \standalone\tmp\vfs\temp\tempfdc22d19163a9f48\kie-wb-distribution-wars-6.2.0.CR3-wildfly8.war-ea949bab62cf4d6e\org.kie.workbench.KIEWebapp\stencilsets/bpmn2.0jbpm/view/activity/workitems/WebService.sv

                    g

                    15:21:26,019 INFO  [org.jbpm.designer.web.server.DictionaryServlet] (default task-21) Unable to find existing dictionary information.

                    15:26:23,305 WARN  [org.jboss.resteasy.core.ExceptionHandler] (default task-25) failed to execute: javax.ws.rs.NotFoundException: Could not find resource for full path: http://127.0.0.1:8080/kie-wb-di

                    stribution-wars-6.2.0.CR3-wildfly8/rest/runtime/com.caiso:mds_bpmn:1.0/execute

                            at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:112) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.core.registry.RootClassNode.match(RootClassNode.java:48) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:444) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:234) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:171) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:220) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) [resteasy-jaxrs-3.0.8.Final.jar:]

                            at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) [resteasy-jaxrs-3.0.8.Final.jar:]

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

                            at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                            at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:130) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                            at org.kie.remote.services.rest.jaxb.DynamicJaxbContextFilter.doFilter(DynamicJaxbContextFilter.java:45) [kie-remote-services-6.2.0.CR3.jar:6.2.0.CR3]

                            at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                            at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

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

                            at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                            at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:132) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                            at org.uberfire.ext.security.server.BasicAuthSecurityFilter.doFilter(BasicAuthSecurityFilter.java:52) [uberfire-servlet-security-0.5.0.CR6.jar:0.5.0.CR6]

                            at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:60) [undertow-servlet-1.0.15.Final.jar:1.0.15.Final]

                    • 7. Re: jbpm 6.0 installation problem
                      juandavidr

                      But as i see it thats for Wildfly, and also i would need to wich  modules we needed

                      • 8. Re: jbpm 6.0 installation problem
                        swiderski.maciej

                        there has been change in 'execute' resource location and it's now http://127.0.0.1:8080/kie-wb-distribution-wars-6.2.0.CR3-wildfly8/rest/execute instead of

                        http://127.0.0.1:8080/kie-wb-distribution-wars-6.2.0.CR3-wildfly8/rest/runtime/com.caiso:mds_bpmn:1.0/execute

                         

                        besides that it should work same as in 6.1 assuming you're going to use Remote Java API - please note to always use same version of client libraries as on the server.

                         

                        HTH

                        • 9. Re: jbpm 6.0 installation problem
                          swiderski.maciej

                          no need for any modules, these are 'fat' wars meaning they include all required dependencies.

                           

                          HTH

                          • 10. Re: jbpm 6.0 installation problem
                            sanjay05222

                            Maciej Swiderski wrote:

                             

                            there has been change in 'execute' resource location and it's now http://127.0.0.1:8080/kie-wb-distribution-wars-6.2.0.CR3-wildfly8/rest/execute instead of

                            http://127.0.0.1:8080/kie-wb-distribution-wars-6.2.0.CR3-wildfly8/rest/runtime/com.caiso:mds_bpmn:1.0/execute

                             

                            besides that it should work same as in 6.1 assuming you're going to use Remote Java API - please note to always use same version of client libraries as on the server.

                             

                            HTH

                            Thanks for the suggestion , I downloaded the Latest War  6.2.0.CR4  file and also the runtime binaries from this location  Binaries Sources Link  6.2.0.CR4

                            my exiting client doesnt not compile and mean while i search what are the names of new APIs , I was thinking to share that my remote client no longer compiles for the two classes

                             

                            RemoteRuntimeEngineFactory restSessionFactory = new RemoteRestRuntimeEngineFactory(bpmProcessDeploymentId, kieInstanceURL, kieUserName,

                            kiePassword);

                            RuntimeEngine engine = restSessionFactory.newRuntimeEngine();

                             

                            Are the Remote Client APIs have changed ?? case I dont see the client jars there in the distribution of the binaries.

                            6.1.0.Final /runtimes   and 6.2.0.Cr4/runtimes I dont see following files or jars

                            If you see the directories , i can say that 6.1.0.Final comes from source forge url which is there in installer build properties . while if i Have to make my own and look for the remote apis ? specifically in which above classes are there how do we get it . Please point me to the right directions thanks in advance, I thought in the URL which I was downloaded would have those jars. but I see some jars missing as you can see the file compare between the

                             

                            kiraservices.png