Dogtag PKI Website URL
by Endi Sukma Dewata
Hi,
The Dogtag PKI Website URL has changed as follows:
* Old URL: http://pki.fedoraproject.org
* New URL: http://www.dogtagpki.org
Please use the new URL whenever possible. The old URL should
automatically be redirected to the new URL, so all existing links
should continue to work.
Unfortunately, there was a glitch during the transition yesterday
causing it to be redirected to redhat.com. If you are experiencing
this, you may need to clear the browser cache/history. Please refer
to your browser's documentation since the steps are browser-specific.
Sorry for the inconvenience. Thanks!
--
Endi S. Dewata
6 years, 9 months
Switching to Tomcat 8.5
by Endi Sukma Dewata
Hi,
In the master branch we've added a dependency on Tomcat 8.5
in Fedora 27 or later. The version number has been changed
to PKI 10.6.0-0.2 because of that.
If you have PKI 10.6.0-0.1 packages, it will not work with
Tomcat 8.5. You will need to keep using PKI 10.6.0-0.1 with
Tomcat 8.0, or upgrade both to PKI 10.6.0-0.2 and Tomcat 8.5.
Existing 10.6.0-0.1 instances should continue to work after
upgrade.
Tomcat 8.5 is available here:
https://copr.fedorainfracloud.org/coprs/g/pki/10.6/
PKI 10.6.0-0.2 should be available here:
https://copr.fedorainfracloud.org/coprs/g/pki/10.6-nightly/
If you are submitting a patch to Gerrit, make sure you rebase
the patch against the latest from master branch (10.6.0-0.2).
The CI will test the patch (including everything in your
local branch) against Tomcat 8.5, so if it is still based on
10.6.0-0.1 the CI will fail.
Thanks.
--
Endi S. Dewata
6 years, 9 months
CMS.debug(Throwable e); stack trace suppressed?
by Fraser Tweedale
Hi,
It seems that with the change in logging backend, calls to
CMS.debug(Throwable e) no longer print the stack trace. The name of
the exception is printed by the error message has been suppressed.
I couldn't work out why this is happening but in my working tree I'm
carrying the below change to get the stack traces back. Not sure if
it's a "proper" way to fix it but it's doing the trick.
Cheers,
Fraser
diff --git a/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java b/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java
index 21e964c1a..135ca75bc 100644
--- a/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java
+++ b/base/server/cmscore/src/com/netscape/cmscore/util/Debug.java
@@ -20,6 +20,9 @@ package com.netscape.cmscore.util;
import java.util.Hashtable;
import java.util.StringTokenizer;
+import java.io.StringWriter;
+import java.io.PrintWriter;
+
import org.dogtagpki.util.logging.PKILogger;
import com.netscape.certsrv.apps.CMS;
@@ -167,7 +170,16 @@ public class Debug
if (!TRACE_ON)
return;
- CMS.logger.warn(e.getMessage(), e);
+ /*
+ String msg = e.getMessage(); // may be null
+ if (msg == null)
+ msg = e.toString();
+ CMS.logger.warn(msg, e);
+ */
+ StringWriter sw = new StringWriter();
+ PrintWriter pw = new PrintWriter(sw);
+ e.printStackTrace(pw);
+ CMS.logger.warn(sw.toString());
}
/**
6 years, 9 months