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?

asked 14 Sep '16, 19:05

sushil74432's gravatar image

sushil74432
6512
accept rate: 0%


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

permanent link

answered 15 Sep '16, 12:06

OF%20Collect's gravatar image

OF Collect ♦♦
2.0k5
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×279

question asked: 14 Sep '16, 19:05

question was seen: 1,344 times

last updated: 15 Sep '16, 12:06