6 Replies Latest reply on Nov 30, 2006 8:23 PM by yuka shimizu

    Please help me! The page cannot change when jbpm is used.

    yuka shimizu Newbie

      Hello.
      I want to make the sample program of seam, and to change in pageflow.jpdl.xml the screen.
      The program moves well when pageflow.jpdl.xml is not used.
      However, it is not possible to control with jbpm.
      Following information comes out though the error has not gone out.

      Could anyone advise,please?

      ## Environment ##
      JBOSS4.0.5GA
      jdk1.5.0_06
      jboss-seam-1.0.1.GA
      jbpm-3.1.2.jar


      ## Server Log ##

      21:35:06,420 INFO [EARDeployer] Started J2EE application: file:/C:/usr/local/jboss-4.0.5.GA/server/default/deploy/ks.ear
      21:35:17,545 INFO [Events] no events.xml file found
      21:35:17,623 INFO [Pages] no pages.xml file found
      21:35:18,576 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
      21:35:18,576 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
      21:35:18,592 INFO [MyfacesConfig] Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.


      ## RegisterAction.java ##
      @Stateful
      @Name("register")
      @Scope(CONVERSATION)
      public class RegisterAction implements Register {
      
      ????@In(required=false) @Valid
      ????@Out(required=false)
      ????public User user;
      
      ????@PersistenceContext
      ????private EntityManager em;
      
      ????@Logger
      ????private Log log;
      
      ????@In(create=true)
      ????private transient FacesMessages facesMessages;
      
      ????@Create
      ????@Begin(pageflow="index")
      ????public void index(){}
      
      ????public void register(){
      ????????user = new User();
       log.info("register()");
      ????}
      
      ????public void confirm(){
       if(user.getUsername().equals(" ")){
       ????facesMessages.add("Please input UserId.");
       }
      ????}
      
      ????@End
      ????public void registered(){
       em.persist(user);
       log.info(user.getUsername()");
      ????}
      
      ????@Destroy
      ????@Remove
      ????public void destroy(){}
      }


      ## index.jsp ##

      <%@ page language="java" contentType="text/html; charset=Shift_JIS" pageEncoding="MS932"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <html><head><title>Menu</title></head>
      
      <script type="text/javascript" src="seam/remoting/resource/remote.js">
      </script>
      <script type="text/javascript" src="seam/remoting/interface.js?register">
      </script>
      
      <body>
      <f:view>
      ????<h:form>
       <h:commandButton type="submit" value="entry" ?action="register" />
      ????</h:form>
      </f:view>
      </body></html>


      ## application.xml ##

      <application>
      ????<display-name>ks</display-name>
      ????<module>
       <web>
       ????<web-uri>ks.war</web-uri>
       ????<context-root>/ks</context-root>
       </web>
      ????</module>
      ????<module>
       <ejb>ks.jar</ejb>
      ????</module>
      ????<module>
       <java>jboss-seam.jar</java>
      ????</module>
      ????<module>
       <java>jbpm-3.1.2.jar</java>
      ????</module>
      </application>



      ## seam.properties ##

      org.jboss.seam.init.componentClasses org.jboss.seam.core.Jbpm
      org.jboss.seam.core.jbpm.pageflowDefinitions pageflow.jpdl.xml

      It becomes deploy error if it describes it in component.xml.

      ## pageflow.jpdl.xml ##

      <?xml version="1.0" encoding="UTF-8"?>
      
      <pageflow-definition name="registerflow">
       <start-page name="index" view-id="/index.jsp">
       <redirect/>
       <transition name="register" to="register">
       <action expression="#{register.register}" />
       </transition>
       </start-page>
       <page name="register" view-id="/register.jsp">
       <redirect/>
       <transition name="confirm" to="confirm">
       <action expression="#{register.confirm}" />
       </transition>
       </page>
       <page name="confirm" view-id="/confirm.jsp">
       <redirect/>
       <transition name="registered" to="registered">
       <action expression="#{register.registered}" />
       </transition>
       </page>
       <page name="registered" view-id="/registered.jsp">
       <redirect/>
       <end-conversation />
       </page>
      </pageflow-definition>




        • 1. Re: Please help me! The page cannot change when jbpm is used
          Ning Zhao Apprentice

          your pageflow definition is called "registerflow" according to this line

          <pageflow-definition name="registerflow">
          in your pageflow definition. However I didn't find any
          @Begin (pageflow="registerflow")
          in your RegisterAction.java. You may want to add this to your register() method in that class.

          • 2. Re: Please help me! The page cannot change when jbpm is used
            yuka shimizu Newbie

            Thank you for the answer.

            I cannot straighten out that problem though I tested your advice.
            Besides, are there any mistakes?
            Could you advise when there is someone understanding?

            • 3. Re: Please help me! The page cannot change when jbpm is used
              Ning Zhao Apprentice

               

              It becomes deploy error if it describes it in component.xml.


              This sounds really weird to me. Can you please paste the full stack of your "deploy error" here?

              • 4. Re: Please help me! The page cannot change when jbpm is used
                yuka shimizu Newbie

                Thank you for the reply!
                It is a server log when the following describe it in component.xml.
                pageflow.jpdl.xml is in WEB-INF as well as component.xml.

                ## Server Log ##

                09:43:57,119 INFO [Component] Component: pageflow, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pageflow
                09:43:57,150 INFO [Component] Component: transition, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Transition
                09:43:57,150 INFO [Component] Component: pooledTask, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PooledTask
                09:43:57,181 INFO [Component] Component: taskInstance, scope: APPLICATION, type: JAVA_BEAN, class:org.jboss.seam.core.TaskInstance
                09:43:57,181 INFO [Component] Component: processInstance, scope: APPLICATION, type: JAVA_BEAN, class:org.jboss.seam.core.ProcessInstance
                09:43:57,197 INFO [Component] Component: taskInstanceList, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.TaskInstanceList
                09:43:57,197 INFO [Component] Component: pooledTaskInstanceList, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.PooledTaskInstanceList
                09:43:57,213 INFO [Component] Component: taskInstanceListForType, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.TaskInstanceListForType
                09:43:57,228 INFO [Component] Component: jbpmContext, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.ManagedJbpmContext
                09:43:57,228 INFO [Component] Component: org.jboss.seam.core.jbpm, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Jbpm
                09:43:57,260 INFO [Component] Component: register, scope: CONVERSATION, type: STATEFUL_SESSION_BEAN, class: ks.sample.RegisterAction, JNDI: ks/RegisterAction/local
                09:43:57,291 INFO [Component] Component: user, scope: CONVERSATION, type: ENTITY_BEAN, class: ks.sample.User
                09:43:57,291 INFO [Lifecycle] starting up: isUserInRole
                09:43:57,291 INFO [Lifecycle] starting up: processInstance
                09:43:57,291 INFO [Lifecycle] starting up: org.jboss.seam.core.jbpm
                09:43:57,322 ERROR [[/ks]] Exception sending context initialized event to listener instance of class
                 org.jboss.seam.servlet.SeamListener
                java.lang.IllegalArgumentException: pageflow resource not found: pageflow.jpdl.xml
                 at org.jboss.seam.core.Jbpm.getPageflowDefinitionFromResourceJbpm.java:129)
                 at org.jboss.seam.core.Jbpm.installPageflowDefinitionsJbpm.java:207)
                 at org.jboss.seam.core.Jbpm.startup(Jbpm.java:64)
                 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:585)
                 at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:102)
                 at org.jboss.seam.Component.callComponentMethod(Component.java:1738)
                 at org.jboss.seam.Component.callCreateMethod(Component.java:1686)
                 at org.jboss.seam.Component.newInstance(Component.java:1675)
                 at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:153)
                 at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:127)
                 at org.jboss.seam.init.Initialization.init(Initialization.java:338)
                 at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
                 at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
                 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
                 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
                 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
                 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
                 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:585)
                 at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
                 at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
                 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:585)
                 at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
                 at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
                 at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
                 at org.jboss.web.WebModule.startModule(WebModule.java:83)
                 at org.jboss.web.WebModule.startService(WebModule.java:61)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy42.start(Unknown Source)
                 at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                 at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
                 at rg.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy43.start(Unknown Source)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                 at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy6.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                09:43:57,556 INFO [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
                09:43:57,728 INFO [FacesConfigurator] Reading config jar:file:/C:/usr/local/jboss-4.0.5.GA/server/default/tmp/deploy/tmp44525ks.ear-contents/jboss-seam.jar!/META-INF/faces-config.xml
                09:43:57,744 INFO [FacesConfigurator] Reading config jar:file:/C:/usr/local/jboss-4.0.5.GA/server/d
                efault/./tmp/deploy/tmp44525ks.ear-contents/ks-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/faces-config.xml
                09:43:57,775 INFO [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
                09:43:57,822 WARN [LocaleUtils] Locale name in faces-config.xml null or empty, setting locale to default locale : ja_JP
                09:43:57,978 INFO [StartupServletContextListener] ServletContext 'C:\usr\local\jboss-4.0.5.GA\serve
                r\default\.\tmp\deploy\tmp44525ks.ear-contents\ks-exp.war\' initialized.
                09:43:57,978 INFO [StartupServletContextListener] Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
                09:43:57,994 ERROR [StandardContext] Error listenerStart
                09:43:57,994 ERROR [StandardContext] Context [/ks] startup failed due to previous errors
                09:43:58,025 WARN [ServiceController] Problem starting service jboss.web.deployment:war=ks.war,id=1215219666
                org.jboss.deployment.DeploymentException: URL file:/C:/usr/local/jboss-4.0.5.GA/server/default/tmp/deploy/tmp44525ks.ear-contents/ks-exp.war/ deployment failed
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
                 at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
                 at org.jboss.web.WebModule.startModule(WebModule.java:83)
                 at org.jboss.web.WebModule.startService(WebModule.java:61)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy42.start(Unknown Source)
                 at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                 at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
                 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy43.start(Unknown Source)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                 at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy6.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
                09:43:58,197 ERROR [MainDeployer] Could not start deployment: file:/C:/usr/local/jboss-4.0.5.GA/server/default/tmp/deploy/tmp44525ks.ear-contents/ks.war
                org.jboss.deployment.DeploymentException: URL file:/C:/usr/local/jboss-4.0.5.GA/server/default/tmp/deploy/tmp44525ks.ear-contents/ks-exp.war/ deployment failed
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:375)
                 at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
                 at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
                 at org.jboss.web.WebModule.startModule(WebModule.java:83)
                 at org.jboss.web.WebModule.startService(WebModule.java:61)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
                 at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
                
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
                 at $Proxy0.start(Unknown Source)
                 at org.jboss.system.ServiceController.start(ServiceController.java:417)
                 at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy42.start(Unknown Source)
                 at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
                 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:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
                 at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
                 at org.jboss.ws.integration.jboss.DeployerInterceptor.start(DeployerInterceptor.java:92)
                 at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
                 at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy43.start(Unknown Source)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
                 at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
                 at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
                 at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                 at java.lang.reflect.Method.invoke(Method.java:585)
                 at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
                 at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
                 at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
                 at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                 at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                 at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
                 at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
                 at $Proxy6.deploy(Unknown Source)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
                 at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
                 at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)


                • 5. Re: Please help me! The page cannot change when jbpm is used
                  Pete Muir Master

                  Looks like you actually need to include pageflow.jpdl.xml in your jar.

                  • 6. Re: Please help me! The page cannot change when jbpm is used
                    yuka shimizu Newbie

                    Thank you for the answer.

                    I had put pageflow.jpdl.xml in WEB-INF of war up to now and was deploy it.
                    When pageflow.jpdl.xml putting deploy and done right under ear,
                    the screen transition is not effective well though the deploy error did not go out.
                    At this time, other errors have not gone out.