Results 1 to 8 of 8

Thread: Apache Tomcat

  1. #1

    Apache Tomcat

    Does anyone have tomcat running with apache? I only ask this because I need to get it running (I had to switch from Jserv) and cannot find any good docs on getting it running correctly. I have been all over the Jarkata project's website, but nothing seems to be written too clearly. What I am looking for is a simple howto (or not so simple) that says you must do X,Y and Z to get it running. All I'm finding so far are docs telling me about tomcat's guts. While this is all good info, right now I just want it to simply serve my apps.

  2. #2
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Apache Tomcat

    I got this working. Just download this file: http://jakarta.apache.org/builds/jak...0.4-src.tar.gz
    Unpack it, and read the README.txt file in the webapp folder.

    Good luck!

  3. #3

    Re:Apache Tomcat

    Thanks. I think my problem is that I'm using the rpm version and am having problems starting tomcat due to JAVA_HOME path (java gives me an error that it can't find libstdc++, or something like that). Two questions 1) Can I run tomcat as a standalone on the same box as Apache (I'm assuming all urls to it will have to point to 8080). 2) Can I build it from source and integrate it into Apache with the webbapps module if Apache was installed from an RPM?

    In the past I had all my LAMP stuff compiled from source , and for ease of upgrades and patches, I reinstalled everything as an RPM. Not without problems however.

  4. #4
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Apache Tomcat

    I think the answer to both questions is yes. I had Apache installed from .debs. As a matter of fact tomcat will always run stand-alone, you just connect to it from Apache through webapp.

  5. #5

    Re:Apache Tomcat

    Thanks for the help cloverm The README.txt and BUILDING.txt were all the docs I needed.

    It seemed that tomcat was dying because I needed the latest (release candidate) jdk. At least that's what got it running (the rpm would have also run on that, had I found this error earlier). I wound up using the pre-compiled binary, as building from source seemed a like an un-necessarliy long and painful task.

    Another quick question. Do all my urls to my apps have to have be to http://my_meb_app:8080? Or can I simply point to apache on 80 like I did with JServ?

  6. #6
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Apache Tomcat

    If you want to connect to Tomcat without Apache you would use http://yourserver:8080/some/page.jsp. However, if you have webapp installed and setup for apache, you can also use http://yourserver/jsp/some/page.jsp. This assumes of course that you set up webapp in apache.conf with the "jsp" folder. You can name it anything you want to.


  7. #7

    Re:Apache Tomcat

    Cool. Thanks again. I'd rather do that. I'm assuming if I do that I'll only need to open port 80 at the firewall. Correct? Man am I full of questions today.

  8. #8
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re:Apache Tomcat

    [quote author=tolstoy link=board=4;threadid=4772;start=#47564 date=1030673977]
    Cool. Thanks again. I'd rather do that. I'm assuming if I do that I'll only need to open port 80 at the firewall. Correct? Man am I full of questions today.
    [/quote]

    Correct.

Similar Threads

  1. Aliasing in Apache + Tomcat
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-16-2006, 04:00 PM
  2. JSP with Apache & Tomcat!
    By honey bee in forum Linux - Software, Applications & Programming
    Replies: 10
    Last Post: 06-17-2006, 11:23 AM
  3. how can i install apache tomcat in linux??
    By hn2t in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 03-09-2006, 04:16 PM
  4. Integrating Tomcat 4.0.3 with Apache 2.0.35
    By Nehctik in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 04-17-2002, 01:20 AM
  5. Tomcat and JDK
    By elovkoff in forum Linux - Hardware, Networking & Security
    Replies: 24
    Last Post: 03-13-2002, 12:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •