• Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying a .war file  RSS feed

 
Gerald Spica
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running tomcat 5 and trying to deploy a .war file. The instructions say to place the .war file in the webapps directory, when I stop and start the server the file structure for my app gets built but I cannot browse the pages I have created. So I put the files in the webapps/root folder and stop and start the server and the file structure does not get built, and still cannot browse the pages.
What should I do?
 
Ryan Bailey
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Gerald,
What is the error message or the status of the http response? If your structure is built, try placing a simple html page in the base of your webapp. you should be able to see this page from your localhost. Also check your log files to make sure Tomcat is started and that there are no errors.
Regards,
Ryan
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!