-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Dan,
On 1/16/14, 3:41 PM, Daniel Mikusa wrote:
> On Jan 16, 2014, at 3:04 PM, Bradley Rogers
> wrote:
>
>> I have an application where Tomcat under Centos linux takes about
>> 4 minutes to be "online" from the time it starts.
>
> My initial thought is that it's probably the application. This is
> true most of the time. Occasionally there can be JAR scanning
> issues though or an issue with entropy. See here for more info.
>
> https://wiki.apache.org/tomcat/HowTo/FasterStartUp
>
>> i dont know what its doing but wonder if there is a way to ping
>> something in the tomcat to check status?
>
> My first thought would be to just watch the logs (increasing the
> log levels if necessary) and see what it's doing. If it sits for a
> long time in one place or you see no output, take a few thread
> dump, 10 - 15 seconds apart (kill -3 ) and investigate
> further.
I don't like using kill -3 because the thread dump goes to stdout
(usually catalina.out, kinda polluting it). I like using "jstack"
better because it goes to the terminal running jstack and not to the
JVM's stdout.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCAAGBQJS2FM6AAoJEBzwKT+lPKRYttoP/Rp91A/yYCRxV9orAAVYcXot
QOAsToZbSHNwMPSpHyPQZw1hWB/Hox9ATkFElFpqEJB8vluijr+9lCPXgPs+lJKi
AfKfOCwPzygmCnMxn2khWsmEdzG6O0m6L+vhDZu+bfijD02y+LELFcd1tZ4CJGfR
zWeEZEnSQhTmSRNBiywEYyYO7WTp9pxXFGxsKAo2h/xwMOr9i/IbS7VQncSb+Z2R
tn3sXgw3got+aSku5rxqQaV0L9Co4LSgT+cGE+ndoLVRSwNAQx/M4WOZAn3sFUpU
ziB+Gg4DhG+XeSmfFTyeobUBvP6T2Qy/st6Q1wLzXbtrq8I1vEgOcsKxBGFgelb4
H5y946ip7cRbH4lqgdNwHjpalfhc2EfgnJIp4nAi64INnpOvf/8uNd4srcFALRmw
aY9KtlX59dxxhT753zkq7EZItitE/Acu3UyrIL+rhwB1naNNmHmjfKQbdEgg6AKR
Sajs0oBhY766YkvRbIYZQuf6U668vYfJKefgWosabUAz13w5zJ6nUtpH1Y3WaL/P
8MxFTr3JNRufuEyvGMmCEsECpZXAJaBssvJJkOEQLHkNrpIYxvFO5Y6Orj9FgKSS
YhwNF2I16YkryiS0kgqFyEJ8eFFO29pn/hECqNJKJfdHkl7kMyRPgMBYeRfUWDzX
78qM4tPanNuhLh/+8xHC
=1tAu
-END PGP SIGNATURE-
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org