Re: Windows and Tomcat
I have received partial success. Windows has a bad habit to do things by default or to do things whcihc make no sense. The problem was due to inherritance/ permissions for Windows folder. Unsetting the read-only thing does not work, becasuse windows changes it to read-only by default. The only way one can work around is to change the folder options for XP, in view you have an option to change the security configuration. This will provide you with more granular (user based permissions for folders/files) access. Now you can change options you like. In unix chown and chmod would have solved the problems. Thanks for help!! Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: Tomcat will also need write access rights. When it starts, it changes some of the XML configuration files and tries to create logs as well. You could give your user full control to the tree under your CATALINA_HOME. Since you say that when you set the User to have power user rights it Tomcat seems to run, I would guess that this would fix your problem. Logs of the error might help more but if Tomcat cannot write to the directories, logs will not be able to be created. Not knowing more detail, this would be my guess. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:56 AM To: Tomcat Users List Subject: Re: Windows and Tomcat Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows and Tomcat
Hello :) -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: 09 September 2005 14:18 To: Tomcat Users List Subject: Re: Windows and Tomcat I have received partial success. Windows has a bad habit to do things by default or to do things whcihc make no sense. The problem was due to inherritance/ permissions for Windows folder. Unsetting the read-only thing does not work, becasuse windows changes it to read-only by default. The only way one can work around is to change the folder options for XP, in view you have an option to change the security configuration. This will provide you with more granular (user based permissions for folders/files) access. Now you can change options you like. In unix chown and chmod would have solved the problems. Thanks for help!! Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: Tomcat will also need write access rights. When it starts, it changes some of the XML configuration files and tries to create logs as well. You could give your user full control to the tree under your CATALINA_HOME. Since you say that when you set the User to have power user rights it Tomcat seems to run, I would guess that this would fix your problem. Logs of the error might help more but if Tomcat cannot write to the directories, logs will not be able to be created. Not knowing more detail, this would be my guess. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:56 AM To: Tomcat Users List Subject: Re: Windows and Tomcat Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows and Tomcat
When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Windows and Tomcat
Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows and Tomcat
Tomcat will also need write access rights. When it starts, it changes some of the XML configuration files and tries to create logs as well. You could give your user full control to the tree under your CATALINA_HOME. Since you say that when you set the User to have power user rights it Tomcat seems to run, I would guess that this would fix your problem. Logs of the error might help more but if Tomcat cannot write to the directories, logs will not be able to be created. Not knowing more detail, this would be my guess. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:56 AM To: Tomcat Users List Subject: Re: Windows and Tomcat Robert, Thanks for replying! 1) When I installed it I was in Admin user, and installed it with Service option. In windows services, Apache Tomcat we have an option of starting with USER. The service starts and shows me the owner as the User and even in the Process information from (task Managger) I see User as the process (tomcat) owner. So yes it starts with the USER I started the service with. 2) User priveledges: The user has read+Execute permissions for the webapps folder (changed it also for Aplication folder Tomcat under programs) and restarted many times.Still http://localhost does not come up. (I am using 80, modified server to run on port 80). 3) If I put the USER to Power User Group of XP everything works. please help thanks, Lalit On 9/8/05, Robert Harper [EMAIL PROTECTED] wrote: When you installed Tomcat, you were prompted if you want it to run as a service and if so, what user to use. You should be able to go into your Services app under ControlPannel\Administrative Tools\Services and change the use and password that Tomcat starts with. If you need to, create an account with the rights you want and set the service to start with that account and the password to use. You can also set how Tomcat is to start as well. Robert S. Harper Information Access Technology, Inc. -Original Message- From: Lalit Batra [mailto:[EMAIL PROTECTED] Sent: Thursday, September 08, 2005 10:32 AM To: tomcat-user@jakarta.apache.org Subject: Windows and Tomcat Hi! I am new to the world of Tomcat and have recently installed 5.5.9 on a Windows (2003 and XP) Box. It works fine but only with Users having Administrative/power user privileges. 1) When the service for tomcat is started with USER option, it does not go and read the Webapps. The folder has read+execute, read options set for the normal USER. 2) I have tried the same scenarios on both XP and Server 2003, the result is same. Do we have to configure the tomcat-users.xml and if so then how do we add the access for a normal user on Windows Box. Please help! Thanks, Lalit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Windows Installation - Tomcat Start and Stop in the Start menu
I'm a little new at this, but I downloaded the binaries for 5.5.7 and ran through the setup program which installed Apache Tomcat as a service in Windows. In that case, you stop and start it just as you would any other service. Hope this helps, Darryl Malvey, Ramesh \(GE Consumer Industrial\) [EMAIL PROTECTED] 04/08/2005 07:17 AM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To tomcat-user@jakarta.apache.org cc Subject Windows Installation - Tomcat Start and Stop in the Start menu Hi, I have downloaded Tomcat 5 on my Windows 2000 machine. I see neither Start Tomcat nor Stop Tomcat programs in the start menu. In case I make any changes to my class files that require the restart of the server, how do I do so? Also, where can I see the logs of my application? Using Tomcat 4.1, I could restart Tomcat by selecting Start Tomcat program from the start menu which also used to display the logs of the application.. Thanks, Ramesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Windows Installation - Tomcat Start and Stop in the Start menu
I don't run Tomcat on windows, but the batch files are in the $tomcat_home/bin folder. You can create shortcuts to them if needed. I think they will not work if Tomcat is running as a service. Doug - Original Message - From: Malvey, Ramesh (GE Consumer Industrial) [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Friday, April 08, 2005 7:17 AM Subject: Windows Installation - Tomcat Start and Stop in the Start menu Hi, I have downloaded Tomcat 5 on my Windows 2000 machine. I see neither Start Tomcat nor Stop Tomcat programs in the start menu. In case I make any changes to my class files that require the restart of the server, how do I do so? Also, where can I see the logs of my application? Using Tomcat 4.1, I could restart Tomcat by selecting Start Tomcat program from the start menu which also used to display the logs of the application.. Thanks, Ramesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows Installation - Tomcat Start and Stop in the Start menu
Ramesh, There are 2 ways to download Tomcat for Windows -- a zip file (.zip) and an installation file (.exe). You can do either but use the installation file. It will install Tomcat on your machine and add it to the task bar on the right with a little feather and either a green right arrow (started) or a red dot (stopped). It will also install shortcuts and icons in Start-Programs-Tomcat 5.5. Go into your services list under Control Panel - Administration Tools and you will see the Apache Tomcat service - mine says Apache Tomcat - Apache Tomcat 5.5.7 Server - http://jakarta.apache.org/tomcat/. You can start and stop it like any other service with the Start and Stop buttons provided in Services. You can even do it from the Command prompt -- issue NET START and NET STOP commands (typical Windows service stuff). If you need help with that search the web or look under Windows Help. When you install Tomcat, it will ask you some basic questions to get you up and going. I don't believe it starts the service automatically but if you follow what I have above it will be easy. When I click the Apache Tomcat feather in the task bar area on the right with my left mouse button, I don't get a pop up window to start or stop -- I get a Tomcat Properties dialog box where I need to click the Start or stop button (it is the Services dialog box that pops up). You need to click it with the right mouse button to get a context menu for start, stop, configure, about and exit. The default directory installation is at C:\Program Files\Apache Software Foundation\Tomcat 5.5. Go under the logs directory and you will find the log info. Go under conf directory and will need to look at the files: 1. server.xml 2. context.xml 3. web.xml 4. workers.properties (this is especially needed when you have to integrate Apache Tomcat with the Apache Web Server) For Apache HTTP Server (Web server) I get an icon on the right like Tomcat but I can use my left mouse button to start and stop that service. I am using both on a Windows 2000 Server machine and know through experience how difficult they made it to connect the latest Apache Web Server and Tomcat tools, expecially when you have to use mod_jk (well documented) and mod_proxy (was not documented as well and that is why I had to join this list). Go to this link -- it will help you tremendously: http://www.coreservlets.com/Apache-Tomcat-Tutorial/ Good luck, Sal Magnotta Hi, I have downloaded Tomcat 5 on my Windows 2000 machine. I see neither Start Tomcat nor Stop Tomcat programs in the start menu. In case I make any changes to my class files that require the restart of the server, how do I do so? Also, where can I see the logs of my application? Using Tomcat 4.1, I could restart Tomcat by selecting Start Tomcat program from the start menu which also used to display the logs of the application.. Thanks, Ramesh -Original Message- From: Darryl Wilburn [mailto:[EMAIL PROTECTED] Sent: Friday, April 08, 2005 7:30 AM To: Tomcat Users List Subject: Re: Windows Installation - Tomcat Start and Stop in the Start menu I'm a little new at this, but I downloaded the binaries for 5.5.7 and ran through the setup program which installed Apache Tomcat as a service in Windows. In that case, you stop and start it just as you would any other service. Hope this helps, Darryl Malvey, Ramesh \(GE Consumer Industrial\) [EMAIL PROTECTED] 04/08/2005 07:17 AM Please respond to Tomcat Users List tomcat-user@jakarta.apache.org To tomcat-user@jakarta.apache.org cc Subject Windows Installation - Tomcat Start and Stop in the Start menu Hi, I have downloaded Tomcat 5 on my Windows 2000 machine. I see neither Start Tomcat nor Stop Tomcat programs in the start menu. In case I make any changes to my class files that require the restart of the server, how do I do so? Also, where can I see the logs of my application? Using Tomcat 4.1, I could restart Tomcat by selecting Start Tomcat program from the start menu which also used to display the logs of the application.. Thanks, Ramesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
Hi -- Thank you Jake! The http://jakarta.apache.org/commons/daemon/procrun.html web page did the trick. It describes the registry parameters and changing the 'Java' to the full path of jre.dll will change the JVM. (I had come close -- I was changing it to the path of java.exe, which did not work). I still haven't figured out what the default JVM is, but at least I can change it if I need to. Betty -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 9:19 PM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? How about looking at the service.bat and seeing what it does. Set JAVA_HOME system variable. Make sure to re-install the service any time you change the value of JAVA_HOME (and you will have to open a new command prompt to get the new value or, in some cases, reboot). service.bat remove service.bat install Also see: http://jakarta.apache.org/commons/daemon/procrun.html The doc is a bit dated, but the information for launching the GUI editor for the service is still valid. Jake At 03:46 PM 8/19/2004 -0700, you wrote: I've searched through the registry using regedit far and wide, and I have seen some of the tomcat parameters, both under SOFTWARE and under SERVICES, but none of them refer to a path to the JDK, and there is no entry that says JVM... There is a 'Java' key with Data of 'java'. Could be system PATH be used? My issues were not due to different JDK's, so I will table this for now, but I'm still curious as to how the path is determined. Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:55 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, I guess my original STFA wasn't explicit enough. Figures. Anyways, try http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:49 PM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- That archive discusses JVM options, but what I want to know is, how do I specify the Directory PATH of which java.exe is being used? Thanks Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:36 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
Hi -- That archive discusses JVM options, but what I want to know is, how do I specify the Directory PATH of which java.exe is being used? Thanks Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:36 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
Hi, I guess my original STFA wasn't explicit enough. Figures. Anyways, try http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:49 PM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- That archive discusses JVM options, but what I want to know is, how do I specify the Directory PATH of which java.exe is being used? Thanks Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:36 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
I've searched through the registry using regedit far and wide, and I have seen some of the tomcat parameters, both under SOFTWARE and under SERVICES, but none of them refer to a path to the JDK, and there is no entry that says JVM... There is a 'Java' key with Data of 'java'. Could be system PATH be used? My issues were not due to different JDK's, so I will table this for now, but I'm still curious as to how the path is determined. Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:55 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, I guess my original STFA wasn't explicit enough. Figures. Anyways, try http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:49 PM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- That archive discusses JVM options, but what I want to know is, how do I specify the Directory PATH of which java.exe is being used? Thanks Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:36 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using?
How about looking at the service.bat and seeing what it does. Set JAVA_HOME system variable. Make sure to re-install the service any time you change the value of JAVA_HOME (and you will have to open a new command prompt to get the new value or, in some cases, reboot). service.bat remove service.bat install Also see: http://jakarta.apache.org/commons/daemon/procrun.html The doc is a bit dated, but the information for launching the GUI editor for the service is still valid. Jake At 03:46 PM 8/19/2004 -0700, you wrote: I've searched through the registry using regedit far and wide, and I have seen some of the tomcat parameters, both under SOFTWARE and under SERVICES, but none of them refer to a path to the JDK, and there is no entry that says JVM... There is a 'Java' key with Data of 'java'. Could be system PATH be used? My issues were not due to different JDK's, so I will table this for now, but I'm still curious as to how the path is determined. Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:55 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, I guess my original STFA wasn't explicit enough. Figures. Anyways, try http://marc.theaimsgroup.com/?l=tomcat-userm=104914298630480w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:49 PM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- That archive discusses JVM options, but what I want to know is, how do I specify the Directory PATH of which java.exe is being used? Thanks Betty -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 11:36 AM To: Tomcat Users List Subject: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi, The archives have pointers to registry locations of Tomcat JVM options. For example, http://marc.theaimsgroup.com/?l=tomcat-userm=105232343109162w=2. Yoav Shapira Millennium Research Informatics -Original Message- From: Chang, Betty [mailto:[EMAIL PROTECTED] Sent: Thursday, August 19, 2004 2:31 PM To: Tomcat Users List Subject: Windows 2000 Tomcat 5.0 as Service -- which JDK from what path is it using? Hi -- This is driving me nuts. After I have installed Tomcat 5.0 as a Service, how do I find out what JDK it is using? And, how can I change it? I have NO JAVA_HOME set on the machine. The install-docs say that it uses the registry or JAVA_HOME. I don't see any Path to anything in the registry, and I cannot find it in the config files. There are several JDK's on my machine, and I am having some issues. Thanks Betty This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Windows 2000 Tomcat 5.0 as Service -- which JDK from what
ATTENTION: THIS IS AN AUTOMATED RESPONSE. DO NOT REPLY TO THIS MESSAGE. If you want to end your subscription, please use this link: http://www.nethugs.com/unsubscribe.shtml If you want to subscribe, please use this link: http://www.nethugs.com/whysubscribe.shtml If you need to contact a live person, use this link: http://www.nethugs.com/contactus.shtml Sincerely, NetHugs.com Admin http://www.nethugs.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Windows 2000 Tomcat - Possible Solution
he he he *evil giggling* Windoze sucks. Regards, Adam. Adam Fowler Second year Computer Science undergraduate University of Wales, Aberystwyth Carroll College, WI, USA(2000-2001) web: http://gucciboy.dyndns.org/aff9 e-mail: [EMAIL PROTECTED] "Every new beginning comes from some other beginning's end" -Original Message- From: Kevin Manship [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 22, 2001 6:56 PM To: [EMAIL PROTECTED] Subject: Windows 2000 Tomcat - Possible Solution Until a couple of days ago, I was experiencing problems getting Tomcat 3.2.1 (and even Tomcat 3.3 Milestone 1) working on Windows 2000. Both Tomcat and JDK1.3 installed fine, and tomcat even started up correctly, but when it came around to browsing the server (http://localhost:8080) it would timeout and report a TCP_ERROR After messing around with all sorts of configurations, and basically wasting a lot of time, I decided to re-install of Windows 2000, only this time around I didn't install Service Pack 1. I then installed JDK1.3 and Tomcat 3.2.1 and it work straight away So much for Service Pack 1 fixing bugs in W2K. - Kevin JDV - e-Commerce and Outsourcing Solutions for Financial Services http://www.jdv.com/ Any securities recommendation contained in this document is unsolicited general information only. Do not act on a recommendation without first consulting your investment advisor to determine whether the recommendation is appropriate for your investment objectives, financial situation and particular needs. JDV believes that any information or advice (including any securities recommendation) contained in this document is accurate when issued. However, JDV does not warrant its accuracy or reliability. JDV, its officers, agents and employees exclude all liability whatsoever, in negligence or otherwise, for any loss or damage relating to this document to the full extent permitted by law. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]