Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member Silent Ninja's Avatar
    Join Date
    Apr 2006
    Location
    Buenos Aires, Argentina
    Posts
    173

    Default Tomcat 8080 ??

    I've noticed by one of our clients complaint that Tomcat is running normally with jsp files, you upload a jsp file, test it and runs. But when you try to use a Servlet, it doesn't work.

    If you go to thedomain.com:8080/ServletUrl ... it WORKS.. but I DON'T want to use the 8080 port, I want all my customers to go by the httpd port, and the 8080 port is blocked by our firewall so it'll never work for them.

    Is there any fix for it, or I should open the 8080 port for everybody and just hope that nobody uses an external proxy ?

  2. #2
    Member Silent Ninja's Avatar
    Join Date
    Apr 2006
    Location
    Buenos Aires, Argentina
    Posts
    173

    Default

    Bump, anyone ?

    Am I missing some tomcat setup so that servlets works on the 80 port as well as on the 8080? Should I redirect all access to the 80 port to the 8080 port?

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Did you install Tomcat via EasyApache? If so, mod_jk should have been installed automatically so you can connect with your JSP pages via Apache (port 80).

    If you installed Tomcat via EasyApache and are experiencing these issues, you may want to have our technical analysts take a look at your server.
    Last edited by cPanelDavidG; 07-21-2008 at 02:54 PM. Reason: Emphasis that EA handles mod_jk

  4. #4
    Member Silent Ninja's Avatar
    Join Date
    Apr 2006
    Location
    Buenos Aires, Argentina
    Posts
    173

    Default

    I've installed Tomcat via EasyApache on the webserver, it happened on two of my webservers which I've recently compiled with de EA3 so I can add them the Deflate option, I don't think that it's really important, but if you want I can sent you the yaml file so you can check on my compile options.

    In fact Servlets do work, but on the wrong system port. Is there any configuration that I could use to fix this or I have to reinstall tomcat ?

    PS: I've read your message again and realized about the jsp, JSP does indeed WORK. Servlets (web-inf folder) doesn't work if they're not called on the 8080 port, why is that ?

    You may see it here so you get it better:
    http://pruebas.aeromont.com.uy/Hello...loWorldExample (404)
    http://pruebas.aeromont.com.uy:8080/...loWorldExample (OK)
    Last edited by Silent Ninja; 07-22-2008 at 09:39 AM.

  5. #5
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Silent Ninja View Post
    ...

    PS: I've read your message again and realized about the jsp, JSP does indeed WORK. Servlets (web-inf folder) doesn't work if they're not called on the 8080 port, why is that ?

    You may see it here so you get it better:
    http://pruebas.aeromont.com.uy/Hello...loWorldExample (404)
    http://pruebas.aeromont.com.uy:8080/...loWorldExample (OK)
    I recommend having our technical analysts take a look at this so they can determine the specific reason(s) why this is not working as it should and take corrective action.

  6. #6
    Member linux-image's Avatar
    Join Date
    Jun 2004
    Location
    India
    Posts
    1,185
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Is there any update on this one ?

Similar Threads & Tags
Similar threads

  1. Tomcat + Cpanel port 8080
    By pablo314 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-27-2011, 01:44 PM
  2. Redirect 8080 requests to 80 port - Tomcat problem at cPanel server
    By sh4ka in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-31-2008, 01:33 PM
  3. Map 8080 on 80
    By adapter in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-17-2007, 03:32 PM
  4. port 8080 problems using tomcat
    By pelon in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-14-2005, 04:17 AM
  5. Tomcat Issues....no :8080
    By Snowman30 in forum cPanel Developers
    Replies: 8
    Last Post: 10-27-2004, 01:01 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube