Bug 879014

Summary: The mime4j module doesn't have symlinks to .jar files
Product: [Fedora] Fedora Reporter: Juan Hernández <juan.hernandez>
Component: jboss-asAssignee: Marek Goldmann <mgoldman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: mgoldman, smarlow
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-20 15:23:38 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 Juan Hernández 2012-11-21 19:59:35 UTC
Version 7.1.1-9 of the mime4j module of jboss-as package doesn't include the symlinks to the .jar files:

# rpm -q jboss-as
jboss-as-7.1.1-9.fc17.noarch

# rpm -ql jboss-as | grep /usr/share/jboss-as/modules/org/apache/james/mime4j
/usr/share/jboss-as/modules/org/apache/james/mime4j
/usr/share/jboss-as/modules/org/apache/james/mime4j/main
/usr/share/jboss-as/modules/org/apache/james/mime4j/main/module.xml

# find /usr/share/jboss-as/modules/org/apache/james/mime4j
/usr/share/jboss-as/modules/org/apache/james/mime4j
/usr/share/jboss-as/modules/org/apache/james/mime4j/main
/usr/share/jboss-as/modules/org/apache/james/mime4j/main/module.xml

The module descriptors are provided, but not the symlinks to the .jar files.

In addition I think it should contain links to the core, dom and storage .jar files, not only to the core.jar file. The descriptor should be something like this:

<module xmlns="urn:jboss:module:1.1" name="org.apache.james.mime4j">
    <properties>
        <property name="jboss.api" value="private"/>
    </properties>

    <resources>
        <resource-root path="core.jar"/>
        <resource-root path="dom.jar"/>
        <resource-root path="storage.jar"/>
    </resources>

    <dependencies>
        <module name="javax.api"/>
        <module name="org.apache.commons.logging"/>
    </dependencies>
</module>

And the links should be like this:

core.jar -> /usr/share/java/apache-mime4j/core.jar
dom.jar -> /usr/share/java/apache-mime4j/dom.jar
storage.jar -> /usr/share/java/apache-mime4j/storage.jar

Comment 1 Fedora Update System 2012-11-27 14:42:48 UTC
jboss-as-7.1.1-9.1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/jboss-as-7.1.1-9.1.fc17

Comment 2 Fedora Update System 2012-11-28 11:38:37 UTC
Package jboss-as-7.1.1-9.1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jboss-as-7.1.1-9.1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19232/jboss-as-7.1.1-9.1.fc17
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-11-29 10:37:40 UTC
jboss-as-7.1.1-9.3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/jboss-as-7.1.1-9.3.fc17

Comment 4 Fedora Update System 2012-12-20 15:23:49 UTC
jboss-as-7.1.1-9.1.fc17 has been pushed to the Fedora 17 obsolete repository.  If problems still persist, please make note of it in this bug report.