• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

upload via mgmt console corrupts war?

 
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
You showed up just in time for the waffles! And this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!