Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
I went to service and right clicked Apache Tomcat 6.Then on the general tab of the dialog box Path to Executable was pointing to a wrong location.It was C:\Program Files\Apache Software Foundation\tomcat6.exe //RS//Tomcat6.I tried to edit it But it was not possible so I went to Windows registry and under services I selected tomcat6 it displayed some values But it contained a path (well it was just instinct)named imagePath, I modified it to point to the correct location(C:\apache-tomcat-6.0.20\bin\tomcat6.exe).Now the Path to Executable in services points to the right location .But when tried to start the service through services Apache Tomcat 6 a message box comes up, it says that 1 Windows was unable to start the service, 2 go to Event Viewer, 3 refer service specific error code 0. In the Event Viewer the Error Properties contained Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7024 Date:24/07/2009 Time:10:49:45 User:N/A Computer:VARUNA Description: The Apache Tomcat 6 service terminated with service-specific error 0 (0x0). For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. I went to the location refereed in the Error Properties by clicking the error property boxe's description section for more infoormation and it is Details *Product:* Windows Operating System *ID:* 7024 *Source:* Service Control Manager *Version:* 5.2 *Symbolic Name:* EVENT_SERVICE_EXIT_FAILED_SPECIFIC *Message:* The %1 service terminated with service-specific error %2. Explanation The specified service stopped unexpectedly with the error indicated in the message. Windows does not recognize the service's error code. User Action To display the service-specific error code in the Service_Exit_Code field, at the command line, type *sc query* *service name* The information displayed might help you troubleshoot why the error occurred. *Version:* 5.0 *Component:* System Event Log *Symbolic Name:* EVENT_SERVICE_EXIT_FAILED_SPECIFIC *Message:* The %1 service terminated with service-specific error %2. Explanation The specified service stopped unexpectedly with the error indicated in the message. Windows does not recognize the service's error code. User Action To display the service-specific error code in the Service_Exit_Code field, at the command line, type *sc query* *service name* The information displayed might help you troubleshoot why the error occurred. As instructed in the above I opened a console window and typed sc query Tomcat6 the result is C:\sc query Tomcat6 SERVICE_NAME: Tomcat6 TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED (NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN) WIN32_EXIT_CODE: 1066 (0x42a) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 The SERVICE_EXIT_CODE is 0 (0x0) what does that mean is left to find out.I am working on it André Warnier wrote: Probably because then, you started Tomcat using the startup.bat command file, and not the parameters contained in the Registry. It is certainly logical, but you would have to examine startup.bat to find the exact reason. Do that as an exercise, it may help. I checked startup.bat it does not contain JAVA_HOME But it does contain %CATALINA_HOME%, I am not aware how .bat file scripts work well as you said I will explore how and what this means Anyway, now seems the appropriate time to see what our friend the tomcat6w.exe program has to say. Remember, this is the GUI program that allows you to examine (and change) the Registry parameters that are used by tomcat6.exe when it tries to run the JVM and Tomcat. Look at the various tabs there, and try to find something which does not fit. We cannot really help you there, because of course this is only on your syst For example, on my Windows XP station, I have this under the Java tab : Java Virtual Machine : C:\Java6jre\bin\client\jvm.dll Java classpath : C:\Tomcat5.5\bin\bootstrap.jar etc.. all of these paths should be correct of course. What do yours look like ? In my tomcat6.exe in the Java tab there was no Java Classpath I pointed it to C:\apache-tomcat-6.0.20\bin\bootstrap.jar and Java Virtual Machine is C:\Program Files\Java\jre6\bin\client\jvm.dll In the startup and shutdown tabs the working path just as was Path to Excecutable pointing to a location false location, I changed it and now Working Path is C:\apache-tomcat-6.0.20 In the General tab Path to Excecutable was wrong and as described above I corrected it and now it is C:\apache-tomcat-6.0.20\bin\tomcat6.exe \\RS\\Tomcat6 Thanks Varuna 2009/7/23 André Warnier a...@ice-sa.com Good, we are making progress ! Varuna Seneviratna wrote: Andre: I edited the service.bat, only part that had to be added was echo Using
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Pleaase take a look at the Error log I have attached and the link http://forums.sun.com/thread.jspa?threadID=5372855 In the tab box that pops up when tomcat6w.exe is double clicked, I have (it was not there initially) specified Java Classpath as C:\apache-tomcat-6.0.20\bin\bootstrap.jar, if so why does the log file at C:\apache-tomcat-6.0.20\logs\jakarta_service_20090724.log have an entry saying Failed loading main class C:\apache-tomcat-6.0.20\bin\bootstrap.jar In my Apache Tomcat 6 properties tab box in the Startup tab the entry class and image has no entries what should they be Varuna 2009/7/24 Varuna Seneviratna varunasenevira...@gmail.com I went to service and right clicked Apache Tomcat 6.Then on the general tab of the dialog box Path to Executable was pointing to a wrong location.It was C:\Program Files\Apache Software Foundation\tomcat6.exe //RS//Tomcat6.I tried to edit it But it was not possible so I went to Windows registry and under services I selected tomcat6 it displayed some values But it contained a path (well it was just instinct)named imagePath, I modified it to point to the correct location(C:\apache-tomcat-6.0.20\bin\tomcat6.exe).Now the Path to Executable in services points to the right location .But when tried to start the service through services Apache Tomcat 6 a message box comes up, it says that 1 Windows was unable to start the service, 2 go to Event Viewer, 3 refer service specific error code 0. In the Event Viewer the Error Properties contained Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7024 Date:24/07/2009 Time:10:49:45 User:N/A Computer:VARUNA Description: The Apache Tomcat 6 service terminated with service-specific error 0 (0x0). For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. I went to the location refereed in the Error Properties by clicking the error property boxe's description section for more infoormation and it is Details *Product:* Windows Operating System *ID:* 7024 *Source:* Service Control Manager *Version:* 5.2 *Symbolic Name:* EVENT_SERVICE_EXIT_FAILED_SPECIFIC *Message:* The %1 service terminated with service-specific error %2. Explanation The specified service stopped unexpectedly with the error indicated in the message. Windows does not recognize the service's error code. User Action To display the service-specific error code in the Service_Exit_Code field, at the command line, type *sc query* *service name* The information displayed might help you troubleshoot why the error occurred. *Version:* 5.0 *Component:* System Event Log *Symbolic Name:* EVENT_SERVICE_EXIT_FAILED_SPECIFIC *Message:* The %1 service terminated with service-specific error %2. Explanation The specified service stopped unexpectedly with the error indicated in the message. Windows does not recognize the service's error code. User Action To display the service-specific error code in the Service_Exit_Code field, at the command line, type *sc query* *service name* The information displayed might help you troubleshoot why the error occurred. As instructed in the above I opened a console window and typed sc query Tomcat6 the result is C:\sc query Tomcat6 SERVICE_NAME: Tomcat6 TYPE : 10 WIN32_OWN_PROCESS STATE : 1 STOPPED (NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN) WIN32_EXIT_CODE: 1066 (0x42a) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0 The SERVICE_EXIT_CODE is 0 (0x0) what does that mean is left to find out.I am working on it André Warnier wrote: Probably because then, you started Tomcat using the startup.bat command file, and not the parameters contained in the Registry. It is certainly logical, but you would have to examine startup.bat to find the exact reason. Do that as an exercise, it may help. I checked startup.bat it does not contain JAVA_HOME But it does contain %CATALINA_HOME%, I am not aware how .bat file scripts work well as you said I will explore how and what this means Anyway, now seems the appropriate time to see what our friend the tomcat6w.exe program has to say. Remember, this is the GUI program that allows you to examine (and change) the Registry parameters that are used by tomcat6.exe when it tries to run the JVM and Tomcat. Look at the various tabs there, and try to find something which does not fit. We cannot really help you there, because of course this is only on your syst For example, on my Windows XP station, I have this under the Java tab : Java Virtual Machine : C:\Java6jre\bin\client\jvm.dll Java classpath : C:\Tomcat5.5\bin\bootstrap.jar etc.. all of these paths should be correct of course. What do yours look
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna Seneviratna wrote: ... You're no having much luck, are you ? Think of it this way though : you are learning a lot. C:\apache-tomcat-6.0.20 In the General tab Path to Excecutable was wrong and as described above I corrected it and now it is C:\apache-tomcat-6.0.20\bin\tomcat6.exe \\RS\\Tomcat6 I am not sure, but I think the above is wrong. The last part should be //RS//Tomcat6, not \\RS\\Tomcat6. This is not a Windows path, it is the parameters to tomcat6.exe. Try it and see if your error disappears. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna, at this point, (now that you have a correct Windows JAVA_HOME system environment variable set) it may be a good idea to de-install the service and start over. Run service.bat remove, and then re-run service.bat install. That will give us again a cleaner starting point for the registry etc.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Interesting that your subject line says J2SE 5 JRE, when the registered JVM is a JDK 6... Well it's an error I have made it' s got to be without J2SE 5 JRE. When the installation failed , I thought whether it's because I am using Java SE 6, since tomcat documentation says to use an J2SE 5 (Installationhttp://tomcat.apache.org/tomcat-6.0-doc/appdev/installation.html ) No, your previous posting showed Failed setting process executable - which is tomcat6.exe That was when I tried to run tomcat6.exe service runner not when installing.When installing using Windows Service Installer the installation progress dialog box always stopped when it depicted using jvm:C:\Program Files\Java\jdk 1.6_14\jre\bin\client\jvm.dll OR C:\Program Files\Java\jdk1.6.0_14\jre\bin\client 1) Verify that the above .dll location does exist and is accessible to the Local System account. jvm.dll do exist, How to verify jvm.dll is accessible to the Local System Account?.I am logged on a administrator account is that what you want to check? 2) Verify that the above JVM does work by entering the following at a command prompt (quotes required):C:\Program Files\Java\jdk1.6.0_14\bin\java -server -version The result C:\C:\Program Files\Java\jdk1.6.0_14\bin\java -server -version java version 1.6.0_14 Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode) 3) Verify that the Local System account has access to the Tomcat installation directory. How do I verify that? 4) Double check that there is no Tomcat service of any kind under any name already installed. I checked about ten times now 5) If you can find another Windows machine that has not been under the influence of Kaspersky, try a Tomcat installation there. Bad Luck, not possible. Thanks For your Help Varuna 2009/7/23 Caldarale, Charles R chuck.caldar...@unisys.com From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll *As always the service installation stops when using the JVM No, your previous posting showed Failed setting process executable - which is tomcat6.exe. Interesting that your subject line says J2SE 5 JRE, when the registered JVM is a JDK 6... I don't think there's any attempt during *installation* of the service to use the JVM. However, the installer might well be verifying that the registered JVM exists and is accessible - along with a myriad of other things. 1) Verify that the above .dll location does exist and is accessible to the Local System account. 2) Verify that the above JVM does work by entering the following at a command prompt (quotes required): C:\Program Files\Java\jdk1.6.0_14\bin\java -server -version 3) Verify that the Local System account has access to the Tomcat installation directory. 4) Double check that there is no Tomcat service of any kind under any name already installed. 5) If you can find another Windows machine that has not been under the influence of Kaspersky, try a Tomcat installation there. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments from all computers. -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna Seneviratna wrote: ... Well I did as you have instructed me 1. *Stopped the Anti virus * 2. *Downloaded apache-tomcat-6.0.20.zip (core)* 3. *Unzipped it to the directory apache-tomcat-6.0.20* 4. *Opened a console window* 5. *Went to the directory c:\apache-tomcat-6.0.20\bin* 6. *typed the command startup.bat, it started tomcat below is what appeared on the console window* C:\apache-tomcat-6.0.20\binstartup.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 7* Then typed shutdown.bat, it did stop tomcat* C:\apache-tomcat-6.0.20\binshutdown.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 *8 Issued the command service.bat install, the display in the console window was* C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Failed installing 'Tomcat6' service *As always the service installation stops when using the JVM Excellent. ;-) It may seem to you that you have not made any progress. But you would be wrong, because there is a lot of progress : - now /we/ know exactly what you are doing - now /you/ have the possibility to see at exactly which point this message appears, and maybe it's cause. - and we may be all be able to do something about it. That is progress. Edit the script service.bat. You will see the point at which it displays the messages above (ending in Using JVM: Right after that, in my version, is a line that goes like : %EXECUTABLE% //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop (all in one line) Since we're not totally sure what this %EXECUTABLE% is, let's add a line to the script, just after echo Using JVM: %PR_JVM% echo Using executable: %EXECUTABLE% and re-run the script. (It will break at the same point, most probably, but with Windows one never really knows, does one ?). Also, do what Chuck recommended, and make sure the Java-related paths really point to a working JVM. It is unlikely, but always possible, that the service.bat script gets confused, and points to something invalid. I see such a possibility for example, if the environment variable JAVA_HOME is set to an incorrect path, before calling the script. Then next, try to run the above long command yourself, directly in the command window. There may be some Windows message which we are otherwise missing. (replace %EXECUTABLE% by tomcat6.exe and %SERVICE_NAME% by Tomcat6) And you may also find interesting messages in your Windows Event Logs (right-click on My Computer...Manage...Event Logs) You can also try to call up the command tomcat6w.exe directly, to see if it comes up with anything interesting. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Andre: I edited the service.bat, only part that had to be added was echo Using %EXECUTABLE%: C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Using C:\apache-tomcat-6.0.20\bin\tomcat6.exe: C:\apache-tomcat-6.0.20\bin\tom cat6.exe //IS//Tomcat6 --StartClass org.apache.catalina.startup.Bootstrap --Sto pClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams st op The service 'Tomcat6' has been installed. I copied and pasted the path to the JAVA_HOME may be that's what made the difference this time.But if JAVA_HOME was pointed to the wrong path how could it be started in a non service mode.Now apache tomcat6 is in the services list But can not be started.When tried to start the message is Error 3: The system can not find the path specified.The Using JVM earlier was C:\Program Files\Java\jdk1.6.0_14\jre\bin\client\jvm.dll and now it has become jre\bin\server\jvm.dll.In both these locations there is a jvm.dll In the Event Viewer under system the message was Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7000 Date:23/07/2009 Time:16:52:44 User:N/A Computer:VARUNA Description: The Apache Tomcat 6 service failed to start due to the following error: The system cannot find the path specified. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. When given the long command C:\apache-tomcat-6.0.20\bintomcat6.exe //IS//%SERVICE_NAME% --StartClass org. apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootst rap --StartParams start --StopParams stop The above command displayed a message box with a big Red X round shape mark(What do you call it?), titled Application System and it's message was nonAlpha 37 Thanks for your help Varuna 2009/7/23 André Warnier a...@ice-sa.com Varuna Seneviratna wrote: ... Well I did as you have instructed me 1. *Stopped the Anti virus * 2. *Downloaded apache-tomcat-6.0.20.zip (core)* 3. *Unzipped it to the directory apache-tomcat-6.0.20* 4. *Opened a console window* 5. *Went to the directory c:\apache-tomcat-6.0.20\bin* 6. *typed the command startup.bat, it started tomcat below is what appeared on the console window* C:\apache-tomcat-6.0.20\binstartup.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 7* Then typed shutdown.bat, it did stop tomcat* C:\apache-tomcat-6.0.20\binshutdown.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 *8 Issued the command service.bat install, the display in the console window was* C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Failed installing 'Tomcat6' service *As always the service installation stops when using the JVM Excellent. ;-) It may seem to you that you have not made any progress. But you would be wrong, because there is a lot of progress : - now /we/ know exactly what you are doing - now /you/ have the possibility to see at exactly which point this message appears, and maybe it's cause. - and we may be all be able to do something about it. That is progress. Edit the script service.bat. You will see the point at which it displays the messages above (ending in Using JVM: Right after that, in my version, is a line that goes like : %EXECUTABLE% //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop (all in one line) Since we're not totally sure what this %EXECUTABLE% is, let's add a line to the script, just after echo Using JVM: %PR_JVM% echo Using executable: %EXECUTABLE% and re-run the script. (It will break at the same point, most probably, but with Windows one never really knows, does one ?). Also, do what Chuck recommended, and make sure the Java-related paths really point to a working JVM. It is unlikely, but always possible, that the service.bat script gets confused, and points to something invalid. I see such a possibility for example, if the environment variable JAVA_HOME is
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna, just as an aside : Just send your answer to the list, do not include the other addresses. We are all subscribed to the list, so we get these messages anyway. If you also send it to the other addresses, we each get these messages twice. Thanks. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Good, we are making progress ! Varuna Seneviratna wrote: Andre: I edited the service.bat, only part that had to be added was echo Using %EXECUTABLE%: C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Using C:\apache-tomcat-6.0.20\bin\tomcat6.exe: C:\apache-tomcat-6.0.20\bin\tom cat6.exe //IS//Tomcat6 --StartClass org.apache.catalina.startup.Bootstrap --Sto pClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams st op The service 'Tomcat6' has been installed. Ah ! That's good, isn't it ? I copied and pasted the path to the JAVA_HOME may be that's what made the difference this time. Probably. But if JAVA_HOME was pointed to the wrong path how could it be started in a non service mode. Probably because then, you started Tomcat using the startup.bat command file, and not the parameters contained in the Registry. It is certainly logical, but you would have to examine startup.bat to find the exact reason. Do that as an exercise, it may help. Now apache tomcat6 is in the services list But can not be started.When tried to start the message is Error 3: The system can not find the path specified.The Using JVM earlier was C:\Program Files\Java\jdk1.6.0_14\jre\bin\client\jvm.dll and now it has become jre\bin\server\jvm.dll.In both these locations there is a jvm.dll In the Event Viewer under system the message was Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7000 Date:23/07/2009 Time:16:52:44 User:N/A Computer:VARUNA Description: The Apache Tomcat 6 service failed to start due to the following error: The system cannot find the path specified. Ok, so now we have only a path somewhere pointing to the wrong place. But at least we know what the real problem is. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Maybe you should try them ? ;-) When given the long command C:\apache-tomcat-6.0.20\bintomcat6.exe //IS//%SERVICE_NAME% --StartClass org. apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootst rap --StartParams start --StopParams stop The above command displayed a message box with a big Red X round shape mark(What do you call it?), titled Application System and it's message was nonAlpha 37 That is a new one to me, I never saw one of those. Maybe this is still some Kasperski thing ? Anyway, now seems the appropriate time to see what our friend the tomcat6w.exe program has to say. Remember, this is the GUI program that allows you to examine (and change) the Registry parameters that are used by tomcat6.exe when it tries to run the JVM and Tomcat. Look at the various tabs there, and try to find something which does not fit. We cannot really help you there, because of course this is only on your system that the parameters are wrong. On our systems Tomcat starts up fine. ;-) For example, on my Windows XP station, I have this under the Java tab : Java Virtual Machine : C:\Java6jre\bin\client\jvm.dll Java classpath : C:\Tomcat5.5\bin\bootstrap.jar etc.. all of these paths should be correct of course. What do yours look like ? Note: By the way, this tomcat6w.exe program is just a kind of registry editor. The values you see here are the ones that you can also see using the regedit program, and examining the key : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tomcat6 (but it is much safer doing this with tomcat6w.exe) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
I believe there should be a companion program tomcat6w.exe that allows you to see the registry settings used by the service. --David Varuna Seneviratna wrote: Andre: I edited the service.bat, only part that had to be added was echo Using %EXECUTABLE%: C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Using C:\apache-tomcat-6.0.20\bin\tomcat6.exe: C:\apache-tomcat-6.0.20\bin\tom cat6.exe //IS//Tomcat6 --StartClass org.apache.catalina.startup.Bootstrap --Sto pClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams st op The service 'Tomcat6' has been installed. I copied and pasted the path to the JAVA_HOME may be that's what made the difference this time.But if JAVA_HOME was pointed to the wrong path how could it be started in a non service mode.Now apache tomcat6 is in the services list But can not be started.When tried to start the message is Error 3: The system can not find the path specified.The Using JVM earlier was C:\Program Files\Java\jdk1.6.0_14\jre\bin\client\jvm.dll and now it has become jre\bin\server\jvm.dll.In both these locations there is a jvm.dll In the Event Viewer under system the message was Event Type:Error Event Source:Service Control Manager Event Category:None Event ID:7000 Date:23/07/2009 Time:16:52:44 User:N/A Computer:VARUNA Description: The Apache Tomcat 6 service failed to start due to the following error: The system cannot find the path specified. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. When given the long command C:\apache-tomcat-6.0.20\bintomcat6.exe //IS//%SERVICE_NAME% --StartClass org. apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootst rap --StartParams start --StopParams stop The above command displayed a message box with a big Red X round shape mark(What do you call it?), titled Application System and it's message was nonAlpha 37 Thanks for your help Varuna 2009/7/23 André Warnier a...@ice-sa.com Varuna Seneviratna wrote: ... Well I did as you have instructed me 1. *Stopped the Anti virus * 2. *Downloaded apache-tomcat-6.0.20.zip (core)* 3. *Unzipped it to the directory apache-tomcat-6.0.20* 4. *Opened a console window* 5. *Went to the directory c:\apache-tomcat-6.0.20\bin* 6. *typed the command startup.bat, it started tomcat below is what appeared on the console window* C:\apache-tomcat-6.0.20\binstartup.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 7* Then typed shutdown.bat, it did stop tomcat* C:\apache-tomcat-6.0.20\binshutdown.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 *8 Issued the command service.bat install, the display in the console window was* C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Failed installing 'Tomcat6' service *As always the service installation stops when using the JVM Excellent. ;-) It may seem to you that you have not made any progress. But you would be wrong, because there is a lot of progress : - now /we/ know exactly what you are doing - now /you/ have the possibility to see at exactly which point this message appears, and maybe it's cause. - and we may be all be able to do something about it. That is progress. Edit the script service.bat. You will see the point at which it displays the messages above (ending in Using JVM: Right after that, in my version, is a line that goes like : %EXECUTABLE% //IS//%SERVICE_NAME% --StartClass org.apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootstrap --StartParams start --StopParams stop (all in one line) Since we're not totally sure what this %EXECUTABLE% is, let's add a line to the script, just after echo Using JVM: %PR_JVM% echo Using executable: %EXECUTABLE% and re-run the script. (It will break at the same point, most probably, but with Windows one never really knows, does one ?). Also, do what Chuck recommended, and make sure the Java-related
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
David Smith wrote: I believe there should be a companion program tomcat6w.exe that allows you to see the registry settings used by the service. Your belief is correct, but you're coming a bit late in the day. But I guess geography explains that. ;-) There is also the fact that the subject of this thread has become increasingly inaccurate, and should now be changed from : Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development to Re: Fwd: It IS possible to install apache-tomcat-6.0.20 with a jdk1.6.0_14 .. but not yet to run it as a Windows Service. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
When given the long command C:\apache-tomcat-6.0.20\bintomcat6.exe //IS//%SERVICE_NAME% --StartClass org. apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootst rap --StartParams start --StopParams stop The above command displayed a message box with a big Red X round shape mark(What do you call it?), titled Application System and it's message was nonAlpha 37 That is a new one to me, I never saw one of those. I think that SERVICE_NAME variable was not defined, and you cannot use %SERVICE_NAME% (literally) as a service name. The name must be alphanumeric, no spaces etc., and % ((char)37) is not a valid character here. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
I wouldn't say I'm late ... just watching the thread til now, offering up my thoughts where they are relevant. --David André Warnier wrote: David Smith wrote: I believe there should be a companion program tomcat6w.exe that allows you to see the registry settings used by the service. Your belief is correct, but you're coming a bit late in the day. But I guess geography explains that. ;-) There is also the fact that the subject of this thread has become increasingly inaccurate, and should now be changed from : Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development to Re: Fwd: It IS possible to install apache-tomcat-6.0.20 with a jdk1.6.0_14 .. but not yet to run it as a Windows Service. - 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
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Konstantin Kolinko wrote: When given the long command C:\apache-tomcat-6.0.20\bintomcat6.exe //IS//%SERVICE_NAME% --StartClass org. apache.catalina.startup.Bootstrap --StopClass org.apache.catalina.startup.Bootst rap --StartParams start --StopParams stop The above command displayed a message box with a big Red X round shape mark(What do you call it?), titled Application System and it's message was nonAlpha 37 That is a new one to me, I never saw one of those. I think that SERVICE_NAME variable was not defined, and you cannot use %SERVICE_NAME% (literally) as a service name. The name must be alphanumeric, no spaces etc., and % ((char)37) is not a valid character here. Of course ! I missed that. Thanks, Konstantin. Varuna, To start the Tomcat Service, from a command window, you should be able to run this command : C:\apache-tomcat-6.0.20\bin\tomcat6.exe //RS//Tomcat6 This same command should be what you see in the tomcat6w GUI, in the General tab, under Path to executable. If it does not look like that, then we have made a mistake earlier and need to correct it. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
On 22/7/09 04:37, Varuna Seneviratna wrote: Please read the whole story behind and reply without bulling.I am trying to figure out what is the cause for not being able to install Tomcat as a service when JRun can be .My guess was is Kaspersky blocking Tomcat setup since Kaspersky prompted for user's approval after clicking Retry several times, that too was only for a single step as depicted in the installation progress bar.I stopped Kaspersky and tried to install But that too was failed. Thanks for your Help! Are multiple explanation marks in the README.please-don't? p Varuna 2009/7/22 André Warniera...@ice-sa.com Varuna Seneviratna wrote: ... Can it be because of Kaspersky setting that I am unable to install Tomcat service? Let me paraphrase this : During the Tomcat installation, I repeatedly hit my head to the desk. Can this be the reason that I have a headache ? Come on, as they say in Minnesota... :-) - 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
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Are multiple explanation marks in the README.please-don't? I don't understand can you please explain Varuna 2009/7/22 Pid p...@pidster.com On 22/7/09 04:37, Varuna Seneviratna wrote: Please read the whole story behind and reply without bulling.I am trying to figure out what is the cause for not being able to install Tomcat as a service when JRun can be .My guess was is Kaspersky blocking Tomcat setup since Kaspersky prompted for user's approval after clicking Retry several times, that too was only for a single step as depicted in the installation progress bar.I stopped Kaspersky and tried to install But that too was failed. Thanks for your Help! Are multiple explanation marks in the README.please-don't? p Varuna 2009/7/22 André Warniera...@ice-sa.com Varuna Seneviratna wrote: ... Can it be because of Kaspersky setting that I am unable to install Tomcat service? Let me paraphrase this : During the Tomcat installation, I repeatedly hit my head to the desk. Can this be the reason that I have a headache ? Come on, as they say in Minnesota... :-) - 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 -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna, I am not trying to bully you or anything of the kind. I have been watching this thread as a spectator, and I was just trying to convey to you the following : There are people here trying to help you, for free. To be able to do that, they need, at least : - that you provide all relevant information - that when they ask a question, you answer the question This anti-virus thing was valuable information, and it may be at the bottom of your problems. But it took about 10 posts before you mentioned these messages, thus leading several would-be helpers into probably bad directions. Similarly, it looks a bit like every item of information has to be pulled out of you bit by bit. In other words, much of your pain looks self-inflicted. That was the sense of my comment. Which, I admit, was made in a rather sarcastic way, for which I apologise if it shocked you. Now, to redeem myself, here are my suggestions : - turn off any anti-virus or similar software that might be running - de-install whatever Tomcat software you have installed, using the installer/deinstaller package - verify that you do not have any remainders anywhere of these installations (in the Windows Services display, in the disk directory where you installed Tomcat, and in the Start.. Settings.. System ..Software dialog). When everything is clean : - download the zip version of Tomcat for Windows, from the Tomcat website. - unzip it in a directory. I suggest a sensible directory name, without spaces in the name, like c:\tomcat6. This is now your CATALINA_HOME directory (and also, by default, your CATALINA_BASE directory). Remember this, it is important. - in the directory CATALINA_HOME/bin, you will then find a script called startup.bat. Open a command window, navigate to that directory, and run that script. This should start Tomcat, interactively, in that command window. This is only to verify that nothing else is wrong on your system to run Tomcat (like available ports, etc..). - you should now be able to access Tomcat with a browser, at http://localhost:8080; - to stop Tomcat, type CTRL-C in the command window. Once you have done the above, then you can try to install Tomcat as a service. For that, run the script CATALINA_HOME/bin/service.bat install (you can also edit this script, to see what it is doing) When you have run this script, you will have essentially done the same as what the exe installer package for Tomcat is doing. But you will have much more control and understanding of what is going on, and where things may get stuck. You should now be able to start and stop Tomcat using the commands net start tomcat6 net stop tomcat6 (the name tomcat6 above to be replaced by the correct Windows Service name for Tomcat) or by using My Computer..Manage..Services and Applications) If you want, you can then remove the Tomcat service again, by running service.bat remove, and try again to install the whole thing from the exe installer version. Additional information, harder to find in the on-line documentation : - the tomcat6.exe program that comes with the Windows version of Tomcat, is a Windows Service wrapper for Tomcat. It is there because the JVM, on its own, does not handle very well the requirements of Windows Services. So, when later you run Tomcat, you are really running tomcat6.exe, which in turn starts the JVM, which in turn runs Tomcat. This tomcat6.exe wrapper, in order to know which JVM to use with which parameters, takes these parameters from the Windows Registry. How do they get there ? that is the next section. - There is another program in the CATALINA_HOME/bin directory, named tomcat6w.exe (the same name as before, with a w at the end). The tomcat6w.exe is a GUI setup program, whose role is to set up the appropriate parameters in the Windows Registry, so that tomcat6.exe can later find them. You can run tomcat6w.exe by clicking on it, and you will get a window that shows you how to proceed. Basically, the service.bat script, invokes this tomcat6w.exe in command-line mode, and tells it what to do. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
André Warnier wrote: ... Now, to redeem myself, here are my suggestions : - turn off any anti-virus or similar software that might be running - de-install whatever Tomcat software you have installed, using the installer/deinstaller package - verify that you do not have any remainders anywhere of these installations (in the Windows Services display, in the disk directory where you installed Tomcat, and in the Start.. Settings.. System ..Software dialog). When everything is clean : - download the zip version of Tomcat for Windows, from the Tomcat website. - unzip it in a directory. I suggest a sensible directory name, without spaces in the name, like c:\tomcat6. This is now your CATALINA_HOME directory (and also, by default, your CATALINA_BASE directory). Remember this, it is important. - in the directory CATALINA_HOME/bin, you will then find a script called startup.bat. Open a command window, navigate to that directory, and run that script. This should start Tomcat, interactively, in that command window. This is only to verify that nothing else is wrong on your system to run Tomcat (like available ports, etc..). - you should now be able to access Tomcat with a browser, at http://localhost:8080; - to stop Tomcat, type CTRL-C in the command window. Once you have done the above, then you can try to install Tomcat as a service. For that, run the script CATALINA_HOME/bin/service.bat install (you can also edit this script, to see what it is doing) When you have run this script, you will have essentially done the same as what the exe installer package for Tomcat is doing. But you will have much more control and understanding of what is going on, and where things may get stuck. You should now be able to start and stop Tomcat using the commands net start tomcat6 net stop tomcat6 (the name tomcat6 above to be replaced by the correct Windows Service name for Tomcat) or by using My Computer..Manage..Services and Applications) If you want, you can then remove the Tomcat service again, by running service.bat remove, and try again to install the whole thing from the exe installer version. Additional information, harder to find in the on-line documentation : - the tomcat6.exe program that comes with the Windows version of Tomcat, is a Windows Service wrapper for Tomcat. It is there because the JVM, on its own, does not handle very well the requirements of Windows Services. So, when later you run Tomcat, you are really running tomcat6.exe, which in turn starts the JVM, which in turn runs Tomcat. This tomcat6.exe wrapper, in order to know which JVM to use with which parameters, takes these parameters from the Windows Registry. How do they get there ? that is the next section. - There is another program in the CATALINA_HOME/bin directory, named tomcat6w.exe (the same name as before, with a w at the end). The tomcat6w.exe is a GUI setup program, whose role is to set up the appropriate parameters in the Windows Registry, so that tomcat6.exe can later find them. You can run tomcat6w.exe by clicking on it, and you will get a window that shows you how to proceed. Basically, the service.bat script, invokes this tomcat6w.exe in command-line mode, and tells it what to do. And that, friends, is the best quick start summary for setting up tomcat I've ever seen. It took me weeks to put together in my mind all the pieces that Andre' just presented to you on a platter!! How about putting it into the docs or some other very visible location... D - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
David kerber wrote: And that, friends, is the best quick start summary for setting up tomcat I've ever seen. It took me weeks to put together in my mind all the pieces that Andre' just presented to you on a platter!! How about putting it into the docs or some other very visible location... Patches to the docs are always welcome. There is also the wiki that anyone can edit. Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Andre, I am sorry if I got your remark from the wrong end and apologies if it did heart you.I posted things on to the list as they unfolded.This anti virus issue did not happen until a moment ago I made the post.From the beginning of this issue I have not kept back any information that was relevant to the issue and I thought relevant. Well I did as you have instructed me 1. *Stopped the Anti virus * 2. *Downloaded apache-tomcat-6.0.20.zip (core)* 3. *Unzipped it to the directory apache-tomcat-6.0.20* 4. *Opened a console window* 5. *Went to the directory c:\apache-tomcat-6.0.20\bin* 6. *typed the command startup.bat, it started tomcat below is what appeared on the console window* C:\apache-tomcat-6.0.20\binstartup.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 7* Then typed shutdown.bat, it did stop tomcat* C:\apache-tomcat-6.0.20\binshutdown.bat Using CATALINA_BASE: C:\apache-tomcat-6.0.20 Using CATALINA_HOME: C:\apache-tomcat-6.0.20 Using CATALINA_TMPDIR: C:\apache-tomcat-6.0.20\temp Using JRE_HOME:C:\Program Files\Java\jdk1.6.0_14 *8 Issued the command service.bat install, the display in the console window was* C:\apache-tomcat-6.0.20\binservice.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME:C:\apache-tomcat-6.0.20 Using CATALINA_BASE:C:\apache-tomcat-6.0.20 Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll Failed installing 'Tomcat6' service *As always the service installation stops when using the JVM *Varuna* *2009/7/22 André Warnier a...@ice-sa.com Varuna, I am not trying to bully you or anything of the kind. I have been watching this thread as a spectator, and I was just trying to convey to you the following : There are people here trying to help you, for free. To be able to do that, they need, at least : - that you provide all relevant information - that when they ask a question, you answer the question This anti-virus thing was valuable information, and it may be at the bottom of your problems. But it took about 10 posts before you mentioned these messages, thus leading several would-be helpers into probably bad directions. Similarly, it looks a bit like every item of information has to be pulled out of you bit by bit. In other words, much of your pain looks self-inflicted. That was the sense of my comment. Which, I admit, was made in a rather sarcastic way, for which I apologise if it shocked you. Now, to redeem myself, here are my suggestions : - turn off any anti-virus or similar software that might be running - de-install whatever Tomcat software you have installed, using the installer/deinstaller package - verify that you do not have any remainders anywhere of these installations (in the Windows Services display, in the disk directory where you installed Tomcat, and in the Start.. Settings.. System ..Software dialog). When everything is clean : - download the zip version of Tomcat for Windows, from the Tomcat website. - unzip it in a directory. I suggest a sensible directory name, without spaces in the name, like c:\tomcat6. This is now your CATALINA_HOME directory (and also, by default, your CATALINA_BASE directory). Remember this, it is important. - in the directory CATALINA_HOME/bin, you will then find a script called startup.bat. Open a command window, navigate to that directory, and run that script. This should start Tomcat, interactively, in that command window. This is only to verify that nothing else is wrong on your system to run Tomcat (like available ports, etc..). - you should now be able to access Tomcat with a browser, at http://localhost:8080; - to stop Tomcat, type CTRL-C in the command window. Once you have done the above, then you can try to install Tomcat as a service. For that, run the script CATALINA_HOME/bin/service.bat install (you can also edit this script, to see what it is doing) When you have run this script, you will have essentially done the same as what the exe installer package for Tomcat is doing. But you will have much more control and understanding of what is going on, and where things may get stuck. You should now be able to start and stop Tomcat using the commands net start tomcat6 net stop tomcat6 (the name tomcat6 above to be replaced by the correct Windows Service name for Tomcat) or by using My Computer..Manage..Services and Applications) If you want, you can then remove the Tomcat service again, by running service.bat remove, and try again to install the whole thing from the exe installer version. Additional information, harder to find in the on-line documentation : - the tomcat6.exe program that comes with the Windows version of Tomcat,
RE: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development Using JAVA_HOME:C:\Program Files\Java\jdk1.6.0_14 Using JVM: C:\Program Files\Java\jdk1.6.0_14\jre\bin\server\jvm.dll *As always the service installation stops when using the JVM No, your previous posting showed Failed setting process executable - which is tomcat6.exe. Interesting that your subject line says J2SE 5 JRE, when the registered JVM is a JDK 6... I don't think there's any attempt during *installation* of the service to use the JVM. However, the installer might well be verifying that the registered JVM exists and is accessible - along with a myriad of other things. 1) Verify that the above .dll location does exist and is accessible to the Local System account. 2) Verify that the above JVM does work by entering the following at a command prompt (quotes required): C:\Program Files\Java\jdk1.6.0_14\bin\java -server -version 3) Verify that the Local System account has access to the Tomcat installation directory. 4) Double check that there is no Tomcat service of any kind under any name already installed. 5) If you can find another Windows machine that has not been under the influence of Kaspersky, try a Tomcat installation there. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments from all computers.
Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
The set up dialog box that pops up saying unable to proceed has has 3 buttons, the first is Abort second Retry, third Ignore.When I keep on clicking Retry for several times the setup goes a step forward and the Kaspersky icon at the bottom right corner display a message as NS130.TMP placed in low restricted area and again it stops with the dialog box popped up and again I keep on clicking Retry then the setup goes a step forward and Kaspersky again displays a message as before saying that it has placed another .TMP file in the low restricted area.The setup always stops when it displays the message Using jvm:C:/Program Files/Java/jre6/bin/client/jvm.dll. Can it be because of Kaspersky setting that I am unable to install Tomcat service? Varuna -- Forwarded message -- From: Varuna Seneviratna varunasenevira...@gmail.com Date: 2009/7/21 Subject: Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE To: Tomcat Users List users@tomcat.apache.org I installed Tomcat using apache-tomcat-6.0.20.exe But not as a service. First mistake. I did this after trying several times to install Tomcat as a service using the windows service installer. Then from the bin I tried to run tomcat6.exe service runner Second mistake - the tomcat6.exe program is indeed the service runner; it is not the service *installer*. You can manually install the service, but it's a major pain to get all the parameters right. The easiest thing for you to do now is get the .zip download, copy the service.bat script from its bin directory to your Tomcat's bin directory, and run that. If you haven't done anything major with the .exe installation, you could also just throw that away and start over. I new that it was not the service installer But I tried whether it could be used to run Tomcat as a service since all efforts to get it installed as a service has failed Next now I will try the second option Chuck has put forward Thanks Varuna 2009/7/21 Caldarale, Charles R chuck.caldar...@unisys.com From: Varuna Seneviratna [mailto:varunasenevira...@gmail.com] Subject: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE I installed Tomcat using apache-tomcat-6.0.20.exe But not as a service. First mistake. Then from the bin I tried to run tomcat6.exe service runner Second mistake - the tomcat6.exe program is indeed the service runner; it is not the service *installer*. You can manually install the service, but it's a major pain to get all the parameters right. The easiest thing for you to do now is get the .zip download, copy the service.bat script from its bin directory to your Tomcat's bin directory, and run that. If you haven't done anything major with the .exe installation, you could also just throw that away and start over. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL 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 attachments from all computers. -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141 -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141
Re: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
2009/7/21 Varuna Seneviratna varunasenevira...@gmail.com: The set up dialog box that pops up saying unable to proceed has has 3 buttons, the first is Abort second Retry, third Ignore.When I keep on clicking Retry for several times the setup goes a step forward and the Kaspersky icon at the bottom right corner display a message as NS130.TMP placed in low restricted area and again it stops with the dialog box popped up and again I keep on clicking Retry then the setup goes a step forward and Kaspersky again displays a message as before saying that it has placed another .TMP file in the low restricted area.The setup always stops when it displays the message Using jvm:C:/Program Files/Java/jre6/bin/client/jvm.dll. Can it be because of Kaspersky setting that I am unable to install Tomcat service? Yes, that is highly probable. I am also using Kaspersky 2009 (as seems you are using), and it asks me to give permission to this setup application to modify system services (I do not remember exact message, and I do not have a copy of it on the PC that I use at this very moment, so it is all from my memory). I always choose allow and in this session and it goes on, but my Kaspersky was installed to run in interactive mode (ask the user about its decisions), and I do not know about your settings. I do not know, maybe you already clicked the forbid item when you were asked, or maybe it did not ask you at all. In any case, Kaspersky can be temporarily disabled from menu that pops up when you right-click its icon in the tray, or from its configuration dialog. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Varuna Seneviratna wrote: ... Can it be because of Kaspersky setting that I am unable to install Tomcat service? Let me paraphrase this : During the Tomcat installation, I repeatedly hit my head to the desk. Can this be the reason that I have a headache ? Come on, as they say in Minnesota... :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
Please read the whole story behind and reply without bulling.I am trying to figure out what is the cause for not being able to install Tomcat as a service when JRun can be .My guess was is Kaspersky blocking Tomcat setup since Kaspersky prompted for user's approval after clicking Retry several times, that too was only for a single step as depicted in the installation progress bar.I stopped Kaspersky and tried to install But that too was failed. Thanks for your Help! Varuna 2009/7/22 André Warnier a...@ice-sa.com Varuna Seneviratna wrote: ... Can it be because of Kaspersky setting that I am unable to install Tomcat service? Let me paraphrase this : During the Tomcat installation, I repeatedly hit my head to the desk. Can this be the reason that I have a headache ? Come on, as they say in Minnesota... :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141
Re: Fwd: Is it not possible to install apache-tomcat-6.0.20 with a J2SE 5 JRE: A new development
I wonder why you want to install tomcat as a service.In my mind,java is green software,and I always download a .zip or .gz file,and get it run in a specific folder,I think that will help to easy manage things. hope no bother. thanks. 2009/7/22 Varuna Seneviratna varunasenevira...@gmail.com Please read the whole story behind and reply without bulling.I am trying to figure out what is the cause for not being able to install Tomcat as a service when JRun can be .My guess was is Kaspersky blocking Tomcat setup since Kaspersky prompted for user's approval after clicking Retry several times, that too was only for a single step as depicted in the installation progress bar.I stopped Kaspersky and tried to install But that too was failed. Thanks for your Help! Varuna 2009/7/22 André Warnier a...@ice-sa.com Varuna Seneviratna wrote: ... Can it be because of Kaspersky setting that I am unable to install Tomcat service? Let me paraphrase this : During the Tomcat installation, I repeatedly hit my head to the desk. Can this be the reason that I have a headache ? Come on, as they say in Minnesota... :-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- Kind Regards Varuna Varuna Seneviratna No 514 Udumulla Road Battaramulla Sri Lanka Tel : 011-2888620 Mobile:0715617141