Yes it is important as the external storage, in my case an automatic storage system, sends messages to Ofbiz if inventory is requested. If it has the information that the connection is established, but unaware that Ofbiz is not ready it will run into problems - or makes it more complicated. I guess I will have to add the service database entries via the startup script. I was hoping to find a "cleaner" way, telling ofbiz to do something when ready.
Thanks for the input. Ingo Am Dienstag, 28. Jänner 2020, 11:14:03 CET schrieb Michael Brohl: > Is it important to establish the connection to the external storage > system only after OFBiz has been startet? > > Can it be established beforehand? If yes, I would either startup the > connection in your OFBiz start script or completely independend of OFBiz > on the server level (mounting on startup). > > Michael Brohl > > ecomify GmbH - www.ecomify.de > > Am 28.01.20 um 11:06 schrieb Gil Portenseigne: > > Hello Ingo, > > > > For this case, i think I would plan a job to run every X minutes, that > > will check if the connexion is alive or, establish it. > > > > The jobPoller will then take care of it after OFBiz is launched. > > Depending on the connexion type it might be enough. > > > > AFAIK there is no standard configuration to launch a service at OFBiz > > start. > > > > Gil > > > > On Tue, Jan 28, 2020 at 10:58:14AM +0100, Ingo Wolfmayr wrote: > >> Hi everybody, > >> > >> is it possible to start a service when Ofbiz has started and is ready? > >> > >> Use case: I need to startup a connection to an external storage system. > >> In my case a TCP/IP connection that is permanent. > >> > >> Best regards, > >> Ingo