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!

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:
    1
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice