LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Problem with jdk tomcat apache (http://www.linuxquestions.org/questions/linux-general-1/problem-with-jdk-tomcat-apache-525712/)

me4linux 02-05-2007 06: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
THANKS IN ADVANCE

timmeke 02-05-2007 11:08 AM

Check out the documentation on http://www.apache.org.
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 http://tldp.org 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 08:58 AM.