Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Jeff Kilbride
sers List" <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 11:42 AM Subject: Re: AW: Java program interferring with Tomcat > > Not with SQL Server. If thread A has a write lock on a table, thread b > will > > wait until the write is completed before reading. If threa

RE: AW: Java program interferring with Tomcat

2001-11-19 Thread Randy Layman
, 2001 2:42 PM > To: Tomcat Users List > Subject: Re: AW: Java program interferring with Tomcat > > > > Not with SQL Server. If thread A has a write lock on a > table, thread b > will > > wait until the write is completed before reading. If > thread A is i

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread David Frankson
> Not with SQL Server. If thread A has a write lock on a table, thread b will > wait until the write is completed before reading. If thread A is in a > transaction that is long running then a perfectly funcitoning application > can seem to hang. Its also possible that some form of infinite loop

RE: AW: Java program interferring with Tomcat

2001-11-19 Thread Randy Layman
> -Original Message- > From: David Frankson [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 19, 2001 1:42 PM > To: Tomcat Users List > Subject: Re: AW: Java program interferring with Tomcat > > > Only Tomcat hangs, the other program continues on.

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Denis Haskin
David Frankson wrote: > 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. Hmm. That's why I asked. Sounds like maybe the

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread David Frankson
ce on Win2k? Dave - Original Message - From: "Denis Haskin" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 19, 2001 12:09 PM Subject: Re: AW: Java program interferring with Tomcat > Ralp

Re: AW: Java program interferring with Tomcat

2001-11-19 Thread Denis Haskin
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 wo

AW: Java program interferring with Tomcat

2001-11-19 Thread Ralph Einfeldt
Sounds like a deadlock on the database. To verify that have a look at the server manager to see if there are locks. Which SQL Server Version do you use? Which transaction level do you use? (java.sql.Connection.getTransactionIsolation()) > -Ursprüngliche Nachricht- > Von: David Franks