1 2 Previous Next 15 Replies Latest reply on Apr 27, 2007 8:52 AM by Edward Staub

    jbpm3.2 on jboss 4.0.5

    Rishi Sharma Newbie

      Hi

      I am trying to install The jPDL Runtime Engine on jboss, but not getting
      success.
      Does anyone know how to configure or inco-opertate the "jPDL Runtime Engine" with Standalone JBOSS Application Server.

      Please send me steps if any one know.

      Many thanks
      R.K.Sharma


        • 1. Re: jbpm3.2 on jboss 4.0.5
          Ronald van Kuijk Master

          Yes, it is realy simple: Search the forum and/or look on the wiki

          • 2. Re: jbpm3.2 on jboss 4.0.5
            Rishi Sharma Newbie

            Hi Ronald,

            I looked on the wikki and forum, whole day i have spend, but didn't get working.

            it will be great help if you can send me steps.
            or link where exactly i can do successful configuration.

            Here I am deploying jbpm-enterprise.ear into default/deploy
            directory of the jboss.
            Is that right way.

            After deploying when I go to
            http://localhost:8080/jbpm-console/
            I can see the login screen
            when I try to login it says can't find the users.properties.

            Any Help !!


            many thanks
            rishi

            • 3. Re: jbpm3.2 on jboss 4.0.5
              Adrian Dimulescu Newbie

              You need to set up a datasource called JbpmDS as well as authentication. I put some ideas on http://obiecte.blogspot.com/.

              hth.

              • 4. Re: jbpm3.2 on jboss 4.0.5
                Rishi Sharma Newbie

                Hi gogoasa,

                I have setup everything, but now I ma having problem

                I looked everywhere and tried but not able to sort this out.

                if anyone know please let me know..


                13:23:45,750 INFO [HbmBinder] Mapping subclass: org.jbpm.command.TaskInstanceEndC
                ommand -> JBPM_MESSAGE
                13:23:45,750 ERROR [JobExecutorThread] exception in job executor thread. waiting 5
                000 milliseconds
                org.hibernate.MappingException: Could not read mappings from resource: org/jbpm/co
                mmand/TaskInstanceEndCommand.hbm.xml
                 at org.hibernate.cfg.Configuration.addResource(Configuration.java:476)
                 at org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:
                1414)
                 at org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:
                1382)
                 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1363)
                 at org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1339)
                 at org.hibernate.cfg.Configuration.configure(Configuration.java:1259)
                 at org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelp
                er.java:91)
                 at org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(Db
                PersistenceServiceFactory.java:69)
                 at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(D
                bPersistenceServiceFactory.java:91)
                 at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersis
                tenceService.java:94)
                 at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceSe
                rvice.java:98)
                 at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenc
                eService.java:281)
                 at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526)
                 at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.j
                ava:109)
                 at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
                Caused by: org.hibernate.PropertyNotFoundException: field not found: taskInstance
                 at org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAc
                cessor.java:97)
                 at org.hibernate.property.DirectPropertyAccessor.getField(DirectPropertyAc
                cessor.java:104)
                 at org.hibernate.property.DirectPropertyAccessor.getGetter(DirectPropertyA
                ccessor.java:112)
                 at org.hibernate.util.ReflectHelper.getter(ReflectHelper.java:89)
                 at org.hibernate.util.ReflectHelper.reflectedPropertyClass(ReflectHelper.j
                ava:77)
                 at org.hibernate.mapping.ToOne.setTypeUsingReflection(ToOne.java:58)
                 at org.hibernate.cfg.HbmBinder.createProperty(HbmBinder.java:2022)
                 at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:2007)
                 at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1897)
                 at org.hibernate.cfg.HbmBinder.bindSubclass(HbmBinder.java:779)
                 at org.hibernate.cfg.HbmBinder.handleSubclass(HbmBinder.java:2068)
                 at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:118)
                 at org.hibernate.cfg.Configuration.add(Configuration.java:379)
                 at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:418)
                 at org.hibernate.cfg.Configuration.addResource(Configuration.java:473)
                 ... 14 more


                • 5. Re: jbpm3.2 on jboss 4.0.5
                  Martin Weiler Apprentice

                  Looks like you are using a hibernate.cfg.xml from an old (3.1.x) jBPM distribution. TaskInstanceEndCommand.hbm.xml is no longer referenced in the hibernate configuration file of jBPM 3.2.

                  Regards, Martin

                  • 7. Re: jbpm3.2 on jboss 4.0.5
                    Rishi Sharma Newbie

                    Hi mputz,

                    I am trying to deploy the enterprise.ear on jboss 4.0.5,
                    now i am deploying the right hibernate.cfg.xml and i didn't get error, now when I login it throw me out and throws following error

                    Any Idea !!!

                    type Status report
                    
                    message /jbpm-console/search/tasks.jsf
                    
                    description The requested resource (/jbpm-console/search/tasks.jsf) is not available.


                    • 8. Re: jbpm3.2 on jboss 4.0.5
                      Martin Weiler Apprentice

                      Well, do you have that file 'tasks.xhtml' in folder jbpm-enterprise.ear/jbpm-console.war/search/?

                      • 9. Re: jbpm3.2 on jboss 4.0.5
                        Rishi Sharma Newbie

                        Hi moutz,

                        I have the tasks.xhtml in folder jbpm-enterprise.ear/jbpm-console.war/search/filter

                        Before this i want to tell that,
                        what i want.

                        I want to install jbpm core not as jbpm server on jboss, so that it can available on runtime, and i can deploy the my .par.

                        Is this right approach to deploy enterprise.ear on jboss or is there anything else which I completely missing.

                        Please !!!


                        • 10. Re: jbpm3.2 on jboss 4.0.5
                          Martin Weiler Apprentice

                          Hi,

                          hmm, don't know why you have tasks.xhtml in a /filter subfolder. Maybe if your set up is mixed up, you start off new once again.

                          If you want to use jBPM inside your application, I suggest to read through Chapter 5 of the user guide to get a picture of what to deploy in which scenario.

                          Regards, Martin

                          • 11. Re: jbpm3.2 on jboss 4.0.5
                            Rishi Sharma Newbie

                            Any idea !!!!

                            Caused by: java.sql.SQLException: Column not found: THIS_.VERSION_ in statement [select top ? this_.ID_ as ID1_27_3_, this_.VERSION_ as VERSION3_27_3_, this_.NAME_ as NAME4_27_3_, this_.DESCRIPTION_ as DESCRIPT5_27_3_, this_.ACTORID_ as ACTORID6_27_3_, this_.CREATE_ as CREATE7_27_3_, this_.START_ as START8_27_3_, this_.END_ as END9_27_3_, this_.DUEDATE_ as DUEDATE10_27_3_, this_.PRIORITY_ as PRIORITY11_27_3_, this_.ISCANCELLED_ as ISCANCE12_27_3_, this_.ISSUSPENDED_ as ISSUSPE13_27_3_, this_.ISOPEN_ as ISOPEN14_27_3_, this_.ISSIGNALLING_ as ISSIGNA15_27_3_, this_.ISBLOCKING_ as ISBLOCKING16_27_3_, this_.TASK_ as TASK17_27_3_, this_.TOKEN_ as TOKEN18_27_3_, this_.PROCINST_ as PROCINST19_27_3_, this_.SWIMLANINSTANCE_ as SWIMLAN20_27_3_, this_.TASKMGMTINSTANCE_ as TASKMGM21_27_3_, token1_.ID_ as ID1_21_0_, token1_.VERSION_ as VERSION2_21_0_, token1_.NAME_ as NAME3_21_0_, token1_.START_ as START4_21_0_, token1_.END_ as END5_21_0_, token1_.NODEENTER_ as NODEENTER6_21_0_, token1_.NEXTLOGINDEX_ as NEXTLOGI7_21_0_, token1_.ISABLETOREACTIVATEPARENT_ as ISABLETO8_21_0_, token1_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_21_0_, token1_.ISSUSPENDED_ as ISSUSPE10_21_0_, token1_.LOCK_ as LOCK11_21_0_, token1_.NODE_ as NODE12_21_0_, token1_.PROCESSINSTANCE_ as PROCESS13_21_0_, token1_.PARENT_ as PARENT14_21_0_, token1_.SUBPROCESSINSTANCE_ as SUBPROC15_21_0_, processins2_.ID_ as ID1_20_1_, processins2_.VERSION_ as VERSION2_20_1_, processins2_.KEY_ as KEY3_20_1_, processins2_.START_ as START4_20_1_, processins2_.END_ as END5_20_1_, processins2_.ISSUSPENDED_ as ISSUSPEN6_20_1_, processins2_.PROCESSDEFINITION_ as PROCESSD7_20_1_, processins2_.ROOTTOKEN_ as ROOTTOKEN8_20_1_, processins2_.SUPERPROCESSTOKEN_ as SUPERPRO9_20_1_, processdef3_.ID_ as ID1_4_2_, processdef3_.NAME_ as NAME3_4_2_, processdef3_.DESCRIPTION_ as DESCRIPT4_4_2_, processdef3_.VERSION_ as VERSION5_4_2_, processdef3_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_4_2_, processdef3_.STARTSTATE_ as STARTSTATE7_4_2_ from JBPM_TASKINSTANCE this_ inner join JBPM_TOKEN token1_ on this_.TOKEN_=token1_.ID_ inner join JBPM_PROCESSINSTANCE processins2_ on token1_.PROCESSINSTANCE_=processins2_.ID_ inner join JBPM_PROCESSDEFINITION processdef3_ on processins2_.PROCESSDEFINITION_=processdef3_.ID_ where this_.ACTORID_=? and this_.ISOPEN_=?]
                            


                            • 12. Re: jbpm3.2 on jboss 4.0.5
                              Edward Staub Expert

                              I didn't look to see if the VERSION_ column is new in 3.2, but given your other problem using a 3.1 config file with 3.2 code, I'd guess that you're now trying to use a 3.1 database with 3.2 code.

                              • 13. Re: jbpm3.2 on jboss 4.0.5
                                Rishi Sharma Newbie

                                Hi Estaub,

                                That's Right, I am using the 3.1.4 starterkit database, now i will try with 3.2

                                Thanks

                                • 14. Re: jbpm3.2 on jboss 4.0.5
                                  Rishi Sharma Newbie

                                  Hi Estaub,

                                  Now I have got success !!

                                  Thanks, i will write down all the step today and post them.


                                  1 2 Previous Next