6 Replies Latest reply on Oct 18, 2012 7:39 AM by swiderski.maciej

    how to start jbpm 5.3 multiple times in the same server?

    nkb

      hello,

       

      according to

       

      https://community.jboss.org/message/726008

       

      this is possible. could you tell me how to achieve this?

       

      when i have a look at the build.xml, it does nothin else than starting the jboss. how can i tell him that i want more engines?

       

      greets

      nkb

        • 1. Re: how to start jbpm 5.3 multiple times in the same server?
          swiderski.maciej

          you would need to create copies of following:

          - jbpm-gwt-console-server.war

          • make sure you edit jboss-web.xml inside to provide unique context root
          • edit persistence.xml if needed (data source)

          - jbpm-gwt-console.war (make sure you edit jboss-web.xml inside to provide unique context root)

          - define data sources if needed

           

          if human task needs to be duplicated follow steps defines for console-server

           

          HTH

          1 of 1 people found this helpful
          • 2. Re: how to start jbpm 5.3 multiple times in the same server?
            nkb

            1) when speaking about multi-tenancy, i have to duplicate the .war - files for every new tenant?

             

            2) how it´s possible to configure an instance to work with a certain client?

             

            thank you!

            • 3. Re: how to start jbpm 5.3 multiple times in the same server?
              swiderski.maciej

              I have not described it in terms of multi tenancy but rather how to run multiple instances of jbpm (-console) on same server if someone would be interested in it. Some could see this as way of supporting multi tenancy but personally I see this is as not the bast way - at least as default one. It depends on your needs and requirements for multi tenancy as this is very broad topic. Do you plan to have multi tenancy as PaaS, or SaaS?

               

              I believe there is nothing out of the box that provides you with complete multi tenancy support but (as already mentioned in the other thread) it is definitely possible. Here you can find some information about a prototype of jbpm-enterprise that provides "infrastructure" for building multi tenant enables applications/systems.

               

              HTH

              1 of 1 people found this helpful
              • 4. Re: how to start jbpm 5.3 multiple times in the same server?
                nkb

                Maciej Swiderski schrieb:

                 

                Do you plan to have multi tenancy as PaaS, or SaaS?

                 

                what would be the difference?

                 

                on first thought, i would say for saas.

                 

                what is with this approach:

                 

                https://community.jboss.org/message/726008

                 

                (configure an instance to work with a specific client)

                 

                thanks!

                • 5. Re: how to start jbpm 5.3 multiple times in the same server?
                  nkb

                  Maciej Swiderski schrieb:

                   

                  you would need to create copies of following:

                  - jbpm-gwt-console-server.war

                  • make sure you edit jboss-web.xml inside to provide unique context root
                  • edit persistence.xml if needed (data source)

                  - jbpm-gwt-console.war (make sure you edit jboss-web.xml inside to provide unique context root)

                  - define data sources if needed

                   

                   

                  but how can i tell the war files which persistence.xml should be used?

                   

                  they all have a look at the same persistence unit!

                  • 6. Re: how to start jbpm 5.3 multiple times in the same server?
                    swiderski.maciej

                    yes, you're right they all use same persistence unit name, this is enhanced in 5.4 so you will be able to specify different persistence units.

                     

                    another option could be looking into some advanced support for multiple runtimes on same server, take look here.

                     

                    HTH