I have tomcat7 packages installed as follows
[root@mongos lib]# yum list installed | grep tomcat7
tomcat7.noarch 7.0.39-1.jpp6 @eng-support-jpackage
tomcat7-admin-webapps.noarch
tomcat7-el-2.2-api.noarch
tomcat7-jsp-2.2-api.noarch
tomcat7-lib.noarch 7.0.39-1.jpp6 @eng-support-jpackage
tomcat7-servlet-3.0-api.noarch
and enabled the manager web app.
It is my understanding that tomcat7-servlet-3.0-api provides the needed Servlet 3.0 API for Java web apps.
Now when i deploy a war file using the manager app, tomcat cannot find the WebApplicationInitializer class which was introduced in Servlet 3.0 api that does away with the need of a web.xml file inside the war file.
Now i believe there is a problem in the tomcat7 setup.
To confirm my claim, i did the following.
If the same war file is deployed on a standalone tomcat7 downloaded from http://tomcat.apache.org, the application works fine.
Is anyone familiar on correct setup of tomcat7 on CentOS?
Thank you.