I've never used the RPM, but maybe you should use the
binary .tar.gz file...it's just as easy to install if not easier. Do all
this as ROOT.
Get the file (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/bin/jakarta-tomcat-4.0.1.tar.gz)
Un-Tar it where you want...I usually untar to
/usr/local.
tar -zxvf jakarta-tomcat-4.0.1.tar.gz -C
/usr/local/
Then I like to make a relative link to that
directory,
ln -s /usr/local/jakarta-tomcat-4.0.1
/usr/local/tomcat
Then add this to your
.bash_profile as ROOT:
TOMCAT_HOME=/usr/local/tomcat; export
TOMCAT_HOME
JAVA_HOME=/path/to/jdk; export
JAVA_HOME
Then
run:
$TOMCAT_HOME/bin/startup.sh
Give
it a minute, depending on the speed of your machine and open a browser to
http://localhost:8080
Did you make sure $TOMCAT_HOME was set?
Hope this
helps.
[ Troy Campano
]
-----Original Message-----
From: Manuel H.
Duarte [mailto:[EMAIL PROTECTED]]
Sent:
Thursday, January 10, 2002 5:33 PM
To: [EMAIL PROTECTED]
Subject:
Help getting Tomcat4 to work
I am running RedHat 7.2. I installed
jdk1.4. I setup environment
variables for JAVA_HOME and also added the path
to the jdk/bin to my path.
I installed Tomcat4 rpm. I try connecting to
http://localhost:8080/ and
I get the following
error message in catalina.out log file:
StandardServer.await: Invalid
command 'GET / HTTP/1.1' received
Can someone please tell me what I am
doing
wrong.
Thanks,
Manny
[EMAIL PROTECTED]
==========================================================================To
unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For
digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some
relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com
Title: Message
- Help getting Tomcat4 to work Manuel H. Duarte
- Campano, Troy
