Thanks for the reply. I have started redeploying manually, as you suggested. This seems to be working very well so far. A bit long winded but at least nothing has gone wrong. Just incase it is of any use and may shine some light on the original problem the details of the machine and set up with web.xml are shown below.
Thanks again for you help. Regards Simon Machine: 1G Pentium (Standard off the shelf job) OS: MS Windows 2000 Java: Sun j2sdk1.4.0_02 Tomcat: 4.1.12 web.xml (This is the one for my application. If you ment another just ask and ye shall receive) <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <servlet> <servlet-name> testrun </servlet-name> <servlet-class> FrontServlet </servlet-class> </servlet> <servlet-mapping> <servlet-name> testrun </servlet-name> <url-pattern> /test-index.html </url-pattern> </servlet-mapping> <session-config> <session-timeout> 30 </session-timeout> </session-config> <welcome-file-list> <welcome-file> /index.html </welcome-file> </welcome-file-list> </web-app> ----- Original Message ----- From: "Shapira, Yoav" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Friday, December 06, 2002 3:06 PM Subject: RE: A dead cat Howdy, It is difficult to help specifically, but here are a couple of general notes that may be relevant: 1. Tomcat won't die (actually, the JVM won't die) if you've created any non-daemon threads in your application. If you create such threads, either set them as daemons or ensure their proper termination. 2. I suggest simplifying your deployment process, at least temporarily. Don't use the manager to redeploy. Copy the war file manually each time. Unless you have some special settings, don't enter a <Context> element for your webapp in server.xml. Restart tomcat, ensuring it's dead, between each deployment. If you could post more details, including OS name and version, tomcat version, JDK version, your web.xml file, we could probably help more. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Simon Kelly [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 06, 2002 4:19 AM >To: [EMAIL PROTECTED] >Subject: A dead cat > >Hi, > >I am currently using tomcat as a standalone server to test some webapps >that >I am creating. I have some experiance with web servers but little or no >experiance with tomcat. And I have a couple of major problems. > >1) The cat is dead but won't go away! I have installed tomcat twice now, >the first time I had a conflict within the port addressing for tomcat and >my >exist database where both were configured to listen on the same port. A >school boy error really, but when I killed off tomcat and edited the server >config file to listen on an other port I got Exceptions every time I tried >to restart tomcat. I uninstalled and then reinstalled tomcat and >everything >was working fine for a couple of days. However! After problem 2 occured >the >same situation has come back with tomcat. The one thing I have noticed >though is that the tomcat.exe in the process list cannot be killed using >task manager. > >2) When tomcat was up and running the second time I managed to get the war >file into the webapps dir and it automatically detected it, created a >directory and deployed. However, after a while and during one of the >updates to the app, tomcat seemed to jam and would not reload the app. I >tryed to use the manager, but it would not let me even restart the app. >So, >I removed it from the directory and then restarted tomcat. This time >tomcat >would not even see the file was there and I had to install it using >manager. >This worked for the first couple of changes, but then this too failed and >now tomcat will not respond at all. > >I am going to unistall and reinstall again, but if anyone knows why this is >going wrong I would be most greatful. > >As a side, during the deployment using manager I got the app in by >declaring the path '/katrin' and then giving the file url >'file:/c:/programme/apache group/tomcat 4.1/webapps/katrin.war'. This >worked for a couple of times, but then failed. There are a direct copy of >the last lines I entered. Is there something I have done wrong in the url, >as it is this error "Mallformed url ..." that I am getting. > >Kindest regards > >Simon > >Institut fuer >Prozessdatenverarbeitung >und Elektronik, >Forschungszentrum Karlsruhe GmbH, >Postfach 3640, >D-76021 Karlsruhe, >Germany. > >Tel: (+49)/7247 82-4042 >E-mail : [EMAIL PROTECTED] > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>