Inserting CATALINA_HOME, CATALINA_BASE and JAVA_HOME
This is a two-part newbie question but I wasn't able to find out how to configure Apache Tomcat 6 to display a simple HTML page.
I'm using Fedora 10 Linux. Apache Tomcat 6 is installed and the tomcat process (service) is enabled and running.
When I browse to localhost:8080/ in Firefox, the resulting page is blank. I check the /usr/share/tomcat6/webapps/ directory and found it blank. I create a simple HTML page and put it into this directory and refresh the browser. The browser still shows blank.
How do I display the HTML page?
In a terminal window, I type "env" and look for the CATALINA_HOME, CATALINA_BASE and JAVA_HOME environment variables. They're not listed. I modify my .bash_profile to include:
I save the file and open a new terminal window. I type "env", and CATALINA_HOME is still not displayed. I type echo $CATALINA_HOME and the result is nothing. The only way I can get CATALINA_HOME assigned to something is if I type the export command manually.
How can I permanently assign these environment variables?
Does Part I have anything to do with Part II?