-   Linux - General (
-   -   Problem with jdk tomcat apache (

me4linux 02-05-2007 05:31 AM

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

timmeke 02-05-2007 10:08 AM

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.

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