Hi
I am getting an error when using putMethod to slide using webdav client, on
any but very small files. I have never noticed this before, its been
just fine up until just this past week. I found that someone else had this
problem in an old archive posting; any ideas why its occurring ? The
writing to the stream works fine, its just the flushing of it at the end
just before it closes the stream.
The code in OracleRDBMSAdapter.java is:
try {
byte buffer[] = new byte[4096];
do {
int nChar = is.read(buffer);
if (nChar == -1) {
break;
}
os.write(buffer, 0, nChar);
} while (true);
} finally {
os.flush(); // <<<--- this fails
os.close();
}
--------------------------------cut here------------------------------------
java.io.IOException: ORA-00060: deadlock detected while waiting for resource
oracle.jdbc.driver.DatabaseError.SQLToIOException(DatabaseError.java:557)
oracle.jdbc.driver.OracleBlobOutputStream.flushBuffer(OracleBlobOutputStream
.java:216)
oracle.jdbc.driver.OracleBlobOutputStream.flush(OracleBlobOutputStream.java:
org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter.storeContent(OracleRDBM
SAdapter.java:164)
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]