How can I publish WAR file
-
I'm have a WAR file export from eclipse, now i want to deploy into server tomcat running on linux server hosting, but i can't set up to run this project ? I'm using RICHFACES 4, Tomcat 6 I've already copy WAR file to folder webapps but server didn't deploy WAR file. Thanks for helping and sorry about my bad English.
-
Answer:
Stop Tomcat. Delete existing deployment. If you have previously deployed "foo.war" in TOMCAT_HOME/webapps, then it has been unpacked into webapps/foo/... You must delete this directory and all its contents. On Unix, this can be done with rm -r $TOMCAT_HOME/webapps/foo Copy WAR file to TOMCAT_HOME/webapps/. Start Tomcat. For more details Check http://www.jguru.com/faq/view.jsp?EID=123229
user1000566 at Stack Overflow Visit the source
Other answers
You seem to be using a 3rd party hosting. You need to read their developer documentation / user guide how to deploy web applications to it. On most (usually the elcheapo ones), you need to extract the WAR yourself and then upload the WAR's contents to the "public" www folder yourself. A WAR file is basically a ZIP file, so you should be able to extract it yourself with any ZIP tool.
BalusC
Related Q & A:
- How can I install ".deb" file for mobile user?Best solution by Ask Ubuntu
- How can I send a file to a friend on Hotmail?Best solution by askdavetaylor.com
- How can I publish my ads?Best solution by craigslist.org
- How can I attach a file greater than 25mb?Best solution by Yahoo! Answers
- How can I attached a file to my email message?Best solution by Answerbag.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.