FEDORA-2016-a266936df7 created by van 5 years ago for Fedora 23
obsolete
  • Load sysconfig from tomcat.conf, resolves: #1311771, #1311905
  • Set default javax.sql.DataSource factory to apache commons one, resolves #1214381

This update has been submitted for testing by van.

5 years ago

This update has been pushed to testing.

5 years ago
User Icon cheimes commented & provided feedback 5 years ago
karma

The new package still doesn't work for Dogtag / FreeIPA. There is still a problem with CATALINA_HOME. I'm running F24 with all latest updates, Tomcat from Koji and self-build Dogtag 1.3.0 packages from git master.

# dnf remove tomcat
# dnf install /tmp/tomcat-*.rpm /home/heimes/packages/RPMS/noarch/pki-*.rpm /home/heimes/packages/RPMS/x86_64/pki-*.rpm
# rpm -qa tomcat pki-base
tomcat-8.0.32-4.fc23.noarch
pki-base-10.3.0-0.4.fc24.noarch

tomcat version works:

# tomcat version
Server version: Apache Tomcat/8.0.32
...

But Dogtag installation still fails because the server can't be started.

# pkispawn
...
Installing CA into /var/lib/pki/pki-tomcat.
Storing deployment configuration into /etc/sysconfig/pki/tomcat/pki-tomcat/ca/deployment.cfg.
pkispawn    : ERROR    ....... server failed to restart
# systemctl status pki-tomcatd
...
Feb 29 09:00:23 dogtag.example.org server[12521]: Java virtual machine used: /usr/lib/jvm/java/bin/java
Feb 29 09:00:23 dogtag.example.org server[12521]: classpath used: /bin/bootstrap.jar:/bin/tomcat-juli.jar:/usr/lib/java/commons-daemon.jar
Feb 29 09:00:23 dogtag.example.org server[12521]: main class used: org.apache.catalina.startup.Bootstrap
Feb 29 09:00:23 dogtag.example.org server[12521]: flags used: -DRESTEASY_LIB=/usr/share/java/resteasy -Djava.library.path=/usr/lib64/nuxwdog-jni
Feb 29 09:00:23 dogtag.example.org server[12521]: options used: -Dcatalina.base=/var/lib/pki/pki-tomcat -Dcatalina.home= -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/l
Feb 29 09:00:23 dogtag.example.org server[12521]: arguments used: stop
Feb 29 09:00:23 dogtag.example.org server[12521]: Error: Could not find or load main class org.apache.catalina.startup.Bootstrap
BZ#1311771 Tomcat 8.0.32 update breaks FreeIPA and Dogtag installations
BZ#1311905 tomcat-8.0.32: tomcat version fails with load error org.apache.catalina.util.ServerInfo
User Icon mbabinsk commented & provided feedback 5 years ago
karma

This breaks also installation of IPA server on F23 from RPMs already present in updates/updates-testing:

# rpm -q freeipa-server tomcat pki-base
freeipa-server-4.2.3-2.fc23.x86_64
tomcat-8.0.32-4.fc23.noarch
pki-base-10.2.6-15.fc23.noarch

The error is similar to that reported by Christian:

Feb 29 09:24:31 master1.ipa.test server[6475]: Java virtual machine used: /usr/lib/jvm/jre/bin/java
Feb 29 09:24:31 master1.ipa.test server[6475]: classpath used: /bin/bootstrap.jar:/bin/tomcat-juli.jar:/usr/lib/java/commons-daemon.jar
Feb 29 09:24:31 master1.ipa.test server[6475]: main class used: org.apache.catalina.startup.Bootstrap
Feb 29 09:24:31 master1.ipa.test server[6475]: flags used: -DRESTEASY_LIB=/usr/share/java/resteasy -Djava.library.path=/usr/lib64/nuxwdog-jni
Feb 29 09:24:31 master1.ipa.test server[6475]: options used: -Dcatalina.base=/var/lib/pki/pki-tomcat -Dcatalina.home= -Djava.endorsed.dirs= -Djava.io.tmpdir=/var/lib/pki/pki-tomcat/temp -Djava.util.logging.confi
Feb 29 09:24:31 master1.ipa.test server[6475]: arguments used: stop
Feb 29 09:24:32 master1.ipa.test server[6475]: Error: Could not find or load main class org.apache.catalina.startup.Bootstrap  
Feb 29 09:24:32 master1.ipa.test systemd[1]: pki-tomcatd@pki-tomcat.service: Control process exited, code=exited status=1
Feb 29 09:24:32 master1.ipa.test systemd[1]: pki-tomcatd@pki-tomcat.service: Unit entered failed state.
Feb 29 09:24:32 master1.ipa.test systemd[1]: pki-tomcatd@pki-tomcat.service: Failed with result 'exit-code'.
BZ#1311771 Tomcat 8.0.32 update breaks FreeIPA and Dogtag installations

This update has been obsoleted.

5 years ago
User Icon pspacek commented & provided feedback 5 years ago
karma

Breaks Dogtag, too bad.


Please login to add feedback.

Metadata
Type
bugfix
Karma
-3
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
disabled
Dates
submitted
5 years ago
in testing
5 years ago
BZ#1214381 tomcat lib package doesn't include tomcat-dbcp.jar (which is required and different from apache-commons-dbcp)
0
0
BZ#1311771 Tomcat 8.0.32 update breaks FreeIPA and Dogtag installations
-2
0
BZ#1311905 tomcat-8.0.32: tomcat version fails with load error org.apache.catalina.util.ServerInfo
0
1

Automated Test Results