LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-10-2009, 02:26 PM   #1
hike2009
LQ Newbie
 
Registered: Jun 2009
Location: Amsterdam/Netherlands
Posts: 2

Rep: Reputation: 0
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?

Last edited by hike2009; 06-10-2009 at 02:36 PM. Reason: small addition
 
Old 06-10-2009, 04:55 PM   #2
hike2009
LQ Newbie
 
Registered: Jun 2009
Location: Amsterdam/Netherlands
Posts: 2

Original Poster
Rep: Reputation: 0
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!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unknown machine mode while installing gcc 2.6.3 on a P4 PC running Debian 3.1 bigwab Linux - Software 3 12-17-2010 08:34 AM
Running PHP in Tomcat sathiiish Linux - Software 2 05-02-2007 04:32 PM
Running tomcat with apache? namgayp Linux - Server 1 01-17-2007 05:41 AM
Problem getting tomcat running SuSE lover Linux - Distributions 2 09-18-2004 03:24 PM
installing debian woody under a running other linux, how? flipper333 Debian 4 01-18-2004 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration