I've installed fresh Fedora 22 Server and Dogtag using instructions here:
Right after pkispawn I try to connect to HTTPS server and get the following exception:
type Exception report message An exception occurred processing JSP page /index.jsp at line 135 description The server encountered an internal error that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: An exception occurred processing JSP page /index.jsp at line 135 132: } 133: 134: ServletContext kraContext = getServletContext().getContext("/kra"); 135: String kraName = kraContext.getServletContextName(); 136: String kraPath = kraContext.getContextPath(); 137: if (!"".equals(kraPath) && request.isSecure()) { 138: %> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServl etWrapper.java:571) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:43) java.lang.reflect.Method.invoke(Method.java:497) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:549) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:168) java.security.AccessController.doPrivileged(Native Method) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:43) java.lang.reflect.Method.invoke(Method.java:497) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:549) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:248) root cause java.lang.NullPointerException org.apache.jsp.index_jsp._jspService(index_jsp.java:200) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:43) java.lang.reflect.Method.invoke(Method.java:497) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:549) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:168) java.security.AccessController.doPrivileged(Native Method) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImpl.java:43) java.lang.reflect.Method.invoke(Method.java:497) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:276) org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:273) java.security.AccessController.doPrivileged(Native Method) javax.security.auth.Subject.doAsPrivileged(Subject.java:549) org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:308) org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:248) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.59 logs.
Version-Release number of selected component (if applicable):
# rpm -qa | grep dogtag dogtag-pki-10.2.4-1.fc22.noarch dogtag-pki-console-theme-10.2.4-1.fc22.noarch dogtag-pki-server-theme-10.2.4-1.fc22.noarch
Steps to Reproduce:
1. Install Fedora 22 Server 2. dnf update -y 3. reboot 4. dnf install 389-ds-base dogtag-pki 5. setup-ds.pl --silent\ General.FullMachineName=`hostname`\ General.SuiteSpotUserID=nobody\ General.SuiteSpotGroup=nobody\ slapd.ServerPort=389\ slapd.ServerIdentifier=pki-tomcat\ slapd.Suffix=dc=example,dc=com\ slapd.RootDN="cn=Directory Manager"\ slapd.RootDNPwd=Secret123 6. pkispawn (for CA) 7. pkispawm (for KRA) 8. open https://<IP>:8443
Actual results:
NullPointerException report
Expected results:
Dogtag management interface
Additional info:
Tried to restart service with no luck.
As noted in Bugzilla, the problem has been fixed and verified in 10.2.5. See also ticket #1407.
Metadata Update from @p.malyshev@gmail.com: - Issue set to the milestone: 10.2.5
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/2290
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.