This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes War file deployment in Linux machine not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "War file deployment in Linux machine not working" Watch "War file deployment in Linux machine not working" New topic
Author

War file deployment in Linux machine not working

Venkatesh Rajendran
Ranch Hand

Joined: May 17, 2001
Posts: 59
Hi,

I am facing problem while deploying war file in Linux machine, details are given below,

1. I am having an exsiting application like "app1", for which I have context path entry in server.xml file.
2. Previously we used to copy the files as zip file format, now we would like to go for war file format, so we have taken the backup of the exsiting "app1" folder and deleted from the "webapps" folder. Now I copied the "app1.war" in the "webapps" folder and restarted tomcat server.
3. I expect tomcat to creat "app1" folder under webapps folder, but it is not creating.
4. I tried to comment the context path in the server.xml, though it is not valid to do it, then it creates "app1" folder under webapps.
5. Now my problem is, I have connected tomcat through appache, if I remove context path entry from server.xml I can not connect via apache.

Conclusion:
-----------
Tomcat installed in Linux machine is not extracting war file, but the same version of tomcat is doing it in Windows. Is there any configuration needs to be done to do the same.

Thanks in advance.

Regards,
Venkat
 
jQuery in Action, 2nd edition
 
subject: War file deployment in Linux machine not working
 
Similar Threads
Setting up Website without the context element in Server.xml
Multiple apps in Tomcat
Deployment in JBoss
Context in server.xml
unable to extract war file after restart of tomcat