-
1. Re: how to start jbpm 5.3 multiple times in the same server?
swiderski.maciej Sep 27, 2012 7:27 AM (in response to nkb)1 of 1 people found this helpfulyou 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
-
2. Re: how to start jbpm 5.3 multiple times in the same server?
nkb Sep 27, 2012 7:31 AM (in response to swiderski.maciej)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 Oct 1, 2012 5:38 AM (in response to nkb)1 of 1 people found this helpfulI 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
-
4. Re: how to start jbpm 5.3 multiple times in the same server?
nkb Oct 1, 2012 7:06 AM (in response to swiderski.maciej)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 Oct 10, 2012 12:25 PM (in response to swiderski.maciej)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 Oct 18, 2012 7:39 AM (in response to nkb)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