11 Replies Latest reply on Oct 23, 2008 9:23 AM by Rafael Hernandez

    Java code and JBPM deployed in diferents servers

    Rafael Hernandez Newbie

      Hi all, i have several doubts about JBPM, i hope you can help me:

      Imagine that there is a web application deployed in a big company beside several other application developed in several java tecnologies, one day someone decide that this web application most participate in a huge jbpm process and most start the process. This huge process project is developed using the Jboss-jpdl-suite and deployed. The web application is deployed in Server A and the huge process project is deployed in server B.

      How can the Seam application start the process, can it be possible?
      Can you give me with some sample code and configuration if it is possible?


      I hope you can help me, Rafael.


        • 1. Re: Java code and JBPM deployed in diferents servers
          Ronald van Kuijk Master

          If you want it specifically with seam 'technology' ask there (I saw you already did that) If you just want to call jBPM remotely from java, use the ejb front-end with commands.

          Sample code is in the testcases in the source

          • 2. Re: Java code and JBPM deployed in diferents servers
            Rafael Hernandez Newbie

             

            "kukeltje" wrote:
            If you want it specifically with seam 'technology' ask there (I saw you already did that) If you just want to call jBPM remotely from java, use the ejb front-end with commands.

            Sample code is in the testcases in the source


            Hi kukeltje, thank you for your answer, in Seam forum do not answer yet. My question is relate to java code in general, i writte Seam in a mechanical mistake because of i am using Seam rigth now.

            Can you be more specific related to which of the tests cases you refer to?
            Are they in the Jbpm-jpdl-suite /samples directory, which one?

            Thank you ,
            Rafael.

            • 3. Re: Java code and JBPM deployed in diferents servers
              Ronald van Kuijk Master

              TESTCASES.... you know, e.g. unittests? they are in src/test... please search a little...

              • 4. Re: Java code and JBPM deployed in diferents servers
                Rafael Hernandez Newbie

                Hi kukeltje, sorry for my insistence but, more than see a particular example i would like to read some tutorial related to this topic, for example there is some tutorial or doc where i can see the complete list of the commands i can invoke through a RemoteCommandService, and an explanation of what can i do with those commands?

                This king of question i cant not satisfy only studding a particular example.
                I don´t want to importunate too much with my continuous questions,
                Thank you,
                Rafael.

                • 5. Re: Java code and JBPM deployed in diferents servers
                  Ronald van Kuijk Master

                  Ahhhhhhhhhhh tuturials... but that is not what you asked for.

                  Sorry, this part is under development and no docs for this yet and certainly no tutorial. But, imo, the tests are very clear and you should be able to get lots of info from them

                  • 6. Re: Java code and JBPM deployed in diferents servers
                    Rafael Hernandez Newbie

                     

                    "kukeltje" wrote:
                    Ahhhhhhhhhhh tuturials... but that is not what you asked for.

                    Sorry, this part is under development and no docs for this yet and certainly no tutorial. But, imo, the tests are very clear and you should be able to get lots of info from them


                    Hi kukeltje, i review very carfully all the testcases in jbpm-jpdl-suite 3.2.2 and in jbpm 3.2.3 and don´t see any code that do what i want to do,
                    where are those tests you refer to, in the sources in repository or inside the dist that is the site to be download?
                    Can you give me an url from where i can download the source code of these tests?

                    After so many hours gloogling i deployed the jbpm-enterprise.ear in one server and in another wrotte an app that try to call the RemoteCommandService ejb, but i get an error the post at the end. It seems problem with some jar i´m missing but which one, in the client app i have the jbpm-enterprise.jar and in the lib folder of the server too.
                    Really i don´t know what can it be, please try to help me with this.

                    Thanks,
                    Maykell.

                    This is the code that try to create a RemoteCommandService instance:
                    Properties props = new Properties();

                    props.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
                    props.setProperty(Context.URL_PKG_PREFIXES, "org.jboss.naming.client");
                    props.setProperty(Context.PROVIDER_URL, "jnp://localhost:11099");
                    props.setProperty("j2ee.clientName", "jboss-client-test");

                    InitialContext initialContext;
                    try {
                    initialContext = new InitialContext(props);
                    Object homeref = initialContext.lookup("ejb/CommandServiceBean");

                    RemoteCommandServiceHome rcsh = (RemoteCommandServiceHome) PortableRemoteObject.narrow(homeref, RemoteCommandServiceHome.class);
                    RemoteCommandService rcs = rcsh.create();

                    } catch (NamingException e) {
                    .......11:45:23,931 FATAL [application] java.lang.reflect.UndeclaredThrowableException
                    javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
                    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
                    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
                    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
                    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                    at java.lang.Thread.run(Thread.java:619)
                    Caused by: java.lang.reflect.UndeclaredThrowableException
                    at $Proxy167.create(Unknown Source)
                    at com.prueba.facade.TestigoAction.startRemoteProcess(TestigoAction.java:90)
                    at com.prueba.facade.TestigoAction.registerTestigo(TestigoAction.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
                    at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
                    at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
                    at com.prueba.facade.TestigoAction_$$_javassist_4.registerTestigo(TestigoAction_$$_javassist_4.java)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
                    at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
                    at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
                    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
                    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
                    ... 46 more
                    Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                    ... 84 more
                    Caused by: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
                    at java.lang.Class.getMethods(Class.java:1410)
                    at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:409)
                    at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:306)
                    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:501)
                    at org.jboss.invocation.MarshalledValueInputStream.resolveProxyClass(MarshalledValueInputStream.java:171)
                    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
                    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                    at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                    ... 90 more
                    11:45:23,947 WARN [lifecycle] #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    javax.faces.FacesException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
                    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
                    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
                    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
                    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                    at java.lang.Thread.run(Thread.java:619)
                    Caused by: javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
                    ... 45 more
                    Caused by: java.lang.reflect.UndeclaredThrowableException
                    at $Proxy167.create(Unknown Source)
                    at com.prueba.facade.TestigoAction.startRemoteProcess(TestigoAction.java:90)
                    at com.prueba.facade.TestigoAction.registerTestigo(TestigoAction.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
                    at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
                    at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
                    at com.prueba.facade.TestigoAction_$$_javassist_4.registerTestigo(TestigoAction_$$_javassist_4.java)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
                    at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
                    at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
                    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
                    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
                    ... 46 more
                    Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                    ... 84 more
                    Caused by: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
                    at java.lang.Class.getMethods(Class.java:1410)
                    at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:409)
                    at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:306)
                    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:501)
                    at org.jboss.invocation.MarshalledValueInputStream.resolveProxyClass(MarshalledValueInputStream.java:171)
                    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
                    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                    at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                    ... 90 more
                    11:45:23,947 WARN [lifecycle] executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@1cee582) threw exception
                    javax.faces.FacesException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
                    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                    at java.lang.Thread.run(Thread.java:619)
                    Caused by: javax.faces.FacesException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
                    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
                    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
                    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
                    ... 40 more
                    Caused by: javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
                    ... 45 more
                    Caused by: java.lang.reflect.UndeclaredThrowableException
                    at $Proxy167.create(Unknown Source)
                    at com.prueba.facade.TestigoAction.startRemoteProcess(TestigoAction.java:90)
                    at com.prueba.facade.TestigoAction.registerTestigo(TestigoAction.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
                    at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
                    at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
                    at com.prueba.facade.TestigoAction_$$_javassist_4.registerTestigo(TestigoAction_$$_javassist_4.java)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
                    at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
                    at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
                    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
                    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
                    ... 46 more
                    Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                    ... 84 more
                    Caused by: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
                    at java.lang.Class.getMethods(Class.java:1410)
                    at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:409)
                    at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:306)
                    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:501)
                    at org.jboss.invocation.MarshalledValueInputStream.resolveProxyClass(MarshalledValueInputStream.java:171)
                    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
                    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                    at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                    ... 90 more
                    11:45:23,962 ERROR [ExceptionFilter] handling uncaught exception
                    javax.servlet.ServletException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                    at java.lang.Thread.run(Thread.java:619)
                    Caused by: javax.faces.FacesException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
                    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
                    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
                    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
                    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                    ... 37 more
                    Caused by: javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
                    ... 45 more
                    Caused by: java.lang.reflect.UndeclaredThrowableException
                    at $Proxy167.create(Unknown Source)
                    at com.prueba.facade.TestigoAction.startRemoteProcess(TestigoAction.java:90)
                    at com.prueba.facade.TestigoAction.registerTestigo(TestigoAction.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
                    at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
                    at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
                    at com.prueba.facade.TestigoAction_$$_javassist_4.registerTestigo(TestigoAction_$$_javassist_4.java)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
                    at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
                    at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
                    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
                    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
                    ... 46 more
                    Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                    ... 84 more
                    Caused by: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
                    at java.lang.Class.getMethods(Class.java:1410)
                    at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:409)
                    at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:306)
                    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:501)
                    at org.jboss.invocation.MarshalledValueInputStream.resolveProxyClass(MarshalledValueInputStream.java:171)
                    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
                    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                    at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                    ... 90 more
                    11:45:23,962 ERROR [ExceptionFilter] exception root cause
                    javax.faces.FacesException: #{testigoAction.registerTestigo(testigo)}: java.lang.reflect.UndeclaredThrowableException
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
                    at javax.faces.component.UICommand.broadcast(UICommand.java:383)
                    at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
                    at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
                    at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
                    at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
                    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
                    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
                    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
                    at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                    at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                    at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
                    at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
                    at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
                    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
                    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
                    at java.lang.Thread.run(Thread.java:619)
                    Caused by: javax.faces.el.EvaluationException: java.lang.reflect.UndeclaredThrowableException
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
                    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
                    ... 45 more
                    Caused by: java.lang.reflect.UndeclaredThrowableException
                    at $Proxy167.create(Unknown Source)
                    at com.prueba.facade.TestigoAction.startRemoteProcess(TestigoAction.java:90)
                    at com.prueba.facade.TestigoAction.registerTestigo(TestigoAction.java:109)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
                    at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                    at org.jboss.seam.core.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.persistence.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:48)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:38)
                    at org.jboss.seam.util.Work.workInTransaction(Work.java:41)
                    at org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:32)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42)
                    at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
                    at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:166)
                    at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:102)
                    at com.prueba.facade.TestigoAction_$$_javassist_4.registerTestigo(TestigoAction_$$_javassist_4.java)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:597)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
                    at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:274)
                    at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59)
                    at org.jboss.el.parser.AstMethodSuffix.invoke(AstMethodSuffix.java:65)
                    at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
                    at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
                    at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
                    at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
                    ... 46 more
                    Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                    ... 84 more
                    Caused by: java.lang.NoClassDefFoundError: org/jbpm/command/Command
                    at java.lang.Class.getDeclaredMethods0(Native Method)
                    at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                    at java.lang.Class.privateGetPublicMethods(Class.java:2547)
                    at java.lang.Class.getMethods(Class.java:1410)
                    at sun.misc.ProxyGenerator.generateClassFile(ProxyGenerator.java:409)
                    at sun.misc.ProxyGenerator.generateProxyClass(ProxyGenerator.java:306)
                    at java.lang.reflect.Proxy.getProxyClass(Proxy.java:501)
                    at org.jboss.invocation.MarshalledValueInputStream.resolveProxyClass(MarshalledValueInputStream.java:171)
                    at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531)
                    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                    at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                    ... 90 more
                    11:45:25,368 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jboss-seam-mail.jar!/META-INF/seam-mail.taglib.xml
                    11:45:25,368 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jboss-seam-pdf.jar!/META-INF/seam-pdf.taglib.xml
                    11:45:25,384 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml
                    11:45:25,400 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
                    11:45:25,415 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
                    11:45:25,415 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
                    11:45:25,447 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
                    11:45:25,462 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
                    11:45:25,478 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/a4j.taglib.xml
                    11:45:25,478 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/ajax4jsf.taglib.xml
                    11:45:25,509 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/rich.taglib.xml
                    11:45:25,525 ERROR [STDERR] 22-oct-2008 11:45:25 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
                    INFO: Added Library from: jar:file:/C:/Java/jboss-4.2.2.GA/server/default/deploy/pnr.ear/pnr.war/WEB-INF/lib/richfaces-ui.jar!/META-INF/richfaces.taglib.xml


                    and this is the error:




                    • 7. Re: Java code and JBPM deployed in diferents servers
                      Ronald van Kuijk Master

                      Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command


                      Classpath issue

                      • 8. Re: Java code and JBPM deployed in diferents servers
                        Rafael Hernandez Newbie

                         

                        "kukeltje" wrote:
                        Caused by: java.lang.Exception: java.lang.NoClassDefFoundError: org/jbpm/command/Command


                        Classpath issue


                        Exactly, i review and that class org.jbpm.command.Command is located in jbpm-jpdl.jar that is included in my classpath (the classpath of the client app), it seems like jboss don´t recognize the jar when is inside the app why can it be?
                        Noe if i move this jar and put it in the lib directory of the server then the error is related to the classloader, i show it below, what can i do to resolve this crossroad?

                        • 9. Re: Java code and JBPM deployed in diferents servers
                          Rafael Hernandez Newbie

                          Sorry i miss the error in the above post, is this one:
                          Caused by: java.lang.Exception: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) previously initiated loading for a different type with name "org/jbpm/command/Command"
                          at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:222)
                          at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
                          at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:197)
                          at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
                          at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
                          at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
                          at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
                          ... 84 more
                          Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/web/tomcat/service/WebAppClassLoader) previously initiated loading for a different type with name "org/jbpm/command/Command"
                          at java.lang.Class.getDeclaredMethods0(Native Method)
                          at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
                          at java.lang.Class.getDeclaredMethod(Class.java:1935)
                          at java.io.ObjectStreamClass.getPrivateMethod(ObjectStreamClass.java:1382)
                          at java.io.ObjectStreamClass.access$1700(ObjectStreamClass.java:52)
                          at java.io.ObjectStreamClass$2.run(ObjectStreamClass.java:438)
                          at java.security.AccessController.doPrivileged(Native Method)
                          at java.io.ObjectStreamClass.(ObjectStreamClass.java:413)
                          at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
                          at java.io.ObjectStreamClass.initProxy(ObjectStreamClass.java:507)
                          at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1539)
                          at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493)
                          at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
                          at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
                          at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
                          at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91)
                          at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:195)
                          ... 90 more

                          • 10. Re: Java code and JBPM deployed in diferents servers
                            Ronald van Kuijk Master

                            have you tried using google to look for these generic errors? For me it says there are probably two versions of this somewhere

                            • 11. Re: Java code and JBPM deployed in diferents servers
                              Rafael Hernandez Newbie

                              Hi, please can you help me with this last obstruction?
                              I just want to have at less a working stuff about use jbpm remotely....