Bug 1401566 - itext-rups fails to start
Summary: itext-rups fails to start
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: itext
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: gil cattaneo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 15:05 UTC by Mike Gerber
Modified: 2016-12-14 22:56 UTC (History)
4 users (show)

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:
Clone Of:
Environment:
Last Closed: 2016-12-14 21:29:56 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.