tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Frankson" <dfrank...@qwest.net>
Subject Re: AW: Java program interferring with Tomcat
Date Mon, 19 Nov 2001 18:42:22 GMT
    Only Tomcat hangs, the other program continues on.  I thought a database
deadlock only happens when both threads are trying to write and holding a
lock on each other's data?  The external java process is read-only.

How do you do a thread-dump on when you are running Tomcat as a service on
Win2k?

Dave


----- Original Message -----
From: "Denis Haskin" <Denis@HaskinFerguson.net>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>;
<dfrankson@qwest.net>
Sent: Monday, November 19, 2001 12:09 PM
Subject: Re: AW: Java program interferring with Tomcat


> Ralph Einfeldt wrote:
>
> > Sounds like a deadlock on the database.
> >
> > To verify that have a look at the server manager
> > to see if there are locks.
>
> I agree with Ralph, that the problem is probably in your SQL access.
>
> Do *both* processes hang (e.g. Tomcat & the scheduled job) or only
> Tomcat?
>
> I would also look at a thread dump to see what thread is locked & where.
> Go to the window in which Tomcat is running and do a Control-Break.  This
> is usually easier if you've started Tomcat with "run", not "start".
>
> dwh
>
>
> --
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message