LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing and running Tomcat under Debian (https://www.linuxquestions.org/questions/linux-newbie-8/installing-and-running-tomcat-under-debian-732012/)

hike2009 06-10-2009 02:26 PM

Installing and running Tomcat under Debian
 
Hello, greetings from Amsterdam.

This is my first post here. I have some experience on Linux but not much.

My problem: I have developed and tested a web application under Windows with Tomcat6, MySQL5 and JDK6. Now I want to make it run on a dedicated Debian Linux server aided by Webmin and Putty.

I was able to install java on the server and could compile/run java class.
Did set JAVA_HOME and JRE_HOME.

Was also able to install Tomcat. Then run ./startup.sh
The proces echoed CATALINA_** and JRE_HOME correctly.
However no new proces appeared in the list produced by 'ps au'.

Now this dedicated server comes with Apache2 preinstalled and some test message. Obviously the same test message was produced in the browser.

Questions:

- how can I switch off the original Apache server in Webmin assuming it is the way of Tomcat?
- can I then expect to see the Tomcat welcome screen just as is the case with Windows?

hike2009 06-10-2009 04:55 PM

Don't bother, it is already solved. I had assumed that the CATALINA_HOME env var had already been set which was not the case. Corrected that and was able to verify the tomcat installation with
http://xxx.xxx.xxx.xxx:8080

Everything works!


All times are GMT -5. The time now is 02:28 AM.