1 2 3 Previous Next 61 Replies Latest reply on Oct 18, 2007 8:48 AM by Diwaker Reddy

    JBPM3 with tomcat

    wehbe jean Newbie

      Dear All.
      Please I want to run JBPM3 under tomcat.Is there any documentation or manual to follow about this issue?
      Thank you.
      Jean

        • 2. Re: JBPM3 with tomcat
          wehbe jean Newbie

          Thank you
          I need to run JBPM3 and not JBPM2 under tomcat.I need a documentation about all this issue please

          Thank you again.

          • 3. Re: JBPM3 with tomcat
            Diwaker Reddy Newbie

            hi,

            Even i faced the same problem while deploying the 3.1 version of jbpm on tomcat! but finally made it on tomcat.

            My tomcat version was 5.x and used Oracle 9i as backend!



            Here are the steps i followed to deploy 3.1 version of jbpm on tomcat.



            Download jbpm-starters-kit-3.1.1 from Jboss site


            Deploy jbpm-starters-kit-3.1.1\jbpm-server\server\jbpm\deploy\jbpm.war into tomcat webapps.


            Copy hibernate.cfg.xml from jbpm-starters-kit-3.1.1\jbpm\src\config.files to ur <jbpm-home>/WEB-INF/classes/


            Run ant task for creating database tables and data from jbpm-starters-kit-3.1.1\jbpm\build.deploy.xml
            ( ant create.db ?buildfile build.deploy.xml)


            Add few jars to lib folder of your application.


            Start tomcat.


            Start jbpm application.




            thanks and regards
            diwa


            • 4. Re: JBPM3 with tomcat
              wehbe jean Newbie

              Hi Mr. Diwa_pv

              can you please give us the jars list?

              Thank you.

              • 5. Re: JBPM3 with tomcat
                Diwaker Reddy Newbie

                hi,



                these are the jars i have in my jbpm application!

                antlr-2.7.5H3.jar
                asm.jar
                asm-attrs.jar
                bsh-1.3.0.jar
                cglib-2.1_2jboss.jar
                commons-beanutils-1.6.1.jar
                commons-collections.jar
                commons-digester-1.5.jar
                commons-fileupload-1.0.jar
                commons-logging.jar
                converter.jar
                dom4j-1.6.1.jar
                ehcache-1.1.jar
                hibernate3.jar
                hibernate-annotations.jar
                hibernate-entitymanager.jar
                jaxen-1.1-beta-4.jar
                jbpm-3.1.1.jar
                jbpm.sar.cfg.jar
                jbpm-identity-3.1.1.jar
                jbpm-webapp-3.1.1.jar
                jdbc2_0-stdext.jar
                jstl-1.1.0.jar
                jta.jar
                junit-3.8.1.jar
                log4j.jar
                myfaces-api.jar
                myfaces-impl.jar
                standard-1.1.2.jar
                struts-1.1.jar
                tomahawk.jar


                reagards and thanks
                diwa

                • 6. Re: JBPM3 with tomcat
                  Mathieu LC Newbie

                  Hello,

                  I'm a very yong jbpm child and I need help...

                  I spent all this day on this topic and I finally passed the connection test before deploying my process on the jbpm server.

                  I used the war file method to deploy the jbpm server on tomcat and by making some configuration changes and by adding "some" jars, It finally worked.

                  Now the problem is that I can't deploy the process on this jbpm "server" on tomcat.
                  No error in the console and nothing appends appart from the window which tells me the deployment failed...blablabla...

                  Here is my question :
                  Were does the error come from ?

                  [list=]form the jbpm server (bad deployment...)
                  from the "new jbpm project" process file
                  from my empty MySQL database ?

                  Is there a specific method for deploying a process on jbpm when it not on the jboss test server (start.bat & stop.bat)?

                  tks a lot for replying!!

                  matt

                  • 7. Re: JBPM3 with tomcat
                    Koen Aers Master

                    What deployment method are you using?
                    What is your environment exactly? Do you have any logs?
                    Please be much more specific!

                    Regards,
                    Koen

                    • 8. Re: JBPM3 with tomcat
                      lamp li Newbie

                      hi mr. diwa_pv,
                      I signal ur steps as 1 to 7.But what is the "<jbpm-home>" refered in step3,when you had deploy jbpm.war to tomcat?
                      And how can i deploy the jbpm engine and application respectively?


                      1. Download jbpm-starters-kit-3.1.1 from Jboss site
                      2. Deploy jbpm-starters-kit-3.1.1\jbpm-server\server\jbpm\deploy\jbpm.war into tomcat webapps.
                      3. Copy hibernate.cfg.xml from jbpm-starters-kit-3.1.1\jbpm\src\config.files to ur <jbpm-home>/WEB-INF/classes/
                      4.Run ant task for creating database tables and data from jbpm-starters-kit-3.1.1\jbpm\build.deploy.xml
                      ( ant create.db ?buildfile build.deploy.xml)
                      5. Add few jars to lib folder of your application.
                      6. Start tomcat.
                      7. Start jbpm application.

                      • 9. Re: JBPM3 with tomcat
                        Diwaker Reddy Newbie

                        hi lampli,

                        <jbpm_home> is nothing but the folder in <tomcat-home>/webapps/jbpm.

                        there u need to place the respective files mentioned!

                        regards and thanks
                        diwa

                        • 10. Re: JBPM3 with tomcat
                          lamp li Newbie

                          hi diwa,
                          Thank godness that you are online^_^!
                          I'm still in stupid because the jbpm.war is a single file in webapps. Can you show me the structure of your webapps floder in <tomcat-home>?

                          • 11. Re: JBPM3 with tomcat
                            Diwaker Reddy Newbie

                            hi,

                            when u firts deploy and run the jbpm.war in tomcat webapps, a folder will be created in the webapps with name "jbpm" . you need to copy the files i mentioned into there respective folders.


                            here is my tomcat directory structure.


                            Tomcat

                            -webapps

                            -jbpm

                            +css

                            +images

                            -WEB-INF

                            +classes

                            +lib

                            -web.xml


                            regards and thanks
                            diwa

                            • 12. Re: JBPM3 with tomcat
                              lamp li Newbie

                              hi diwa_pv,
                              Thank you very much for your patient guidance!
                              I'm so glad to know you,you'll be always in my memory;-)!
                              I have seen the login page, but no name in the select box! May be it's because of the problem in anting the create.db.
                              regards and thanks
                              lamp

                              • 13. Re: JBPM3 with tomcat
                                Diwaker Reddy Newbie

                                hi,

                                thats good to hear that its finally working.

                                coming back to the list , i think the list is empty because there is no data in the jbpm tables. just add few users in JBPM_ID_USER table.


                                regards & thanks
                                diwa

                                • 14. Re: JBPM3 with tomcat
                                  Amy Basu Newbie

                                  I am trying to run jbpm on Tomcat. I followed the instructions you gave, but while trying to run the ant task for creating database tables (ant create.db? buildfile build.deploy.xml), its giving a build failure with the following message: org.hibernate.exception.JDBCConnectionException: Cannot open connection. Can you please help.

                                  1 2 3 Previous Next