aspose file tools
The moose likes Tomcat and the fly likes upload via mgmt console corrupts war? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "upload via mgmt console corrupts war?" Watch "upload via mgmt console corrupts war?" New topic
Author

upload via mgmt console corrupts war?

William Stafford
Ranch Hand

Joined: Dec 13, 2004
Posts: 109
We have been deploying applications to our IIS development server by simply copying war files to the Tomcat webapps dir. When we use the tomcat management consoles upload facility to do the same thing Tomcat always hangs when restarting. The war files are build by ANT on a windows development machine. Are we missing something that is required to upload a war via the management console?

Thanks for any help or advice, we're stuck.

-=beeky
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

I faintly (& could be imagining it) remember a bug in the ISAPI for IIS a while back that corrupted either binary or large files (or both).

Can you try uploading your war file directly to Tomcat; instead of through IIS and the connector?

Also, if you want some small simple war files to test with, I have a bunch on my own site: http://simple.souther.us.
SimpleServlet is a real small 'Hello, World' servlet app.
They were all built with the 'jar' program that ships with the JDK.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Charles McGuire
Ranch Hand

Joined: Jan 18, 2005
Posts: 99
I faintly remember a bug for deploying .war files using the Tomcat management console on Windows, I think it was in Tomcat 5.0. I'm now using Tomcat 5.5.23 on Linux, and because of a quirk on the project, I have to use the Tomcat management console. So far no problems.


There's no place like 127.0.0.1
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: upload via mgmt console corrupts war?
 
Similar Threads
Registering a Servlet at runtime
How powerful is Tomcat?
Tomcat process gets killed automatically
war file deployment problem
how to change the owner of the war file in tomcat?