File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes UPLOAD WAR File to Tomcat 5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "UPLOAD WAR File to Tomcat 5.5" Watch "UPLOAD WAR File to Tomcat 5.5" New topic

UPLOAD WAR File to Tomcat 5.5

Rashmi Trivedi
Ranch Hand

Joined: Aug 13, 2001
Posts: 60
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..

Rashmi Trivedi
Stu Thompson
Ranch Hand

Joined: Jun 14, 2006
Posts: 136
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.


"This is not to say that design is unnecessary. But after a certain point, design is just speculation." --Philip Chu
I agree. Here's the link:
subject: UPLOAD WAR File to Tomcat 5.5
It's not a secret anymore!