Bug 1401566

Summary: itext-rups fails to start
Product: [Fedora] Fedora Reporter: Mike Gerber <mike>
Component: itextAssignee: gil cattaneo <puntogil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: andjrobins, java-sig-commits, jochen, puntogil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: itext-2.1.7-34.fc25 itext-2.1.7-34.fc24 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 21:29:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mike Gerber 2016-12-05 15:05:27 UTC
Description of problem:
How reproducible:

itext-rups fails to start with following error:

% itext-rups 
Java virtual machine used: /usr/share/java-utils/java-wrapper
classpath used: /usr/share/java/bcprov.jar:/usr/share/java/bcmail.jar:/usr/share/java/bctsp.jar:/usr/share/java/itext.jar:/usr/share/java/itext-rups.jar:/usr/share/java/dom4j.jar:/usr/share/java/pdf-renderer.jar
main class used: com.lowagie.rups.Rups
flags used: 
options used: '-cp /usr/share/java/bcprov.jar:/usr/share/java/bcmail.jar:/usr/share/java/bctsp.jar:/usr/share/java/itext.jar:/usr/share/java/itext-rups.jar:/usr/share/java/dom4j.jar:/usr/share/java/pdf-renderer.jar'
arguments used: 
Unrecognized option: -cp /usr/share/java/bcprov.jar:/usr/share/java/bcmail.jar:/usr/share/java/bctsp.jar:/usr/share/java/itext.jar:/usr/share/java/itext-rups.jar:/usr/share/java/dom4j.jar:/usr/share/java/pdf-renderer.jar
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


Version-Release number of selected component (if applicable):


itext-rups-2.1.7-33.fc24.noarch


Steps to Reproduce:
1. Start itext-rups in a terminal window

Comment 1 Mike Gerber 2016-12-05 15:06:49 UTC
Suggested and tested fix below – but please review, because I don't know anything about java-wrapper etc.



% diff -u /usr/bin/itext-rups itext-rups 
--- /usr/bin/itext-rups	2016-08-17 15:40:03.000000000 +0200
+++ itext-rups	2016-12-05 15:59:24.762323991 +0100
@@ -13,8 +13,6 @@
 DATADIR=/usr/share/java
 CLASSPATH=${DATADIR}/bcprov.jar:${DATADIR}/bcmail.jar:${DATADIR}/bctsp.jar:${DATADIR}/itext.jar:${DATADIR}/itext-rups.jar:${DATADIR}/dom4j.jar:${DATADIR}/pdf-renderer.jar
 
-set_options "-cp ${CLASSPATH}"
-
 MAIN_CLASS="com.lowagie.rups.Rups"
 
 run

Comment 2 Mike Gerber 2016-12-05 15:09:38 UTC
Related #1301160

Comment 3 Fedora Update System 2016-12-05 22:42:26 UTC
itext-2.1.7-34.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f9aa46d6a0

Comment 4 Fedora Update System 2016-12-05 22:53:29 UTC
itext-2.1.7-34.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-64ca2ac172

Comment 5 Mike Gerber 2016-12-06 06:31:26 UTC
Thanks, the update looks good to me.

Comment 6 Fedora Update System 2016-12-07 02:26:32 UTC
itext-2.1.7-34.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f9aa46d6a0

Comment 7 Fedora Update System 2016-12-07 02:57:38 UTC
itext-2.1.7-34.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-64ca2ac172

Comment 8 Fedora Update System 2016-12-14 21:29:56 UTC
itext-2.1.7-34.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2016-12-14 22:56:50 UTC
itext-2.1.7-34.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.