• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

where to put .WAR files on server?

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 4116
72
Mac TypeScript Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I got it, thanks..
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic