Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 49418 invoked from network); 27 Nov 2007 12:55:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2007 12:55:55 -0000 Received: (qmail 71408 invoked by uid 500); 27 Nov 2007 12:55:31 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 71390 invoked by uid 500); 27 Nov 2007 12:55:31 -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 71379 invoked by uid 99); 27 Nov 2007 12:55:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 04:55:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jak-tomcat-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 12:55:33 +0000 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Iwzxu-0004uR-Vp for users@tomcat.apache.org; Tue, 27 Nov 2007 12:55:03 +0000 Received: from webcache3.e-iway.net ([195.68.112.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Nov 2007 12:55:02 +0000 Received: from galevsky by webcache3.e-iway.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 27 Nov 2007 12:55:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: users@tomcat.apache.org From: galevsky Subject: [Windows service] how to update with new procrun (doc is deprecated) Date: Tue, 27 Nov 2007 12:51:26 +0000 (UTC) Lines: 28 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.68.112.66 (Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I made a silent install of Tomcat 5.5 that generates a Tomcat5 Windows service, with JavaHome set reading my HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\CurrentVersion key. But this key is false (still a 1.4 JRE) and I want to update the service during my install process to make JavaHome target the right JRE path (a 1.5 one). I precise that it is normal that my key is still pointing to an old JRE version, since I install the 1.5 taking extra care not to change the global system version (don't want to break other apps running on 1.4). I can't do it with the GUI bin\tomcat5w.exe, but I would like to run something like: -> bin\tomcat5.exe //US//Tomcat5 --JavaHome="C:\Program Files\Java\JRE\1.5.0_11" I read it in the documentation at http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html, but it doesn't work and I am not surprised: "This section of the documentation applies to procrun 1.0, and is now obsolete." So, I would be most grateful if someone could tell the way to update my JavaHome, or give me a link to learn it. Many thanks, Gal' --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org