Hi, Cool, good tip. Yoav Shapira http://www.yoavshapira.com
>-----Original Message----- >From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] >Sent: Friday, November 12, 2004 3:14 PM >To: Tomcat Users List >Subject: RE: Tomcat and -server option > >> From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >> Subject: RE: Tomcat and -server option >> >> > Is there a way to make sure that my JVM is taking >> > the -server flag into consideration? >> >> I'm not aware of a programmatic way to verify this. > >The Java property java.vm.name (use System.getProperty("java.vm.name") to >retrieve it) contains either "Java HotSpot(TM) Server VM" or "Java >HotSpot(TM) Client VM" when using Sun JVMs. Other vendors will, of course, >set this property differently. > > - Chuck > > >THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY >MATERIAL and is thus for use only by the intended recipient. If you >received this in error, please contact the sender and delete the e-mail and >its attachments from all computers. > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]