Hello Gil,

that was my first try either, unfortunately that is not working as when I 
restart Ofbiz, the service may crash and due to restarting a new pending job 
will not be created. So the service status has to be reviewed everytime the 
server is restarted and a new  new job has to be created. If the server is 
restarted for some reasons Ofbiz will startup automatically but I want to 
avoid having dependencies on someone checking the service -  or calling me to 
do it.

Thanks for your thoughts!

Best regards,
Ingo

Am Dienstag, 28. Jänner 2020, 11:06:15 CET 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



Reply via email to