Re: application goes down after restart the tomcat server 8.29 or restart the OS
Thanks Chris, you input appreciated On Fri, Jun 8, 2018 at 10:31 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Loai, > > On 6/7/18 5:26 PM, Loai Abdallatif wrote: > > thanks Chris, yes the apps are dependent on each others > > Sounds like you need to loosen that requirement. > > Try techniques such as "lazy initialization", or even > automated-retries if something isn't up the first time to try to > connect to it. > > Good luck, > - -chris > > > On Thu, Jun 7, 2018 at 5:12 PM, Christopher Schultz < > > ch...@christopherschultz.net> wrote: > > > > Loai, > > > > On 6/6/18 4:32 PM, Loai Abdallatif wrote: > Dear Colleagues I have HR application deployed on two tomcat > workers , but when I restart the tomcat instance or restart > the OS , then the application failed to start and just works > if I re-deploy the application again , please advise > > > > My guess is that your application relies on load-order of > > applications being initialized, and when one of the dependencies > > isn't running, the application cannot start. > > > > If that's the case, you need to make sure that your applications > > can tolerate unavailability of any dependencies during startup. > > > > -chris > >> > >> - > >> > >> > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > >> For additional commands, e-mail: users-h...@tomcat.apache.org > >> > >> > > > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsa2ZIACgkQHPApP6U8 > pFhrWxAAs0YJgtBYpX/t0CMh2g57T6hHGMy8GDX1PnWIK4soJq+O9AXsecq9tdsj > 9DQZ1zd1Bp4CeXQAy5JkUqcBD72TRArcly/4LUxQTNrftoPCnwK6kbyNYm3ftljE > a07we37pAOXqxsaUyzlASQidq0uBhQVGzx4Q6UdhRKunsT95ddJUDBTlGJjV8qTa > IoNpyzW11DSOPrYyZqFEq1nHwwkqpIuGUGOdNTWtS+O5i5g06YX1Et3Q7Gbpc9b7 > YsXALyYQ5o9K7Crq9qglPXukOqsKWnmX0oy7fhkFwrBYdQlV8STCzsGgh87bc1gx > ltSA75pZ1gt/hqjQAXZwCpCb9PLvY6mDCpB6THou19QgMu4LwNTyxZRo4DlSBx5b > +5PDkFO+MUISq7qfvjc6Qggn1RZ9KQF1PlwL7COcdjwwW3lLo7uRf9f4sQgT8IvT > rzg4pSRPMJPRCngkoK6CrFnwCa4qO9esCsXAOBwpsSswSm/0lI5FfqQyaeCOynwT > F1oCMWie99SE+xZo+iTgnxnxGJE+bJ3bJfw8xWw9Op9OCN3RHRS9MjPW6w+8hYUV > slooqpR2b9+jzAjhefh/ewEJB9nE+8vi8keBJaIXqgQMh6w+jdE5NpqRJdCk64S2 > hORTO0+NTE84oMdkKPuA5EKg+NDcApWhalSJn4sphjhTSNBqtSE= > =mpVz > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: application goes down after restart the tomcat server 8.29 or restart the OS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loai, On 6/7/18 5:26 PM, Loai Abdallatif wrote: > thanks Chris, yes the apps are dependent on each others Sounds like you need to loosen that requirement. Try techniques such as "lazy initialization", or even automated-retries if something isn't up the first time to try to connect to it. Good luck, - -chris > On Thu, Jun 7, 2018 at 5:12 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Loai, > > On 6/6/18 4:32 PM, Loai Abdallatif wrote: Dear Colleagues I have HR application deployed on two tomcat workers , but when I restart the tomcat instance or restart the OS , then the application failed to start and just works if I re-deploy the application again , please advise > > My guess is that your application relies on load-order of > applications being initialized, and when one of the dependencies > isn't running, the application cannot start. > > If that's the case, you need to make sure that your applications > can tolerate unavailability of any dependencies during startup. > > -chris >> >> - >> >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> > -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsa2ZIACgkQHPApP6U8 pFhrWxAAs0YJgtBYpX/t0CMh2g57T6hHGMy8GDX1PnWIK4soJq+O9AXsecq9tdsj 9DQZ1zd1Bp4CeXQAy5JkUqcBD72TRArcly/4LUxQTNrftoPCnwK6kbyNYm3ftljE a07we37pAOXqxsaUyzlASQidq0uBhQVGzx4Q6UdhRKunsT95ddJUDBTlGJjV8qTa IoNpyzW11DSOPrYyZqFEq1nHwwkqpIuGUGOdNTWtS+O5i5g06YX1Et3Q7Gbpc9b7 YsXALyYQ5o9K7Crq9qglPXukOqsKWnmX0oy7fhkFwrBYdQlV8STCzsGgh87bc1gx ltSA75pZ1gt/hqjQAXZwCpCb9PLvY6mDCpB6THou19QgMu4LwNTyxZRo4DlSBx5b +5PDkFO+MUISq7qfvjc6Qggn1RZ9KQF1PlwL7COcdjwwW3lLo7uRf9f4sQgT8IvT rzg4pSRPMJPRCngkoK6CrFnwCa4qO9esCsXAOBwpsSswSm/0lI5FfqQyaeCOynwT F1oCMWie99SE+xZo+iTgnxnxGJE+bJ3bJfw8xWw9Op9OCN3RHRS9MjPW6w+8hYUV slooqpR2b9+jzAjhefh/ewEJB9nE+8vi8keBJaIXqgQMh6w+jdE5NpqRJdCk64S2 hORTO0+NTE84oMdkKPuA5EKg+NDcApWhalSJn4sphjhTSNBqtSE= =mpVz -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: application goes down after restart the tomcat server 8.29 or restart the OS
thanks Chris, yes the apps are dependent on each others On Thu, Jun 7, 2018 at 5:12 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Loai, > > On 6/6/18 4:32 PM, Loai Abdallatif wrote: > > Dear Colleagues I have HR application deployed on two tomcat > > workers , but when I restart the tomcat instance or restart the OS > > , then the application failed to start and just works if I > > re-deploy the application again , please advise > > My guess is that your application relies on load-order of applications > being initialized, and when one of the dependencies isn't running, the > application cannot start. > > If that's the case, you need to make sure that your applications can > tolerate unavailability of any dependencies during startup. > > - -chris > -BEGIN PGP SIGNATURE- > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsZPTAACgkQHPApP6U8 > pFh0YRAAkCcE1TdQP9lMVtqHmsS3h80xgsxhKYXjeEKB19XRtEdT6IWbaggr6zDv > QQKaNR6ewb3BOsO3Dokp9rZT8/iITVnJL0ni/9zXm3Ahc9q+2t9rQD2EhPFPsoOr > +MeGgfE8LLRKUCq/75XuDo5wA28uaOyD9gVu1P9sdR9SBo2+ysNTXZfzS6haIF6H > wtnRDlmfSJT4XR5PtDeC+yJjkQkNzGJIr5RxqDY6IqL+s7dE4yLakrsHpno5BgU5 > CPPU3PCUjixwf+XDDE3fnC5Gl/RsL2MSSrgEK8/+IIWJYVpTSKP2lPHWZFYTVNl/ > WrVLZz6B3rk613LwIRmZfmTcUOTYca7i7BDuSDihQkcR+O4kIFizSdGvnuUu4+9X > LM6UDbBFcmeN9qB83fCU0ixju4zlAkZMlLKgZtDvh45V5I4CPdSZxQzK1kwz6ZU0 > AO8haplvGnUkZSSwJyaYSoMYDkaYOGHSWY1sXLaOCPomFPuiWiRZvp3Ny3K5EOjC > +aEiOX1Twr1X6GdnNJpheXu4ojS6CUZIgqupgXIrX81MnRbtOcKxFiYIaFtFyFWU > xNX+tyr6xcA+6Tkm0fn/lhsLLj5HI5L3saESyNFbgauArWeicU31EWCN3jXQaN3W > dtyDbSJoJvJ5fPcgPvd+DT5zKQ2tX8MAz/zF3KiIfUNiT7PhZQI= > =nNJ3 > -END PGP SIGNATURE- > > - > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >
Re: application goes down after restart the tomcat server 8.29 or restart the OS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Loai, On 6/6/18 4:32 PM, Loai Abdallatif wrote: > Dear Colleagues I have HR application deployed on two tomcat > workers , but when I restart the tomcat instance or restart the OS > , then the application failed to start and just works if I > re-deploy the application again , please advise My guess is that your application relies on load-order of applications being initialized, and when one of the dependencies isn't running, the application cannot start. If that's the case, you need to make sure that your applications can tolerate unavailability of any dependencies during startup. - -chris -BEGIN PGP SIGNATURE- Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlsZPTAACgkQHPApP6U8 pFh0YRAAkCcE1TdQP9lMVtqHmsS3h80xgsxhKYXjeEKB19XRtEdT6IWbaggr6zDv QQKaNR6ewb3BOsO3Dokp9rZT8/iITVnJL0ni/9zXm3Ahc9q+2t9rQD2EhPFPsoOr +MeGgfE8LLRKUCq/75XuDo5wA28uaOyD9gVu1P9sdR9SBo2+ysNTXZfzS6haIF6H wtnRDlmfSJT4XR5PtDeC+yJjkQkNzGJIr5RxqDY6IqL+s7dE4yLakrsHpno5BgU5 CPPU3PCUjixwf+XDDE3fnC5Gl/RsL2MSSrgEK8/+IIWJYVpTSKP2lPHWZFYTVNl/ WrVLZz6B3rk613LwIRmZfmTcUOTYca7i7BDuSDihQkcR+O4kIFizSdGvnuUu4+9X LM6UDbBFcmeN9qB83fCU0ixju4zlAkZMlLKgZtDvh45V5I4CPdSZxQzK1kwz6ZU0 AO8haplvGnUkZSSwJyaYSoMYDkaYOGHSWY1sXLaOCPomFPuiWiRZvp3Ny3K5EOjC +aEiOX1Twr1X6GdnNJpheXu4ojS6CUZIgqupgXIrX81MnRbtOcKxFiYIaFtFyFWU xNX+tyr6xcA+6Tkm0fn/lhsLLj5HI5L3saESyNFbgauArWeicU31EWCN3jXQaN3W dtyDbSJoJvJ5fPcgPvd+DT5zKQ2tX8MAz/zF3KiIfUNiT7PhZQI= =nNJ3 -END PGP SIGNATURE- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: application goes down after restart the tomcat server 8.29 or restart the OS
Loai, On Thu, Jun 7, 2018, 2:03 AM Loai Abdallatif wrote: > Dear Colleagues > I have HR application deployed on two tomcat workers , but when I restart > the tomcat instance or restart the OS , then the application failed to > start and just works if I re-deploy the application again , please advise > What is the error you are getting? Please provide some details, otherwise it will be very hard to help you out here. >
application goes down after restart the tomcat server 8.29 or restart the OS
Dear Colleagues I have HR application deployed on two tomcat workers , but when I restart the tomcat instance or restart the OS , then the application failed to start and just works if I re-deploy the application again , please advise