Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 44432 invoked from network); 24 Jul 2009 13:37:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Jul 2009 13:37:27 -0000 Received: (qmail 87483 invoked by uid 500); 24 Jul 2009 13:38:28 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87413 invoked by uid 500); 24 Jul 2009 13:38:28 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 87401 invoked by uid 99); 24 Jul 2009 13:38:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 13:38:28 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [192.61.61.105] (HELO usea-naimss3.unisys.com) (192.61.61.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2009 13:38:15 +0000 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.16]) by usea-naimss3 with InterScan Message Security Suite; Fri, 24 Jul 2009 08:37:53 -0500 Received: from usea-nagw1.na.uis.unisys.com ([129.224.72.51]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Jul 2009 08:37:52 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw1.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Jul 2009 08:37:52 -0500 Received: from USEA-EXCH7.na.uis.unisys.com ([129.224.76.38]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Fri, 24 Jul 2009 08:37:51 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Fri, 24 Jul 2009 08:37:47 -0500 Subject: RE: Error during initialization of VM Thread-Topic: Error during initialization of VM Thread-Index: AcoMXb9+jXgXE+ZzS66dyW6Dl6RW2QAA0/jg Message-ID: <0AAE5AB84B013E45A7B61CB66943C17229B028DCCD@USEA-EXCH7.na.uis.unisys.com> References: <20090724120602.07E3040387@relay8.relay.dfw.mlsrvr.com> <4A69A998.2090203@ice-sa.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 24 Jul 2009 13:37:52.0166 (UTC) FILETIME=[F1368C60:01CA0C63] X-Virus-Checked: Checked by ClamAV on apache.org > From: Goddard Jiri [mailto:g0dd4rd@googlemail.com] > Subject: Re: Error during initialization of VM >=20 > The Tomcat is currently up and running - all I've done is=20 > just set the Xms256m. If the value was zero in the Tomcat registry settings, that will cause the = error you observed. The Tomcat service wrapper always specifies minimum an= d maximum heap sizes when starting the JVM, so if either registry entry was= missing or corrupted, it likely used a value of zero. Note that these are= *not* the default=20 heap size limits, which are plenty to allow the JVM to initialize, although= it may not be able to load much in the way of user classes. (The request to show CATALINA_OPTS is irrelevant, since you're running this= as a Windows service, and environment variables aren't used. Also, the am= ount of RAM on the system doesn't matter, since we're talking about virtual= , not real, space here.) > Unfortunately, the JVM is an old one - JRE 1.4.2 (with all the > extensions needed to run Tomcat 5.5.17). It works just fine It may work fine, but you'll get much, much better performance with a newer= JVM. I'd strongly recommend upgrading. > It may be the case you are describing, but shouldn't it tell=20 > something like: "Not enough memory" or "Cannot allocate Java > Heapspace" or something like that? The message you're getting is produced by the JVM only when initialization = fails so early that none of the internal error mechanisms are available. N= ewer JVMs do produce more descriptive messages - another reason to upgrade. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL 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 atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org