• 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

Deploy Web Application

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have a web app begins with a jsp file, running on tomcat.
I relized that for deployment, I have to create a war file out of it.
So I did - i executed a war file out of my project into the apps folder,
and it is running well.
now, in my apps i have a war file and a folder that created automatically.
i have to copy this app to another machine, containing tomcat.
Should I copy the war file and the folder that was creaed from my webapps into
the webapps in the second machine (cause it doesn't work)?
Hope I'm understood...
Thanks.
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

moshi cochem wrote:
Should I copy the war file and the folder that was creaed from my webapps into
the webapps in the second machine (cause it doesn't work)?



war file itself is enough [or folder which is extracted by container itself is enough]
 
moshi cochem
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have any assumption why I have a 404 error while I'm running it ?
the war filr is: HaspWeb.war
the folder that created is : HaspWeb
the jsp file is: testUI.jsp
and I'm writing in the browser address: http://localhost:8080/HaspWeb/testUI.jsp
(in my computer it works fine, when i try to put it on another tomcat it is not working).
Thanks.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

moshi cochem wrote:Do you have any assumption why I have a 404 error while I'm running it ?



error indicate that server cant find the HaspWeb or testUI.jsp . where you put your HaspWeb.war ?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic