Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start
I installed Tomcat 6.0.20 on my 64bit Window2003. I installed the service. But the Service did not start. Jakarta_service_mmdd.log file logs the below: [994 prunsrv.c] [error] Failed creating java and [1269 prunsrv.c] [error] ServiceStart returned 1 Please help me to run the service successfully. Thanks, Tiffany Dinh
RE: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start
The log says below. Note errors on lines 4 and 5. 1/ [2009-10-30 14:23:26] [info] Procrun (2.0.4.0) started 2/ [2009-10-30 14:23:26] [info] Running Service... 3/ [2009-10-30 14:23:26] [info] Starting service... 4/ [2009-10-30 14:23:26] [994 prunsrv.c] [error] Failed creating java 5/ [2009-10-30 14:23:26] [1269 prunsrv.c] [error] ServiceStart returned 1 6/ [2009-10-30 14:23:26] [info] Run service finished. 7/ [2009-10-30 14:23:26] [info] Procrun finished. Tiffany K. Dinh Software QA Engineer 18300 Von Karman, suite 800 Irvine, CA 92612 +1 949.838.1070 direct tiffany.d...@inovis.com www.inovis.com -Original Message- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Friday, October 30, 2009 4:36 PM To: Tomcat Users List Subject: RE: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start sc query tomcat what do the logs say? Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: tiffany.d...@inovis.com > To: users@tomcat.apache.org > Date: Fri, 30 Oct 2009 16:25:28 -0700 > Subject: Tomcat 6.0.20 on 64bit Window2003 - Service CAN'T start > > I installed Tomcat 6.0.20 on my 64bit Window2003. I installed the service. > But the Service did not start. Jakarta_service_mmdd.log file logs the > below: > > > > [994 prunsrv.c] [error] Failed creating java and > > [1269 prunsrv.c] [error] ServiceStart returned 1 > > > > Please help me to run the service successfully. > > > > Thanks, > > Tiffany Dinh > > > _ Windows 7: Simplify your PC. Learn more. http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen1:102009 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start
I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't start and logs below. [2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started [2009-11-02 10:31:40] [info] Running Service... [2009-11-02 10:31:40] [info] Starting service... [2009-11-02 10:31:40] [986 prunsrv.c] [error] Failed creating java [2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1 [2009-11-02 10:31:40] [info] Run service finished. [2009-11-02 10:31:40] [info] Procrun finished. Tiffany
RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start
Yes, I did. -Original Message- From: Josh Gooding [mailto:josh.good...@gmail.com] Sent: Monday, November 02, 2009 2:20 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start Did you copy over the 64 bit tomcat files to the tomcat directory? Not the 64 bit java files. On Mon, Nov 2, 2009 at 5:05 PM, tiffany.d...@inovis.com < tiffany.d...@inovis.com> wrote: > I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat > service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of > JRE_HOME to the path of my 64bit JRE 6.0. However the 64 bit Service can't > start and logs below. > > > [2009-11-02 10:31:40] [info] Procrun (2.0.3.0) started > [2009-11-02 10:31:40] [info] Running Service... > [2009-11-02 10:31:40] [info] Starting service... > [2009-11-02 10:31:40] [986 prunsrv.c] [error] Failed creating java > [2009-11-02 10:31:40] [1260 prunsrv.c] [error] ServiceStart returned 1 > [2009-11-02 10:31:40] [info] Run service finished. > [2009-11-02 10:31:40] [info] Procrun finished. > > > Tiffany > - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start
Excellent! It works. Thanks Andre! -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Monday, November 02, 2009 2:38 PM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 on 64bit Window2003 - 64bit Service CAN'T start tiffany.d...@inovis.com wrote: > I installed Tomcat 6.0.20 on 64bit Window2003. I installed 64 bit tomcat > service (64 bit tomcat6.exe and 64bit tomcat6w.exe). I set variable name of JRE_HOME to the path of my 64bit JRE 6.0. Where did you set that variable ? When running Tomcat as a service under Windows, using the tomcat6.exe wrapper, the environment parameters, path to JVM etc.. have to be set using the tomcat6w.exe program. This is a GUI (graphical) program, which you start on the console just by double-clicking on it. A bit of explanation, which is available somewhere else in the docs but I don't remember where : Tomcat is a Java program. It is run by a JVM. The JVM is thus the real program which runs under Windows. But the JVM, by itself, does not react very well like a Windows Service is expected to. So someone invented a "wrapper program", which gets installed and acts as the Windows Service; and this program runs the JVM. That wrapper program is tomcat6.exe. This wrapper program looks for some of its parameters, in the Windows Registry. The tomcat6w.exe program is a GUI programs that helps setting these Registry parameters in the right place. So start tomcat6w.exe, and navigate through the tabs, to see where it thinks it should find the JVM. Your problem is probably there. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org