Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UPLOAD WAR File to Tomcat 5.5

 
Rashmi Trivedi
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All
I have used CodeChare report builder to create one simple report. I have configured CodeCharge tools to produce the JSP file into C:\Tomcat 5.5\webapps\Reports directory.

CodeCharge has successfully compiled and created TESTRASH.war under :\Tomcat 5.5\webapps\Reports directory.

when i am trying to call http://localhost:8080/Reports, it say page cannot be displayed..

I believe the .war file contains everything which what i did in CodeCharge but i am not able or i do know how to install war file in Tomcat5.5.

Can somebody please help me to resolve this..

thanks in advance..

regards,
Rashmi Trivedi
 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) ensure you have your tomcat configured to auto deploy war files (which is the default in ./conf/server.xml, i believe)
2) the war file need to be placed in the ./webapps folder (not a child folder as you have done), and it will create the 'reports' folder for you. The folder name is based on the war file name.

Stu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic