Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

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 7 not reading web.xml file

Discussion in 'General Discussion' started by satya410, Aug 22, 2015.

  1. satya410

    satya410 Registered

    Aug 22, 2015
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Hi, I've a struts 2 based web application, this application is running in my local system and later I deployed in cpanel. The problem is Tomcat is not reading web.xml file and java is working in my domain I checked with some out.println("welcome"); statement. It prints welcome message. Previously I've struts 1 based application in the same domain and its running perfectly. But my struts 2 based application is not running.

    In web.xml file, I configured home.jsp as welcome page. But server is taking index.jsp as welcome page by default. so its clear tomcat is not reading web.xml file.

    Key points: java is working. struts 1 based application is running. But struts 2 based application is not running.

    For more

    Any suggestions please.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Do you have root access to this server to review the /var/log/easy-tomcat7/catalina.err file to see if you notice any specific errors when running this application?

    Thank you.

Share This Page