summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
diff options
context:
space:
mode:
authorawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2008-07-11 01:04:43 +0000
committerawnuk <awnuk@c9f7a03b-bd48-0410-a16d-cbbf54688b0b>2008-07-11 01:04:43 +0000
commit71ac5224a5a8f28b8f5254a166f2b345a2a95493 (patch)
tree907a6ef0129d8e566aa7579afd3527ad4cfc95fe /pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
parent79faed2af8029cb48c891741cc51888dbf8a8f60 (diff)
downloadpki-71ac5224a5a8f28b8f5254a166f2b345a2a95493.tar.gz
pki-71ac5224a5a8f28b8f5254a166f2b345a2a95493.tar.xz
pki-71ac5224a5a8f28b8f5254a166f2b345a2a95493.zip
Fix for bug #243804
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@69 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java')
-rw-r--r--pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java b/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
index 3ea8c68d3..4d84b1fdf 100644
--- a/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
+++ b/pki/base/common/src/com/netscape/cmscore/dbs/CertificateRepository.java
@@ -1915,12 +1915,14 @@ class CertStatusUpdateThread extends Thread {
// block the update while another thread
// (such as the CRL Update) is running
CMS.debug("About to start updateCertStatus");
- synchronized (this) {
+ synchronized (_cr.mCertStatusUpdateThread) {
CMS.debug("Starting updateCertStatus (entered lock)");
_cr.updateCertStatus();
+ CMS.debug("updateCertStatus done");
}
} catch (Exception e) {
+ CMS.debug("updateCertStatus done");
}
try {
sleep(_interval * 1000);