Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 42615 invoked from network); 4 Dec 2008 19:23:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 19:23:38 -0000 Received: (qmail 95450 invoked by uid 500); 4 Dec 2008 19:23:49 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 95393 invoked by uid 500); 4 Dec 2008 19:23:49 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 95382 invoked by uid 99); 4 Dec 2008 19:23:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 11:23:49 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tim.mcconne@gmail.com designates 74.125.92.26 as permitted sender) Received: from [74.125.92.26] (HELO qw-out-2122.google.com) (74.125.92.26) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 19:22:18 +0000 Received: by qw-out-2122.google.com with SMTP id 5so1094815qwd.25 for ; Thu, 04 Dec 2008 11:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=g7YKI8JTWcn6Yt8FAxuFImhM0GKE13OQ8A4dN+35q5c=; b=TpBYQ0y1cdw/o7KBebcO5zcCyTi2d7cabykVcB+cWqSaZT2ZwOXRG4u/mKfLhfjnzg AVYmA4zUFGiXllvBBt2Au9hYXh3tsu/6/yk1IpZqHKhLR3b4e3Fk545w4W2R8Ib6bkRJ xrRc0QAdZlrww5h+vPbM6cOhquc/UQPHTGXr0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=togQWUBNkoZGZBFMfgDvLvJEfgbymNoG/AlyxiFOoE2bfPzVmkT0y2kwZB82RbQ74+ hOdUzRTIQ7uERmRmgPshJgdShFBkMo4yghEQSelq1vHQyrNwMXaWcy7FKp+ZYJzklq7G WlGAW6wmrdpesCK5QsOgxBe5oBnkHrVtoQxPw= Received: by 10.214.129.17 with SMTP id b17mr15329092qad.384.1228418585436; Thu, 04 Dec 2008 11:23:05 -0800 (PST) Received: from ?9.51.245.56? ([32.97.110.55]) by mx.google.com with ESMTPS id 5sm8668057qwh.56.2008.12.04.11.23.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Dec 2008 11:23:04 -0800 (PST) Message-ID: <49382E13.207@gmail.com> Date: Thu, 04 Dec 2008 14:22:59 -0500 From: Tim McConnell User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Out of memory during second publish - reproduced References: <4935F737.8020402@sengsational.com> In-Reply-To: <4935F737.8020402@sengsational.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Dale, just a quick note to tell you that I can now reproduce your failure. Looking for a resolution, and will let you know what I find out..... DRS2 Usenet wrote: > I had already installed jdk1.6.0_06 > I had already installed Geronimo: geronimo-tomcat6-javaee5-2.1.3-bin.zip > I installed a fresh Ganymede: eclipse-jee-ganymede-SR1-win32.zip > Added Geronimo 2.1 plugins from within Eclipse. > Then I deployed a web application. The first time, it deploys fine. > The second time, I get an out of memory, due to heap space. > > The web application may be found here: > http://www.manning.com/dbrown/SampleApplication.zip > > 1) Download the source code from above, and unzip. > 2) copy Struts2InAction.war to Struts2InAction.zip > 3) Unzip the Struts2InAction.zip file to a folder called WebContent and > delete Struts2InAction.zip > 4) Validate that your WebContent has WEB-INF, index.html, etc. > 5) In your Eclipse workspace folder, create a folder called > Struts2InAction, and move your WebContent folder into it. > 6) Start Eclipse > 7) Right-click in Project Explorer, New > Project > Web > Dynamic Web > Project (next) > 8) Project name: Struts2InAction > select Geronimo 2.1 > (next) > 9) Leave Context Root and Content Directory, but change Java Source > Directory to WebContent/WEB-INF/src > (finish) > 10) Right-click your project > Run As > Run On Server > 11) Point browser at http://localhost:8080/Struts2InAction > > 12) index.html will say "one moment please" while the jsp compiles, then > the menu will come-up. > 13) Back in Eclipse, edit (for example) WEB-INF/applicationContext.xml > with your MySql login and save the file. > 14) Wait for the application to republish itself. > > This is where the error occurs: > > Deployment failed due to java.lang.OutOfMemoryError: Java heap space > > I've started Eclipse with -vmargs -Xmx768M and get the same result. Not > able to put 1024M in there, for some reason (Eclipse won't even start). > > --Dale-- >