tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: A dead cat
Date Mon, 09 Dec 2002 14:09:15 GMT
I would just suggest one quick test combination, but I don't have time
to look into the issue in depth: 
- Get JDK 1.4.1
- Since you're using JDK 1.4.x, try running the -LE-jdk14 tomcat
distribution, not the full distro.  The tomcat download page details the
differences between the two.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Simon Kelly []
>Sent: Monday, December 09, 2002 2:59 AM
>To: Tomcat Users List
>Subject: Re: A dead cat
>Thanks for the reply.
>I have started redeploying manually, as you suggested.  This seems to
>working very well so far.  A bit long winded but at least nothing has
>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.
>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
>and ye shall receive)
><?xml version="1.0" encoding="UTF-8"?>
><!DOCTYPE web-app
>    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>    "">
>    <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>
>----- Original Message -----
>From: "Shapira, Yoav" <>
>To: "Tomcat Users List" <>
>Sent: Friday, December 06, 2002 3:06 PM
>Subject: RE: A dead cat
>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 []
>>Sent: Friday, December 06, 2002 4:19 AM
>>Subject: A dead cat
>>I am currently using tomcat as a standalone server to test some
>>I am creating.  I have some experiance with web servers but little or
>>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
>>the first time I had a conflict within the port addressing for tomcat
>>exist database where both were configured to listen on the same port.
>>school boy error really, but when I killed off tomcat and edited the
>>config file to listen on an other port I got Exceptions every time I
>>to restart tomcat.  I uninstalled and then reinstalled tomcat and
>>was working fine for a couple of days.  However! After problem 2
>>same situation has come back with tomcat.  The one thing I have
>>though is that the tomcat.exe in the process list cannot be killed
>>task manager.
>>2)  When tomcat was up and running the second time I managed to get
>>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.
>>tryed to use the manager, but it would not let me even restart the
>>I removed it from the directory and then restarted tomcat.  This time
>>would not even see the file was there and I had to install it using
>>This worked for the first couple of changes, but then this too failed
>>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
>>the last lines I entered.  Is there something I have done wrong in the
>>as it is this error "Mallformed url ..." that I am getting.
>>Kindest regards
>>Institut fuer
>>und Elektronik,
>>Forschungszentrum Karlsruhe GmbH,
>>Postfach 3640,
>>D-76021 Karlsruhe,
>>Tel: (+49)/7247 82-4042
>>E-mail :
>>To unsubscribe, e-mail:   <mailto:tomcat-user-
>>For additional commands, e-mail: <mailto:tomcat-user-
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message