Find the answer to your Linux question:
Results 1 to 5 of 5
so I installed and got tomcat working properly, except for the fact that I cannot connect to it. When i run nmap localhost, I only see port 80 and 22 ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    6

    Exclamation port 8080 not being listened

    so I installed and got tomcat working properly, except for the fact that I cannot connect to it. When i run nmap localhost, I only see port 80 and 22 listening. How do I open port 8080 to tomcat? could thins have anything to do with the fact that my tomcat installation does not have a startup.sh? i am starting it using service tomcat 5 start

    error log:
    Using CATALINA_BASE: /usr/share/tomcat5
    Using CATALINA_HOME: /usr/share/tomcat5
    Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
    Using JRE_HOME:
    /usr/bin/dtomcat5: line 331: /usr/lib/jvm/java/bin/java: No such file or directory
    Using CATALINA_BASE: /usr/share/tomcat5
    Using CATALINA_HOME: /usr/share/tomcat5
    Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
    Using JRE_HOME:
    /usr/bin/dtomcat5: line 353: /usr/lib/jvm/java/bin/java: No such file or directory
    Last edited by nullp0inter; 08-19-2009 at 06:36 PM. Reason: found error log

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    You don't have java installed, tomcat requires java to run. You need to install java and point tomcat to it.

  3. #3
    Just Joined!
    Join Date
    Aug 2009
    Posts
    6
    i do have java installed. actually i have two versions. i can switch between

    java version "1.5.0"
    gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-33)

    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


    and

    java version "1.6.0_16"
    Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
    Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)

    But neither one works with tomcat currently.

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Have you configured tomcat to use one of those?

  5. #5
    Just Joined!
    Join Date
    Aug 2009
    Posts
    6
    no, i read through tons of guides and such, however i did not specifically do that as i did not see specific directions. i would really appreciate it if you could just point me in the right direction. i need to set up tomcat so i can later install mondrian and its giving me such a headache.

    i dont even think any global variables are set. $CATALINA_HOME and $JAVA_HOME do not echo anything.

Posting Permissions

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