Bug 1301160

Summary: itext-toolbox wrapper doesn't work
Product: [Fedora] Fedora Reporter: Andy Lutomirski <luto>
Component: itextAssignee: gil cattaneo <puntogil>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: andjrobins, java-sig-commits, jochen, puntogil
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.1.7-30 itext-2.1.7-30.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-01 02:23:36 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:
Embargoed:

Description Andy Lutomirski 2016-01-22 18:28:52 UTC
itext-toolbox fails:

$ itext-toolbox 
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-toolbox.jar
main class used: com.lowagie.toolbox.Toolbox
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-toolbox.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-toolbox.jar
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.


I think the right fix is to switch to %jpackage_script.  See https://fedoraproject.org/wiki/Packaging:Java#Wrapper_Scripts

Comment 1 Andy Lutomirski 2016-01-22 18:31:18 UTC
FWIW, manually running it works fine:

$ java -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-toolbox.jar com.lowagie.toolbox.Toolbox

Comment 2 Fedora Update System 2016-01-23 13:51:31 UTC
itext-2.1.7-30.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fccd0fb770

Comment 3 Fedora Update System 2016-01-24 04:50:17 UTC
itext-2.1.7-30.fc23 has been pushed to the Fedora 23 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-fccd0fb770

Comment 4 Fedora Update System 2016-02-01 02:23:33 UTC
itext-2.1.7-30.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.