trouble working with tomacat and apache

Discussion in 'Open Source' started by jithudigitised, Sep 24, 2006.

Thread Status:
Not open for further replies.
  1. jithudigitised

    jithudigitised Wanna be *****ised...

    Joined:
    Aug 29, 2006
    Messages:
    45
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    trivandrum,kerala
    hi
    i am not able to work using both the apache and tomcat webservers in my fedora core 4 system.i want to do some work on j2ee and i use jakarta tomcat 5.0 distribution as webserver.but i can't use tomcat.while i can do works on apache 2.0 with php.my java distribution is jdk 1.3.

    i installed tomcat, but after i start tomcat i can't use the port 80 since it is used by apache 2.0 . so i changed the port to 8083 in the server.conf file in tomcat and then also i was not able to do nothing.

    please help me anyone.
     
  2. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,705
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    First of all disable the firewall in Fedora Linux. Also change the port number of Apache
    web server to 81 or something. You must edit the /etc/httpd/conf/httpd.conf file to change the
    port number. Always take a backup of the file httpd.conf.It will help in case something goes wrong!!!
    For more on Configuring Apache Web Server on Fedora 4, click here
    Also disable 'SE Linux'. Start Apache now ,it will work.
    Since you have changed the port number of Apache (port 80 is free now) &
    so Tomcat can now use port 80 & it will also work!!!
    You must also change to Java 5.0 (ie., jdk 1.5) Tiger , download it from here
     
    Last edited: Sep 24, 2006
  3. mediator

    mediator New Member

    Joined:
    Mar 18, 2005
    Messages:
    2,491
    Likes Received:
    16
    Trophy Points:
    0
    Location:
    In ur Evil Mind!
Thread Status:
Not open for further replies.

Share This Page