-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Robert,

On 7/30/15 2:28 AM, Robert Jacobs wrote:
> We have double checked the environment settings we set and the only
> thing we currently set is JAVA_HOME, which is set to
> /usr/java/latest . This points to 1.8.0_20-b26.
> 
> We also created a new virtual machine via virtualbox, also running
> RHEL 7.1 and tomcat 8.0.18. We experience the exact same issues as
> with our vmware virtual machine. Could it be that we are
> experiencing this because we are using virtual machines? It should
> not matter, right? Is it related to RHEL 7.1?
> 
> We noticed that Tomcat startup times vary in terms of 900ms up to
> 9000ms on this new virtual machine.

If you are using SSL, the problem is likely lack of entropy. Virtual
machines are often hamstrung by virtual devices not providing enough
noise to gather entropy. Make sure your VM has access to the
underlying host's entropy source.

This can also happen when creating a SecureRandom instance for
generating session ids. Previously-posted log messages seem to show
that this is what is happening to you. If you do a lot of restarts on
a VM in a short period of tie, you can drain your entropy source.

> We also noticed that Tomcat returns 143 when deploying first
> webapp (which is the Tomcat docs folder).

When does the "143" get returned? Does the JVM exit and produce that
as the return code? Or is jsvc producing that return code? Or is
systemctl returning that code? It would be great to know what tool is
returning this "143". That's not a standard OS exit code, at least not
on any system I have access to.

When you say "when deploying the first webapp" are you saying that the
JVM exits when the first web application is trying to deploy, or
something else? Is there a second web application? Does that ever
start loading?

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVuk3iAAoJEBzwKT+lPKRYuEQP/3saDU+V8/8yEPouHiCtBv94
R54w71iTN5LqCQXyUjXJ/DUTGWpM0VFfuEpGNOaJNR3M88GWOsl36g70COVeMprZ
FqkHk5/Gen/iMg9s7fOh+iePlfbGHajkohTZbpYFyJRkBcgidr1GaakFyAxFdo/m
AlwcLuneVrwsF2PKwqdUQNNT11WcDpCZ9gJtJknosyEfbf6kQa7mpSFhoy2X10B+
k2Nc9lB/x2k6OHTDKBXdqf5yM4qoBUTNRmGUMaDQSlL6WC1/VLzC748ZJ3hpXtQr
r3VUwdJQoHBbWwWzavOHPuKOaJwKuTcLctCcgA4jTinN7LkCI1MUTdLeSvWYtHR7
5VIxl/HKo5shRAKjM7rTr9abCfJ3K3RknIIgONEwKTGXBtRApqwKIfcp8viMjhtV
Y1nrysGBaFYN64rws78pAKfwkk8PqAs/qou77+/oU+x56P7u/TBMRlG5ADtBydbC
ycoH6lw6Z5fiRVDvWB8xsnswloTtIOHJfmz2B4JixqebjI5NdkbTP8YTFaIUpBZl
1JxABUWdsrp2wZ2edW2qihQqQ9PdtnRGzOzooHQY/8TGVXMaoIytxv3A8VNsYjyR
vejUzcwWYifG4n5AtXa0jHzKpDbOhgpQWECj4ZLZtfrh0+QmzOvWSkiftIIljVrs
y2fQA/lkU4KZNbOyOO7g
=zQHy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to