The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomcat 8080 ??

Discussion in 'General Discussion' started by Silent Ninja, Jul 18, 2008.

  1. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    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. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    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. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
    #3 cPanelDavidG, Jul 21, 2008
    Last edited: Jul 21, 2008
  4. Silent Ninja

    Silent Ninja Well-Known Member

    Joined:
    Apr 18, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Buenos Aires, Argentina
    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/HelloWorld/HelloWorldExample (404)
    http://pruebas.aeromont.com.uy:8080/HelloWorld/HelloWorldExample (OK)
     
    #4 Silent Ninja, Jul 22, 2008
    Last edited: Jul 22, 2008
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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. linux-image

    linux-image Well-Known Member

    Joined:
    Jun 8, 2004
    Messages:
    1,192
    Likes Received:
    1
    Trophy Points:
    38
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Is there any update on this one ?
     
Loading...

Share This Page