dogtag 10.8.3 gui does not work in ubuntu 20.04

Bug #1909003 reported by andreas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dogtag-pki (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
In Progress
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned
resteasy3.0 (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
In Progress
Undecided
Unassigned
Groovy
Won't Fix
Undecided
Unassigned

Bug Description

Accessing the GUI creates the following issue:

curl -k https://localhost:8443/ca/
<!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> org.apache.jasper.JasperException: Unable to compile class for JSP</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to compile class for JSP
 org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:605)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:423)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Root Cause</b></p><pre>org.apache.jasper.JasperException: Unable to compile class for JSP
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:621)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Root Cause</b></p><pre>javax.el.ELException: Provider com.sun.el.ExpressionFactoryImpl not found
 javax.el.FactoryFinder.newInstance(FactoryFinder.java:101)
 javax.el.FactoryFinder.find(FactoryFinder.java:197)
 javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:197)
 javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:168)
 org.apache.jasper.compiler.PageInfo.&lt;init&gt;(PageInfo.java:80)
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:120)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:386)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:346)
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Root Cause</b></p><pre>java.lang.ClassNotFoundException: com.sun.el.ExpressionFactoryImpl
 org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
 org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
 javax.el.FactoryFinder.newInstance(FactoryFinder.java:87)
 javax.el.FactoryFinder.find(FactoryFinder.java:197)
 javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:197)
 javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:168)
 org.apache.jasper.compiler.PageInfo.&lt;init&gt;(PageInfo.java:80)
 org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:120)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:386)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:362)
 org.apache.jasper.compiler.Compiler.compile(Compiler.java:346)
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:605)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:400)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
</pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/9.0.31 (Ubuntu)</h3></body></html>

Revision history for this message
andreas (stopsharingmydata) wrote :

this breaks dogtag in multiple ways as the process for renewing certificates (such as the admin certificate) fails.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is fixed in hirsute by building against tomcat servlet:

dogtag-pki (10.10.2-1) unstable; urgency=medium

  * New upstream release.
  * fix-tomcat-paths.diff: Fix some dangling symlinks to point to the
    tomcat9/skel/conf files.
  * control: Add dependencies on openssl.
  * control: Add libjaxp1.3-java to build-depends and pki-base-java
    depends.
  * control, fix-tomcat-jars.diff: Updated to use correct servlet.jar,
    drop libservlet3.1-java from dependencies.
  * control: Move pki-tools to pki-base-java Suggests to avoid a
    circular dependency. (Closes: #977418)
  * use-bash.diff: Force bash only for pkidaemon, where it's actually
    needed, and fix syntax for scripts/config. (Closes: #963049)

 -- Timo Aaltonen <email address hidden> Wed, 16 Dec 2020 15:56:20 +0200

Changed in dogtag-pki (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

would you mind testing the package in the ipa staging ppa:

https://launchpad.net/~freeipa/+archive/ubuntu/staging

Changed in dogtag-pki (Ubuntu Focal):
status: New → In Progress
Changed in dogtag-pki (Ubuntu Groovy):
status: New → In Progress
Timo Aaltonen (tjaalton)
Changed in resteasy3.0 (Ubuntu):
status: New → Fix Released
Changed in resteasy3.0 (Ubuntu Focal):
status: New → In Progress
Changed in resteasy3.0 (Ubuntu Groovy):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

The Groovy Gorilla has reached end of life, so this bug will not be fixed for that release

Changed in dogtag-pki (Ubuntu Groovy):
status: In Progress → Won't Fix
Changed in resteasy3.0 (Ubuntu Groovy):
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.