This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
It's not able to load filter defined in web.xml. For time being you can just comment the filter in web.xml to check if application is strating up. Just thinking there may be compilation issue with filter.
I don't think you are supposed to Java EE libraries in the lib folder of your application. Your tomcat has servlet and JSP libraries of its own. Remove the servlet and JSP libraries from WEB-INF/lib folder. If you need them for compilation of .java files, then compile it at some other place. Usually a build script (like ant or maven script) or any IDE will do fine...
You should definitely /not/ have the servlet and JSP jars in your own application: those APIs are provided by the app server itself, and using additional, possibly different, versions may cause problems, particularly during version migrations.
I'd recommend turning logging levels up in order to find what is causing the startup issue--but it sure looks like it's due to the superfluous libraries:In short:
Sun wrote:The behavior of a program that includes such classes or interfaces in its WAR file is undefined.
Other than that, without knowing more it's impossible to help.
Note that putting "URGENT" in the subject line may cause people to /not/ answer your message: I tend to ignore such messages. If it's that urgent then there's probably a quicker way to solve the problem than to wait for someone else to do it for you. See this for further details.
Joined: Mar 22, 2007
Thank you very much for your help
1. point as above said we should not the jar files since tomcat server will provide then
2. after removing the jar files also i still have my application in false then i have noticed that the classes files were is different version, that is i have jar of java 5 and the classes were compiled in java 6 , after replacing the class files with java 5 compilation.
the application is superb... running .. thanks you very much.