5 Replies Latest reply on Nov 30, 2010 7:30 AM by Azmir A.

    Seam with jBPM Process

    Azmir A. Newbie

      Hello all!


      have a truble with jBPM. I used a Seam-Gen and made new EAR-Application from a existing MySQL tables. This worked very fine.


      Now i'm on trying to get running one simple JPDL Process. I've allways got an error on deploying. Actualy is this one:




      15:35:38,617 ERROR [[/RS360]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.bpm.jbpm
           at org.jboss.seam.Component.newInstance(Component.java:2156)
           at org.jboss.seam.contexts.Contexts.startup(Contexts.java:304)
           at org.jboss.seam.contexts.Contexts.startup(Contexts.java:278)
           at org.jboss.seam.contexts.ServletLifecycle.endInitialization(ServletLifecycle.java:143)
           at org.jboss.seam.init.Initialization.init(Initialization.java:747)
           at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
           at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3926)
           at org.apache.catalina.core.StandardContext.start(StandardContext.java:4447)
           at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:315)
           at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:145)
           at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:462)
           at org.jboss.web.deployers.WebModule.startModule(WebModule.java:116)
           at org.jboss.web.deployers.WebModule.start(WebModule.java:95)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
           at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
           at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
           at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
           at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
           at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
           at $Proxy41.start(Unknown Source)
           at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:53)
           at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:41)
           at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
           at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
           at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
           at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:301)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
           at org.jboss.system.ServiceController.doChange(ServiceController.java:671)
           at org.jboss.system.ServiceController.start(ServiceController.java:443)
           at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:189)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:102)
           at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:49)
           at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
           at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
           at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1431)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
           at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
           at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
           at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
           at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
           at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
           at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
           at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
           at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.RuntimeException: could not deploy a process definition
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:303)
           at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
           at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
           at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
           at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
           at org.jboss.seam.Component.newInstance(Component.java:2144)
           ... 78 more
      Caused by: org.hibernate.MappingNotFoundException: resource: org/jbpm/identity/User.hbm.xml not found
           at org.hibernate.cfg.Configuration.addResource(Configuration.java:665)
           at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1679)
           at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1647)
           at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1626)
           at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1600)
           at org.hibernate.cfg.Configuration.configure(Configuration.java:1520)
           at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
           at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
           at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
           at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95)
           at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99)
           at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:341)
           at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
           at org.jbpm.JbpmContext.deployProcessDefinition(JbpmContext.java:173)
           at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:319)
           at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:297)
           ... 88 more
      



      This line is interested:


      Caused by: org.hibernate.MappingNotFoundException: resource: org/jbpm/identity/User.hbm.xml not found



      It's cames from hibernate.cfg.xml:



          <mapping resource="org/jbpm/identity/User.hbm.xml"/>
          <mapping resource="org/jbpm/identity/Group.hbm.xml"/>
          <mapping resource="org/jbpm/identity/Membership.hbm.xml"/>







      in components.xml is the process registerd:


          <bpm:jbpm>
                   <bpm:process-definitions>
                     <value>simple.jpdl.xml</value>
                </bpm:process-definitions>
           </bpm:jbpm>
      




      And the process is in EAR/EarContent/simple.jpdl.xml


      <?xml version="1.0" encoding="UTF-8"?>
      
      <process-definition 
        xmlns="urn:jbpm.org:jpdl-3.2"
        name="simple">
         <start-state name="start">
            <transition name="to_state" to="first">
               <action name="action" class="com.sample.action.MessageActionHandler">
                  <message>Going to the first state!</message>
               </action>
            </transition>
         </start-state>
         <state name="first">
            <transition name="to_end" to="end">
               <action name="action" class="com.sample.action.MessageActionHandler">
                  <message>About to finish!</message>
               </action>
            </transition>
         </state>
         <end-state name="end"></end-state>
      </process-definition>
      





      I'm a beginner in the whole JBoss Technology. Using the following:






      - jboss-6.0.0.20100216-M2
      - jboss-seam-2.2.1.CR1
      - eclipse Helios with JBossTools 3.2



      Another question:
      How can I make that jBPM use a MySQL Database, when its working.


      Thanks for any help.
      Azmir




        • 1. Re: Seam with jBPM Process
          Sergei Degtyarev Newbie

          What the structure of your ear?


          try to add your process.jar to application.xml:
            <module>
              <ejb>you-process.jar</ejb>
            </module>



          • 2. Re: Seam with jBPM Process
            Azmir A. Newbie

            Hallo Sergej, thanks for your answer.



            Sergei Degtyarev wrote on Nov 26, 2010 04:48:


            What the structure of your ear?
            ...


            I was generated new Seam Web Project from eclipse (JBossTools 3.2). There has 4 Projects:



            - project(-web)
              + src
              - WebContent
                 -WEB-INF
                    components.xml
                    web.xml
                    jbpm.cfg.xml
                    simple.jpdl.xml
                    ...
                 *.xhtml
            - project-ear
              - EarContent
                - lib
                    jbpm-jpdl.jar
                    *.jar
                - META-INF
                    application.xml
                    jboss-app.xml
                jboss-seam.jar
                hibernate.cfg.xml
              - resources
                project-ds.xml
              
            + project-ejb
            + project-test



            I removed all Mapping from hibernate.cfg.xml.





            <hibernate-configuration>
              <session-factory>
                <!-- hibernate dialect -->
                <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
                <!-- JDBC connection properties (begin) -->
                <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
                <property name="hibernate.connection.url">jdbc:hsqldb:mem:jbpm</property>
                <property name="hibernate.connection.username">sa</property>
                <property name="hibernate.connection.password"></property>
                <!-- JDBC connection properties (end) -->
                <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
              </session-factory>
            </hibernate-configuration>






            I moved my process into WEB-INF, because process could/'t found error, changed also components.xml to



            |   
            <bpm:jbpm>
                  <bpm:process-definitions>
                       <value>/WEB-INF/simple.jpdl.xml</value>
                  </bpm:process-definitions>
               </bpm:jbpm>
            |



            ... now I/'m haveing same error as in this thread:
            Seam jbpm support on Jboss 5


            |
            Caused by: java.lang.RuntimeException: could not deploy a process definition
                 at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:303)
                 at org.jboss.seam.bpm.Jbpm.startup(Jbpm.java:80)
                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                 at java.lang.reflect.Method.invoke(Unknown Source)
                 at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
                 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
                 at org.jboss.seam.Component.callComponentMethod(Component.java:2261)
                 at org.jboss.seam.Component.callCreateMethod(Component.java:2184)
                 at org.jboss.seam.Component.newInstance(Component.java:2144)
                 ... 70 more
            Caused by: org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse process definition]
                 at org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:172)
                 at org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:180)
                 at org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:161)
                 at org.jboss.seam.bpm.Jbpm.deployProcess(Jbpm.java:314)
                 at org.jboss.seam.bpm.Jbpm.installProcessDefinitions(Jbpm.java:297)
                 ... 80 more
            |



            J tried the same procedere with a jboss-5.1.0.GA, got same errors.



            Sergei Degtyarev wrote on Nov 26, 2010 04:48:

            ...
            try to add your process.jar to application.xml:
              <module>
                <ejb>you-process.jar</ejb>
              </module>



            Sry, but I don't understund how can I make a process.jar. The process should uses logic from project-ejb and projec(-web).


            Thanks a lot,
            Azmir

            • 3. Re: Seam with jBPM Process
              Sergei Degtyarev Newbie

              May be seam cann't found process definintion. Check project settings (Build settings) and
              make sure that jpdl.xml in WEB-INF/classes directory. And write in components.xml



              <bpm:jbpm>
                <bpm:process-definitions>
                  <value>simple.jpdl.xml</value>
                </bpm:process-definitions>
              </bpm:jbpm>




              • 4. Re: Seam with jBPM Process
                Azmir A. Newbie

                Thanks Sergej,


                thanks, now its works!!! :)


                - project(-web)
                  + src
                  - WebContent
                     -WEB-INF
                        components.xml
                        web.xml
                        ...
                     *.xhtml
                - project-ear
                  - EarContent
                    - lib
                        jbpm-jpdl.jar
                        *.jar
                    - META-INF
                        application.xml
                        jboss-app.xml
                    jboss-seam.jar
                    hibernate.cfg.xml
                    jbpm.cfg.xml
                    simple.jpdl.xml
                  - resources
                    project-ds.xml
                  
                + project-ejb
                + project-test
                



                in components xml


                <bpm:jbpm>
                  <bpm:process-definitions>
                    <value>simple.jpdl.xml</value>
                  </bpm:process-definitions>
                </bpm:jbpm>



                the most errors had hibernate.cfg.xml. With this one it works



                <?xml version="1.0" encoding="UTF-8"?>
                <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
                                                         "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
                <hibernate-configuration>
                 <session-factory>
                  
                  <!-- hibernate dialect -->
                  <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
                  
                  <!-- JDBC connection properties (begin) -->
                  <property name="connection.datasource">java:/JbpmDS</property>
                  <property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
                  <property name="transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
                  <property name="cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
                  <property name="hbm2ddl.auto">update</property>
                  
                  <!-- JDBC connection properties (end) -->
                  <property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
                 
                  <mapping resource="org/jbpm/db/hibernate.queries.hbm.xml"/>
                  <!-- graph.action mapping files -->
                  <mapping resource="org/jbpm/graph/action/MailAction.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/action/Script.hbm.xml"/>
                  
                  <!-- graph.def mapping files -->
                  <mapping resource="org/jbpm/graph/def/ProcessDefinition.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/Node.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/Transition.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/Event.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/Action.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/SuperState.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/def/ExceptionHandler.hbm.xml"/>
                  <mapping resource="org/jbpm/instantiation/Delegation.hbm.xml"/>
                  <!-- graph.node mapping files -->
                  <mapping resource="org/jbpm/graph/node/StartState.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/EndState.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/ProcessState.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/Decision.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/Fork.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/Join.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/MailNode.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/State.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/node/TaskNode.hbm.xml"/>
                  <!-- context.def mapping files -->
                  <mapping resource="org/jbpm/context/def/ContextDefinition.hbm.xml"/>
                  <mapping resource="org/jbpm/context/def/VariableAccess.hbm.xml"/>
                  <!-- taskmgmt.def mapping files -->
                  <mapping resource="org/jbpm/taskmgmt/def/TaskMgmtDefinition.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/def/Swimlane.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/def/Task.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/def/TaskController.hbm.xml"/>
                  <!-- module.def mapping files -->
                  <mapping resource="org/jbpm/module/def/ModuleDefinition.hbm.xml"/>
                  <!-- bytes mapping files -->
                  <mapping resource="org/jbpm/bytes/ByteArray.hbm.xml"/>
                  <!-- file.def mapping files -->
                  <mapping resource="org/jbpm/file/def/FileDefinition.hbm.xml"/>
                  <!-- scheduler.def mapping files -->
                  <mapping resource="org/jbpm/scheduler/def/CreateTimerAction.hbm.xml"/>
                  <mapping resource="org/jbpm/scheduler/def/CancelTimerAction.hbm.xml"/>
                  <!-- graph.exe mapping files -->
                  <mapping resource="org/jbpm/graph/exe/Comment.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/exe/ProcessInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/exe/Token.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/exe/RuntimeAction.hbm.xml"/>
                  <!-- module.exe mapping files -->
                  <mapping resource="org/jbpm/module/exe/ModuleInstance.hbm.xml"/>
                  <!-- context.exe mapping files -->
                  <mapping resource="org/jbpm/context/exe/ContextInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/TokenVariableMap.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/VariableInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/ByteArrayInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/DateInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/DoubleInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/HibernateLongInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/HibernateStringInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/LongInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/NullInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/context/exe/variableinstance/StringInstance.hbm.xml"/>
                  <!-- job mapping files -->
                  <mapping resource="org/jbpm/job/Job.hbm.xml"/>
                  <mapping resource="org/jbpm/job/Timer.hbm.xml"/>
                  <mapping resource="org/jbpm/job/ExecuteNodeJob.hbm.xml"/>
                  <mapping resource="org/jbpm/job/ExecuteActionJob.hbm.xml"/>
                  <!-- taskmgmt.exe mapping files -->
                  <mapping resource="org/jbpm/taskmgmt/exe/TaskMgmtInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/exe/TaskInstance.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/exe/PooledActor.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/exe/SwimlaneInstance.hbm.xml"/>
                  <!-- logging mapping files -->
                  <mapping resource="org/jbpm/logging/log/ProcessLog.hbm.xml"/>
                  <mapping resource="org/jbpm/logging/log/MessageLog.hbm.xml"/>
                  <mapping resource="org/jbpm/logging/log/CompositeLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/ActionLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/NodeLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/ProcessInstanceCreateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/ProcessInstanceEndLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/ProcessStateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/SignalLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/TokenCreateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/TokenEndLog.hbm.xml"/>
                  <mapping resource="org/jbpm/graph/log/TransitionLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/VariableLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/VariableCreateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/VariableDeleteLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/VariableUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/ByteArrayUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/DateUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/DoubleUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/HibernateLongUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/HibernateStringUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/LongUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/context/log/variableinstance/StringUpdateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/TaskLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/TaskCreateLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/TaskAssignLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/TaskEndLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/SwimlaneLog.hbm.xml"/>
                  <mapping resource="org/jbpm/taskmgmt/log/SwimlaneCreateLog.hbm.xml"/>
                 </session-factory>
                </hibernate-configuration>





                Next Step I'll work, Join the jbpm-web-console on the same DB to see the process.


                Regards,
                Azmir





                • 5. Re: Seam with jBPM Process
                  Azmir A. Newbie

                  The file




                  .simple.gpd.xml





                  must also be in the same directory as tho process. This file would be not shown from eclipse, in Project or Package view neither.