tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: application goes down after restart the tomcat server 8.29 or restart the OS
Date Fri, 08 Jun 2018 19:31:30 GMT
-----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 < 
> chris@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message