aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "UPLOAD WAR File to Tomcat 5.5" Watch "UPLOAD WAR File to Tomcat 5.5" New topic
Author

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..

regards,
Rashmi Trivedi
Stu Thompson
Hooplehead
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.

Stu


"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: http://aspose.com/file-tools
 
subject: UPLOAD WAR File to Tomcat 5.5
 
Similar Threads
Deploying .war file in tomcat
HTTP status error 404
Is WEB-INF Directory mandatory ?
404 error
Tomcat - The requested resource is not available