OOTB, because of the admin port I don't know of any ways to start OFBiz
multiple time.
The both option only allows to start the POS and the rest, but for the same
reason only one time.
It could be that this was introduced for external projects, then please chime
in...
Jacques
Le 02/06/2016 à 08:34, Taher Alkhateeb a écrit :
Hello Folks,
My question is the following: is OFBiz allowed to start multiple times from
the main method (difference tenants, different offset ports, whatever.)?
The reason I ask is because the startup logic in OFBiz is made more complex
because it assumes multiple starts. For example:
- Checking if a classloader is set or not
- Applying locks on StartupLoaders to prevent multiple threads from
altering them
Is this code unnecessary? Should I assume that OFBiz never calls the startup
sequence more than once?
Regards,
Taher Alkhateeb