| Author |
where to put .WAR files on server?
|
Edmund Castermund
Ranch Hand
Joined: May 09, 2007
Posts: 77
|
|
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
Joined: Mar 24, 2008
Posts: 3670
|
|
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.
|
SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
|
 |
Edmund Castermund
Ranch Hand
Joined: May 09, 2007
Posts: 77
|
|
|
I got it, thanks..
|
 |
 |
|
|
subject: where to put .WAR files on server?
|
|
|