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

 

 

Reply via email to