Tomcat 7 not reading web.xml file

satya410

Registered
Aug 22, 2015
1
0
1
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
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.