RE: Need Help ASAP w. Tomcat install!
Delete the ; from JAVA_HOME. It should read C:\j2sdk1.4.0 minus the ;. Many people have pointed this out previously over the last couple of months. John -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 12:50 AM To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! ** ** -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Need Help ASAP w. Tomcat install!
Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help ASAP w. Tomcat install!
Hi Steve, You set the environment variables in NT by going to the control panel and then selecting System and then Environment. Other Windows environments should work in a similar manner. Once you select the Environment tab you should see a variable input area and value input area. In the variable area enter: CATALINA_HOME in the value area either %TOMCAT_HOME% with the % signs or the actual location of your JDK. On my system I have TOMCAT_HOME set to d:\myinstalls\tomcat. If you don't have TOMCAT_HOME set up as a system variable you should set it up also. I may be wrong, but I don't think some of the prior versions used CATALINA_HOME. Finally, go easy on yourself and don't question your intelligence over this stuff...as near as I can tell there is a lot of voodoo involved...so I reccomend lots of patience and persistence... Best wishes, Mike Steven Burrus wrote: Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Steve, I don't run under Apache as I run Tomcat stand alone. I overrode the installation directory as this has been a long standing issue with Tomcat. Not sure as this is you're problem but it has caused many issues on the list. Lance -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 4:13 PM To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Need Help ASAP w. Tomcat install!
Hi Steve, I'm really a bit perplexed that you are still having issues and continuing to ask the same questions that have been answered for you by many a Tomcat user on this list. I'll make one more attempt here, but you are going to need to hire someone to show you the way if this doesn't do it for you. Note that instructions here will be based on the fact that you are running windows 2000. I think you have NT 4.0, if I am not mistaken, but I don't have that installed anywhere to see exactly how the configuration would be performed. You will have to extrapolate my instructions for Windows 2000 to your own Windows NT 4.0 platform. Shouldn't be that different... 1. do *not* use the installer. Use the plain-jane .zip file to install Tomcat. This makes it so we can have more control over the install process. So, download the following file: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip 2. Unzip that file to C:\ 3. Right click My Computer, click the Advanced tab and click the Environment Variables button. Add a System environment variable, not a User environment variable named CATALINA_HOME. Make sure that the value is exactly C:\jakarta-tomcat-4.1.12. The is *no*, I repeat *no* semicolon in that value. One more time, do *not* add a semicolon!! Do the same thing to create a JAVA_HOME environment variable which points to the base directory of your JDK installation. Mine is C:\j2sdk1.4.1. BTW, do *not* include the quotes in the names or values of your environment variables. 4. Add %JAVA_HOME%/bin; to your system PATH variable. And yes, there *is* a semicolon there. It is only there becaus there are multiple entries for one variable and the semicolon delimits these entries on Windows systems. 5. Add another environment variable called CATALINA_OPTS with the value of something like -server -Xms32m -Xmx128m. That tells Tomcat to start with the server VM and provides some optimization for memory usage. See the JDK docs for -Xms and -Xmx switches if you want more info on that. After setting all these Environment variables, make sure to hi OK in all appropriate places to save this configuration. 6. Restart Windows. 7. Now, open a command window and copy the following to the command line to install the cataIina service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out %CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log use the following to uninstall the service (for when you upgrade to a newer version of Tomcat): %CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina 8. Open up the Services system applet and start the Apache-Catalina service. to know when Tomcat has fully started up, check the $CATALINA_HOME/logs directory for the stdout.log file. It should say the following when Tomcat is fully started: Bootstrap: Create Catalina server Bootstrap: Starting service Starting service Tomcat-Standalone Apache Tomcat/4.1.12 Bootstrap: Service started 9. Browse to http://localhost:8080/examples/ following the links to run sample servlets and jsp's. Everything should work fine. Jake At 10:33 PM 9/28/2002 -0700, you wrote: Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To
RE: Need Help ASAP w. Tomcat install!
I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Need Help ASAP w. Tomcat install!
Hi Steve. Firstly, remove the ; from the JAVA_HOME env variable, it's not needed. Secondly, as previously mentioned, tomcat shouldn't be in a directory that has spaced in the path. I have in the past seen applications install themselves in directories like this, and then fail to run... makes for a more interesting time. Move all the contents of the tomcat folder into another one (eg c:\tomcat ), and then try again. The other option is to download the binary release zip file from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/ jakarta-tomcat-4.1.12.zip and simply unzip it into a directory, rather than using the .exe version, I have had trouble with them in the past and do not recommend them to anyone. It should work straight away. Gary. -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Monday, 30 September 2002 16:50 To: Tomcat Users List Subject: RE: Need Help ASAP w. Tomcat install! I am STILL having or encountering no success whatsoever in getting Tomcat 4.1 up and running!!! Here is the whole error msg., in its' entirety, in DOS when I tried/attempted to activate it: C:\Apache Group\Tomcat 4.1\binstartup The JAVA_HOME environment variable is not defined correct This environment variable is needed to run this program Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: C:\j2sdk1.4.0; The system cannot find the file -Djava.endorsed.dirs=. Now, what specifically is wrong with the particular way in which I have set the JAVA_HOME environment variable anyway?? Can someone help me out?! --- Steven Burrus [EMAIL PROTECTED] wrote: Lance, this is Steve Burrus, and I appreciate your attempt to help me. You say that there should be no spaces in the dir. structure to tomcat, but the tomcat 4.1 installation folder is in the apache group (1 space) folder!! How do I niftily work around this problem anyway?! *** --- Lance Smith [EMAIL PROTECTED] wrote: Steven, Couple of things to try, no spaces in the directory structure to Tomcat. Don't set any env vars except JAVA_HOME which should point to the base directory of you're jdk. Run startup.bat in the bin directory of Tomcat from the command line. Once the command line works then start working on the short cuts to start and stop Tomcat. Lance Smith -Original Message- From: Steven Burrus [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 12:34 AM To: [EMAIL PROTECTED] Subject: Need Help ASAP w. Tomcat install! Hello all, I need some pretty urgent help/assistance with installing tomcat!!! I am trying, specifically, to install the version 4.1.12 of it. I keep on getting a damned error message when I try to start it up in DOS saying that the CATALINA_HOME environment variable is either not properly set OR is just flat missing altogether!!! I still don't know whether to leave in or not the semicolon (;) at the end of each variable in the System applet!! I started out with having it in without any success whatsoever, and then tried leaving it out, still without any success. I am going absolutely crazy in trying to do this thing right, lemme tell u. I beleive that I got Tomcat configured properly, the correct way a long time ago--several months ago. And, that time had to have been due to me just flat lucking out and dumbly stumbling into the right way to get tomcat going. I apologize in advance to anyone in our newsgroup who thinks that they perceive that I have made this same kind of a posting in the past, and probably more than once too. I am really not at all as smart and intelligent as I perceive many others on our group seem to be, I am afraid to say.To whoever responds back to me, I would appreciate it if you could send me all of the environment variables needed to configure Tomcat. Thank you __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do you Yahoo!? New DSL Internet Access from SBC Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL