LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Tomcat on Debian (lenny) (http://www.linuxquestions.org/questions/linux-software-2/installing-tomcat-on-debian-lenny-819446/)

MattWeiler 07-12-2010 02:32 PM

Installing Tomcat on Debian (lenny)
 
I recently installed Debian 5.0.5 (lenny) on an extra PC that I had lying around:
  • Intel P4 3.4 GHz
  • 4GB DDR2
  • NVidia 7600 GT - 256 MB

I want to turn this PC into a Linux server for hosting a basic JSP web application with PostgreSQL as the back-end database.

I installed PostgreSQL and it runs fine however I'm having some issues installing Tomcat 6.
I followed a guide that I found online, and everything seemed fine when I was following the steps however I wasn't able to verify that the server was running by viewing the default tomcat page.
http://localhost:8080

Is there much difference in using Tomcat 5 vs Tomcat 6?
I'll probably try Tomcat 5.5 tonight.

Installer Guide: http://www.itoperationz.com/2009/06/...6-on-debian-5/


I'd also like to setup a simple email server, and I'd like to know roughly what's required to do this.


I know I sound like a noob, I guess I'm just too used to Windows :(
I just haven't touched Linux since University as the company I work for is all Windows and it's easy to get comfortable :p


Thanks

AlucardZero 07-12-2010 07:03 PM

Your link doesn't work and you haven't provided enough information. Look at the logs.

Is tomcat running? Is it listening on 8080? What message do you get when you browse to http://localhost:8080 ??

craigevil 07-12-2010 07:21 PM

Tomcat5.5 is in stable/lenny, Tomcat6 is in squeeze/testing.

http://packages.debian.org/search?ke...searchon=names

MattWeiler 07-12-2010 07:42 PM

Thanks for your fast replies.

Once I got home, I found another site that I followed to success :)
http://library.linode.com/developmen...debian-5-lenny

Now Tomcat is running and I can access the default webapp.




P.S. sorry about the last link...not sure what happened there :P
Incase you're intereseted, this is the original link:
http://www.itoperationz.com/2009/06/...6-on-debian-5/

There was a lot wrong with this one:
  • in the /etc/profile file, they used strange quotation marks (they look okay at 1st glance)
  • in the tomcat-users.xml file, they once again use strange quotation marks (they look okay at 1st glance)
  • there might be more wrong with it, but mine works now

DaddyMagic 12-18-2010 10:55 AM

Trying to do something similar..
 
Quote:

Originally Posted by MattWeiler (Post 4031318)
Thanks for your fast replies.

Once I got home, I found another site that I followed to success :)
http://library.linode.com/developmen...debian-5-lenny

Now Tomcat is running and I can access the default webapp.




P.S. sorry about the last link...not sure what happened there :P
Incase you're intereseted, this is the original link:
http://www.itoperationz.com/2009/06/...6-on-debian-5/

There was a lot wrong with this one:
  • in the /etc/profile file, they used strange quotation marks (they look okay at 1st glance)
  • in the tomcat-users.xml file, they once again use strange quotation marks (they look okay at 1st glance)
  • there might be more wrong with it, but mine works now

Hi, I am trying to do something similar to what you were doing early in the thread.

I am putting up a page with GeoServer inside ApacheTomcat. I have gotten through to the point where I have "http://MYIPADDRESS:8080/" working.

Now I am trying to get to the place where I can edit my "tomcat-user.xml" file, and cant seem to navigate to it inside the "PuTTY" window I am using to access my VPS (linode.com)

Any tips would be apprceciated...

Andy Davis.


All times are GMT -5. The time now is 10:07 PM.