Check the deploy path in eclispe on tomcat server page.I guess usually eclipse deploys at /wtpwebapp not the Tomcat_HOME/webapps. So, put your war file under /wtpwebappsand start the server..
–
SRyDec 10 '12 at 6:20

1

Anyway now you kept your war file under TOMCAT/webapps. So, go to bin folder in Tomcat directory and click on startup.bat and access your project in browser.refer to this post stackoverflow.com/questions/12446263/…
–
SRyDec 10 '12 at 6:30

@srinivas - I am manually copy pasting the war file. I am using eclipse only to start or stop the server . Instead of using startup.bat and shutdown.bat. The application is still in 404 state. I dont know why. Any alternate ways of deploying my war file in Tomcat 7 ? Any Manager app or GUI to deploy my war file in tomcat 7 ?
–
bali208Dec 10 '12 at 7:58

4 Answers
4

In your console message, I do not find the deploying of "JavaServerFaces.war".
In eclipse,
open your server setting file,under "Server Location " check if the option "Use tomcat installation (.......) ".
if it is checked, then check the deploy name if it "webapps". if not then, change it to "webapps".

And if, this all are correct, then possibly your .war file is making fault.

I am manually copy pasting the war file. I am using eclipse only to start or stop the server . Instead of using startup.bat and shutdown.bat. The application is still in 404 state. I dont know why. Any alternate ways of deploying my war file in Tomcat 7 ? Any Manager app or GUI to deploy my war file in tomcat 7 ? My war file is running fine in JBoss 7, but not on tomcat.
–
bali208Dec 10 '12 at 10:42

1) copy the folder name which contains all application file and paste it into url. Now copy your servlet application url from web.xml and paste after folder name. If that works that means your Servlet application have some error..see the server console

2)On clicking on your application name in Manager App, and then your html file didn't run then there must be error in you your xml file try to rename your html file to index.xhtml

3)4** error shows that there is an error on xml or html file. while 5** series error shows there is error in your tomcat server.