File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to put .WAR files on server?

 
Edmund Castermund
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am able to do some simple servlets and run them on the localhost...but I want to deploy on a home server I have....I tried exporting the war file (I'm using eclipse) to <server-tomcat-folder>/webapps/filename.war....

but I cant run the applcation from there...
also, when I try to view the .WAR file I can't see it, either in the terminal or dolphin (I'm using ubuntu).

What is the appropriate destination for a WAR file, and what would the url be if running the war file on a server?
 
Vijitha Kumara
Bartender
Posts: 3908
9
Chrome Fedora Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried exporting the war file (I'm using eclipse) to <server-tomcat-folder>/webapps/filename.war....

Yes, It's the right place.
when I try to view the .WAR file I can't see it, either in the terminal or dolphin (I'm using ubuntu).

Then the file has not been exported.
and what would the url be if running the war file on a server?

By default container deploys the war with the same name as the WAR file's unless you config it to a different one.
 
Edmund Castermund
Ranch Hand
Posts: 99
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it, thanks..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic