Hi Deepak, thanks for the info. I will also give it a try.
Thanks a lot! Best regards, Ingo Am Dienstag, 28. Jänner 2020, 20:46:42 CET schrieb Deepak Dixit: > Hi Ingo, > > Please check the serviecengine.xml, you can define the startup-service > there, I think this will fulfill your requirements > > =============== > <!-- Start-Up Services --> > <!-- > - runtime-data-id refers to the RuntimeData entity for in-parameters > - runtime-delay is the milliseconds after startup this service should run > - run-in-pool is the name of the pool to run the job in; defaults to the > send-to-poll (above) > <startup-service name="testScv" runtime-data-id="9900" runtime-delay="0" > run-in-pool="pool"/> > --> > ============== > > Kind Regards, > Deepak Dixit > DIRECTOR OF PRODUCT ENGINEERING > mobile: +91 9826754548 > email: [email protected] > *www.hotwax.co <http://www.hotwax.co/>* > > On Tue, Jan 28, 2020 at 9:12 PM James Yong <[email protected]> wrote: > > Hi Ingo, > > > > You can implement an OFBiz Container and declare it in your custom > > ofbiz-component.xml file. > > Also see Container.java from the sources. > > > > Another possible solution is to implement ServletContextListener and > > declare it in your custom web.xml file. > > > > Regards, > > James > > > > On 2020/01/28 09:58:14, Ingo Wolfmayr <[email protected]> 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
