Re: Tomcat on Windows Server 2003 R2
Thanks for the bugzilla link. I see how that would work now. Layton Per Johnsson wrote: Hi! Ok, but adding the path to javajre/bin I making the service finding the dll which is in the bin directory. I had the exact same problem and by adding the JAVA_HOME and PATH solved my problems, then if it's a good thing to do I don't know. There is a bugzilla describing the issue here: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 Regards Per Jonsson
RE: Tomcat on Windows Server 2003 R2
Hi! Ok, but adding the path to javajre/bin I making the service finding the dll which is in the bin directory. I had the exact same problem and by adding the JAVA_HOME and PATH solved my problems, then if it's a good thing to do I don't know. There is a bugzilla describing the issue here: http://issues.apache.org/bugzilla/show_bug.cgi?id=41538 Regards Per Jonsson -Original Message- From: Layton Berry [mailto:[EMAIL PROTECTED] Sent: den 26 mars 2007 19:46 To: Tomcat Users List Subject: Re: Tomcat on Windows Server 2003 R2 No, these environment variables are not needed unless you take the zip file distribution of Tomcat 6 and try to run it in a command window. The standard distribution uses a service, and the service requires the C run time support package, ie., msvcr71.dll, but the distribution is not including it. A simple test on a machine with a working Tomcat 6 service can reproduce the poster's original error messages. Just stop the service, find msvcr71.dll in the windows SYSTEM32 directory and rename it temporarily. (Assuming nothing else is using it.) Then start the service. The service will not start, and the jakarta_service log file will show the poster's error messages. Then restore the msvcr71.dll to the correct name and start the service again. This time it will work. If you are running the zip file distribution in a command window, you are not running the windows service. In that case, your environment variables are important. Layton Per Johnsson wrote: > There is a known "bug" or missfeature in the java installer. > Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in > the end of PATH variable. > > I hade the same problem with the java6 and tomcat but the abve solved > it. > > /per jonsson > > > -Original Message- > From: Markus Franz [mailto:[EMAIL PROTECTED] > Sent: den 25 mars 2007 20:00 > To: users@tomcat.apache.org > Subject: Tomcat on Windows Server 2003 R2 > > Hi! > > I am running Microsoft Windows Server 2003 R2 Standard x64 Edition > with JDK 6 (also x64 edition. My problem: > > I successfully installed Tomcat 6 (with the Windows Service installer). > But everytime I try to start the service, it terminates without notice. > The jakarta log contains the following line (all in one line) for > every tried startup: > > [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java > C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll > [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 > [2007-03-25 17:45:50] [info] Run service finished. > [2007-03-25 17:45:50] [info] Procrun finished. > > (The stderr and stdout logs are empty.) > > What is the problem? How can I get my Tomcat running? I tried a x86 > edition of Java 6, but this also does not work. > > I would be very happy if there would be someone knowing how to solve > this problem... > > Regards, > Markus > > PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no > problem. > > > - > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ** > ** This e-mail and the information it contains may be > privileged and/or confidential. It is for the intended addressee(s) > only. > The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. > If you are not an intended recipient, please contact the sender and delete the material from your computer. > ** > ** > > > > - > To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, > e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Windows Server 2003 R2
Thank u very much for ur reply Now home page is working -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 5:27 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 Yes, But either you add the 1.4 compliance package or use the java 1.5. /Per Jonsson -Original Message- From: Sabitha Divakaran [mailto:[EMAIL PROTECTED] Sent: den 26 mars 2007 12:19 To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 My java version is j2sdk1.4.1_03 and tomcat is 5.5 Is the tomcat 5.5 is not supporting the java 1.4 I mean more latest java version is required for tomcat 5.5 -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:02 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mailto:[EMAIL PROTECTED] Sent: den 25 mars 2007 20:00 To: users@tomcat.apache.org Subject: Tomcat on Windows Server 2003 R2 Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat on Windows Server 2003 R2
No, these environment variables are not needed unless you take the zip file distribution of Tomcat 6 and try to run it in a command window. The standard distribution uses a service, and the service requires the C run time support package, ie., msvcr71.dll, but the distribution is not including it. A simple test on a machine with a working Tomcat 6 service can reproduce the poster's original error messages. Just stop the service, find msvcr71.dll in the windows SYSTEM32 directory and rename it temporarily. (Assuming nothing else is using it.) Then start the service. The service will not start, and the jakarta_service log file will show the poster's error messages. Then restore the msvcr71.dll to the correct name and start the service again. This time it will work. If you are running the zip file distribution in a command window, you are not running the windows service. In that case, your environment variables are important. Layton Per Johnsson wrote: There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mailto:[EMAIL PROTECTED] Sent: den 25 mars 2007 20:00 To: users@tomcat.apache.org Subject: Tomcat on Windows Server 2003 R2 Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Windows Server 2003 R2
Yes, But either you add the 1.4 compliance package or use the java 1.5. /Per Jonsson -Original Message- From: Sabitha Divakaran [mailto:[EMAIL PROTECTED] Sent: den 26 mars 2007 12:19 To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 My java version is j2sdk1.4.1_03 and tomcat is 5.5 Is the tomcat 5.5 is not supporting the java 1.4 I mean more latest java version is required for tomcat 5.5 -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:02 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mailto:[EMAIL PROTECTED] Sent: den 25 mars 2007 20:00 To: users@tomcat.apache.org Subject: Tomcat on Windows Server 2003 R2 Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Windows Server 2003 R2
My java version is j2sdk1.4.1_03 and tomcat is 5.5 Is the tomcat 5.5 is not supporting the java 1.4 I mean more latest java version is required for tomcat 5.5 -Original Message- From: Per Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, March 26, 2007 3:02 PM To: Tomcat Users List Subject: RE: Tomcat on Windows Server 2003 R2 There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mailto:[EMAIL PROTECTED] Sent: den 25 mars 2007 20:00 To: users@tomcat.apache.org Subject: Tomcat on Windows Server 2003 R2 Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat on Windows Server 2003 R2
There is a known "bug" or missfeature in the java installer. Add in the system env JAVA_HOME=yourjrepath and ";%JAVA_HOME%/bin in the end of PATH variable. I hade the same problem with the java6 and tomcat but the abve solved it. /per jonsson -Original Message- From: Markus Franz [mailto:[EMAIL PROTECTED] Sent: den 25 mars 2007 20:00 To: users@tomcat.apache.org Subject: Tomcat on Windows Server 2003 R2 Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail and the information it contains may be privileged and/or confidential. It is for the intended addressee(s) only. The unauthorised use, disclosure or copying of this e-mail, or any information it contains, is prohibited. If you are not an intended recipient, please contact the sender and delete the material from your computer. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat on Windows Server 2003 R2
I had this error in Win2k. Tomcat 6 needed msvcr71.dll in the Windows SYSTEM32 directory. I copied it in from a WinXP box. It fixed the problem. I found the answer in a Sun Developer Network Forum. Layton Markus Franz wrote: Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat on Windows Server 2003 R2
Hi! I am running Microsoft Windows Server 2003 R2 Standard x64 Edition with JDK 6 (also x64 edition. My problem: I successfully installed Tomcat 6 (with the Windows Service installer). But everytime I try to start the service, it terminates without notice. The jakarta log contains the following line (all in one line) for every tried startup: [2007-03-25 17:45:50] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0\jre\bin\server\jvm.dll [2007-03-25 17:45:50] [1202 prunsrv.c] [error] ServiceStart returned 1 [2007-03-25 17:45:50] [info] Run service finished. [2007-03-25 17:45:50] [info] Procrun finished. (The stderr and stdout logs are empty.) What is the problem? How can I get my Tomcat running? I tried a x86 edition of Java 6, but this also does not work. I would be very happy if there would be someone knowing how to solve this problem... Regards, Markus PS: I tried Java 6 and Tomcat 6 on a Windows 2000 Machine, there's no problem. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]