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

    Joined:
    Aug 22, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    hyderabad
    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
    http://stackoverflow.com/questions/32155937/tomcat-7-not-reading-web-xml

    Any suggestions please.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    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.
     
Loading...

Share This Page