aspose file tools*
The moose likes Tomcat and the fly likes not recognizing war file 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 "not recognizing war file" Watch "not recognizing war file" New topic
Author

not recognizing war file

Ravi Hyder
Greenhorn

Joined: Dec 07, 2005
Posts: 2
Hello all,

I have created a small Servlet program to display name. Followed the directory structure and created the War file and deployed in Tomcat5. I am using Windows XP. I am getting the homepage of Tomcat but it is not recognizing the War file. even the index file is not getting displayed. I checked Servlet program may times and I am able to get the .class file. Is there any server settings I need to do. Plz help me.

With regards,

Ravi P
Sai Shanker
Greenhorn

Joined: Aug 09, 2004
Posts: 17
Hi,
Make sure you have the class files also in the path while creating the war file.
then place the war file under webapps directory.
stop and start tomcat server.
the war file must be recognized and deployed into its respective orginal folder structure automatically when the server is started.

let me know if this helps.
Sai.
Ravi Hyder
Greenhorn

Joined: Dec 07, 2005
Posts: 2
Hello,

thank you for responding, Sai. i got the issue fixed. i was not using the web.xml appropriately which led to this problem.

With Regards,

Ravi P
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: not recognizing war file
 
Similar Threads
deployment
Servlet Client (J2EE - EJB)
inputting file path to java servlets
Problem with struts 2
servlet deployment issue on websphere server.