Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-05-2007, 05:31 AM   #1
Registered: Aug 2006
Distribution: Fedora 7
Posts: 165

Rep: Reputation: 30
Problem with jdk tomcat apache

Hi everyone

I have installed tomcat,apache & mysql in fedora core 5 64bit
how to run a servlet by using these??

I have seen that the environmental variable should be assigned the value i.e path of the jdk installation directory

I have got the following queiries

1) How to know the home directory where the jdk has been installed
2) How to know the home directory of the tomcat
3) Do i need to make any specific changes in the apache server settings so that servlet that is being requested from apache webserver will be run by tomcat??

My aim is to set a Webserver with tomcat and mysql support
I have installed all the packages
i want to create a dynamic page which searches for some industries based on stipend,accomodation,......

Please guide me what to do??

waiting for a nice reply
Old 02-05-2007, 10:08 AM   #2
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Check out the documentation on
There you'll find examples of apache and tomcat configurations and how to combine both.

JDK is probably installed in /usr/java
Tomcat may be installed in /usr/java/tomcat or something.

Maybe you can also find some documentation in the Tutorials sections of this forum, on or on similar sites (search this forum or use Google to find them).

You should set CATALINA_HOME and JAVA_HOME variables. I recommend putting them in the system profile or bashrc files in /etc, so that they are set for all users.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP 5.2 with Tomcat 5.2 and JDK 2.5 g2293 Linux - Software 1 02-08-2007 09:00 PM
jdk and tomcat sharp81 Linux - Software 11 03-28-2006 07:56 AM
Tomcat 5.0.27 connecting to Apache 2 with jdk 1.2.6 yea420 Linux - Newbie 0 08-13-2004 07:21 PM
problem in configuring Tomcat with Apache ambuj Linux - Software 2 04-19-2004 09:02 AM
tomcat apache problem..please help Sridhar Guntur Linux - Software 3 10-08-2002 10:44 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:32 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