I pasted collect-webapp-tomcat-3.10.26.war file in webapps directory of a standalone tomcat. The .war file was unpacked successfully and a directory was created inside webapps directory of tomcat. But it won't run when I enter the URL and give 404 error. Can anybody help me in this matter?
Accepted answer
Hi,
Have you renamed the war file before starting up Tomcat? The file can be named simply collect.war so by default the "context" of the application will be just "collect" and you will be able to access it through the web browser at http://localhost:8080/collect
Also don't forget to define the context file inside your configuration folder in Tomcat: under tomcat/conf/Catalina/localhost be sure to have a file called collect.xml (same as the name you gave to the war file) and the content of this file must respect this template here.
Thanks,
Open Foris Team