Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-01-2003, 02:04 AM   #1
LQ Newbie
Registered: May 2003
Location: Houston, Texas
Distribution: redhat 8
Posts: 1

Rep: Reputation: 0
Question TOMCAT Running! But No Examples!!?

Hello All. I have a tip and then a question- PLEASE DON'T OVERLOOK THE QUESTION AT THE END.


Thanks to many helpful posts I have installed and j2sdk and tomcat 4.1.18!

I do have one piece of info that I dug out of the tomcat-docs that may be helpful. On setting the JAVA_HOME and PATH variables:

In RH8 create a file called in the /etc/profile.d directory and export the variables there:

export JAVA_HOME=/usr/local/java/
export PATH = $PATH:$JAVA_HOME/bin

save it and chmod 755 it.

This allows tomcat to startup at login on my installation. When I was trying to export JAVA_HOME from the command line and then starting tomcat with ./ from the jakarta-tomcat-4.1.18/bin directory I kept getting a ~'JAVA_HOME environmental variable improperly set' error.

Hope this helps.


Why am I getting a 404 error on the jsp examples? I made the mistake of moving the directory and I think I broke something. I have put the examples directory in the /webapps/ROOT directory. Is this correct? Can somebody pls copy and paste the original directory structure for me? When I type in http://localhost:8080/examples/jsp/index.html I'm getting a 404 error. I am a newbie and this is day 3 on trying to get Tomcat configured so I can start learning jsp so any help would be GREATLY appreciated.



Last edited by treycarroll; 05-02-2003 at 12:20 AM.
Old 04-21-2006, 08:57 PM   #2
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
We're talking about this now.

Duh! I didn't notice this was 3 years old!



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
about Jakarta Struts, Jsp's and Tomcat.... problem iterating in a jsp poeta_boy Programming 2 09-06-2005 03:36 PM
Install tomcat as a module of Apache for running JSP kernelvn Linux - Networking 1 09-28-2004 12:41 AM
Apache/Tomcat : jsp = "No Host matches server name" ghow961 Linux - Networking 0 07-01-2004 07:20 PM
Is tomcat the only choice in order to surport JSP? ICO Programming 3 03-08-2004 12:59 AM
Basic JSP/Tomcat question. CodeWarrior Programming 1 07-06-2003 10:15 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration