LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   installing tomcat (https://www.linuxquestions.org/questions/linux-server-73/installing-tomcat-672072/)

mahmoud 09-24-2008 10:26 AM

installing tomcat
 
Hi
does anyone know how to install apache-tomcat and jde or jke which ever one that will work on debain i have been on it for days with no luck i keep getting the whole thing wrong
i dont even know what files i need tried using aptitude it still didnt work tried downloading th file of the website but it didnt come with installing details just some annoy file that said i should install jde or jke and then install apache-tomcat.
if someone can give the list of files i need to get it up and running and what to do i will be very grateful
what im trying to do is migrate our old web server to a new one but the old server was a fedora so no much help there

paulsm4 09-24-2008 11:06 AM

Here is a good link:
http://mediakey.dk/~cc/howto-install...n-debian-etch/
Quote:

The original Sun Java 2 is available in the ‘non-free’ section of the Debian repositories. To enable this section first add the non-free repository to the apt sources file - the /etc/apt/sources.list should look like, - important parts are in bold:


deb http://ftp.us.debian.org/debian/ etch main contrib non-free

Now, update apt:

sudo apt-get update

Then install the Java debian packages.

sudo apt-get install sun-java5-jdk

(or "sudo apt-get install sun-java5-jre" for just the JRE)
Other links:
http://linux.derkeiler.com/Mailing-L.../msg01596.html
http://www.howtogeek.com/howto/linux...t-6-on-ubuntu/
http://www.meritonlinesystems.com/do...at_redhat.html

'Hope that helps .. PSM

mahmoud 09-24-2008 11:54 AM

i have installed it that way but it doesnt seem to be running
i did a
netstat -lnp | grep 8080
nothing and they all installed with no errors
i also checked if there is a program using port 8080 nothing
also one time when i tried
netstat -lnp | grep 8180
it showed
tcp6 0 0 :::8180 :::* LISTEN 5767/jsvc
but when i tried
http://localhost:8180
nothing blank page and it say waiting for localhost

TB0ne 09-24-2008 12:17 PM

Quote:

Originally Posted by mahmoud (Post 3290491)
i have installed it that way but it doesnt seem to be running
i did a
netstat -lnp | grep 8080
nothing and they all installed with no errors
i also checked if there is a program using port 8080 nothing
also one time when i tried
netstat -lnp | grep 8180
it showed
tcp6 0 0 :::8180 :::* LISTEN 5767/jsvc
but when i tried
http://localhost:8180
nothing blank page and it say waiting for localhost

After you installed it, did you actually configure and start it?

mahmoud 09-25-2008 02:32 AM

i started it and it gave no error what you mean configure it to start
do you mean start up with the system

TB0ne 09-26-2008 09:22 AM

Quote:

Originally Posted by mahmoud (Post 3291076)
i started it and it gave no error what you mean configure it to start
do you mean start up with the system

No, I mean, did you configure Tomcat, and start the service? Since the service isn't showing up, chances are it didn't start. Please check your syslogs or the Tomcat logs. From what I remember, you've got to configure some things before Tomcat will start. The installation documents should be your guide there.


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