You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Steven Burrus <bu...@yahoo.com> on 2002/09/29 07:33:36 UTC
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Need Help ASAP w. Tomcat install!
Posted by Mike Markovich <mi...@attbi.com>.
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: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: Need Help ASAP w. Tomcat install!
Posted by Jacob Kjome <ho...@visi.com>.
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 unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Need Help ASAP w. Tomcat install!
Posted by Steven Burrus <bu...@yahoo.com>.
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\bin>startup
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 <bu...@yahoo.com> 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 <ls...@emergent-netsolutions.com> 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:burrus21@yahoo.com]
> > Sent: Sunday, September 29, 2002 12:34 AM
> > To: tomcat-user@jakarta.apache.org
> > 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:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> >
>
>
> __________________________________________________
> Do you Yahoo!?
> New DSL Internet Access from SBC & Yahoo!
> http://sbc.yahoo.com
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Need Help ASAP w. Tomcat install!
Posted by Lance Smith <ls...@emergent-netsolutions.com>.
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:burrus21@yahoo.com]
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 <ls...@emergent-netsolutions.com> 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:burrus21@yahoo.com]
> Sent: Sunday, September 29, 2002 12:34 AM
> To: tomcat-user@jakarta.apache.org
> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Need Help ASAP w. Tomcat install!
Posted by Steven Burrus <bu...@yahoo.com>.
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 <ls...@emergent-netsolutions.com> 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:burrus21@yahoo.com]
> Sent: Sunday, September 29, 2002 12:34 AM
> To: tomcat-user@jakarta.apache.org
> 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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Need Help ASAP w. Tomcat install!
Posted by Lance Smith <ls...@emergent-netsolutions.com>.
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:burrus21@yahoo.com]
Sent: Sunday, September 29, 2002 12:34 AM
To: tomcat-user@jakarta.apache.org
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>