Problem installing collect in standalone tomcat

  • Asked
  • Active
  • Viewed 4914 times
0

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?

0

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

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.