and web-inf folder with classes folder , lib folder and web.xml
now when i open my tomcat manager
i am getting false status under Running when i opened
when i click start i am getting the following error as following..
I have my struts.xml file in classes folder
Please help me out
i really stuck with this. since 4 days....
Joined: Aug 26, 2008
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.