This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Tomcat Help???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Help????" Watch "Tomcat Help????" New topic
Author

Tomcat Help????

Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Hi, I'm running Redhat 7.0 I've downloaded and installed jakarta-tomcat-3.2.1, but I'm having a little trouble configuring it to run standalone without Apache running. The instructions make it seem easy, but they kind of tail off at the end. Following the user's guide this is what I did: I unzipped the files. They are in the following directory: /tomcat/jakarta-tomcat-3.2.1 . I use j2sdk1.3 and it's path is here: /usr/java/jdk1.3.0_02 .
Following the instructions I changed the directory to /tomcat/jakarta-tomcat-3.2.1 , and then I executed the following command: TOMCAT_HOME=tomcat/jakarta-tomcat-3.2.1; export TOMCAT_HOME
It then said to change the JAVA_HOME variable to point to the root directory of the jdk hierarchy. I did this with the following command:
JAVA_HOME=/usr/java/jdk1.3.0_02 (I'm not sure that is right?)
Finally it said add the Java interpreter to my PATH environment variable. I didn't do anything here, because I wasn't sure explicitly what I was to do (the directions didn't say).
When I try to run Tomcat I get the following message: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/startup/Tomcat
The directions make it sound pretty simple to configure, and I'm sure it is. Normally I'd start messing around with things, but I thought perhaps I should ask for help first. So if anyone could point me in the right direction. I'm pretty sure my only problem is with the PATH variable, seeing as though I didn't set it. So any help would be greatly appreciated.
Thanks alot for any help!

Sean
[This message has been edited by Sean Casey (edited May 10, 2001).]
Sean Casey
Ranch Hand

Joined: Dec 16, 2000
Posts: 625
Please help me. I'm a bit lost here.
Mark Simms
Ranch Hand

Joined: Jul 20, 2000
Posts: 36
Be sure each %TOMCAT_HOME%/LIB "jar" file is in the CLASSPATH assignment.....
this should be done for you in the start.sh script.
be sure TOMCAT_HOME is set properly....
review the script.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Tomcat Help????
 
Similar Threads
what should i do?
J2EE PleASE HELP ME
Tomcat Installation
tomcat error
500 internal server error