-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gavin,
Er, forget my ravings about SSL initialization. I forgot that you said you were seeing very high CPU utilization. Waiting for randomness would not behave that way. - -chris Christopher Schultz wrote: | Gavan, | | Gavan Hood wrote: | | My web app is very simple, two servlets already installed so no war | | file. Once it finally gets going it is very responsive, the | | initialization just takes forever... | | A few quick questions: | | Do your servlets perform any of their own initialization? I'm guessing | that you would have looked here, first, but I figured I'd just | double-check. | | Are you using an SSL connector? If so, the server may require a lot of | random data from your random device, which might not be delivering it | fast enough. You might be able to configure the JVM to use a different | source of randomness. | | Are you running with APR? This also has to do with the entropy | requirements of SSL, since you can configure APR's source of randomness | separately from the JVM. | | -chris | | | | | I have some war files coming, but I figure if I cannt get this basic | | initialization to work theres not much point. | | | | Is tomcat supposed to work in embedded environments like this, is it | | something others are trying / have working , Is it part of the | | roadmap ? | | | | | | | | Peter Crowther <[EMAIL PROTECTED]> wrote: | |> From: Gavan Hood [mailto:[EMAIL PROTECTED] My problem is the | |> initialization. When I start tomcat it takes about two minutes to | |> complete initialization and pegs my little processor at times, | |> often it keeps it around 80% untilized... | | | | Yeah, that's not good in an embedded device! | | | | 2 minutes with or without your application deployed? i.e. how much of | | that time is Tomcat startup, and how much is Tomcat deploying your | | webapp / your webapp startup? | | | | How is your application packaged? Are you unpacking it from a WAR, or | | is it already unpacked? | | | | - Peter | | | | --------------------------------------------------------------------- | | To start a new topic, e-mail: users@tomcat.apache.org To | | unsubscribe, e-mail: [EMAIL PROTECTED] For | | additional commands, e-mail: [EMAIL PROTECTED] | | | | | | | | | | --------------------------------- Be a better friend, newshound, and | | know-it-all with Yahoo! Mobile. Try it now. - --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkePdf0ACgkQ9CaO5/Lv0PAo9QCeL7zvzRgY7jmaQD1VVef5N1oR WXYAnRhEsrQcrru9EQVaMiycdd7l1VZI =G6Mm -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]