Affects: Release Notes project_key: JBPAPP6 This httpd: [jboss-ews-1.0.2-RHEL6-x86_64-httpd.zip|http://download.lab.bos.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-ER8/httpd/jboss-ews-1.0.2-RHEL6-x86_64-httpd.zip] works fine, whereas the current *CR1* EAP 6's httpd ( [jboss-ews-1.0.2-RHEL6-x86_64-httpd.zip|http://download.lab.bos.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-CR1/httpd/jboss-ews-1.0.2-RHEL6-x86_64-httpd.zip] ) doesn't start, error being: {noformat} /tmp/hudson/httpd/sbin/httpd: error while loading shared libraries: /tmp/hudson/httpd/lib/libaprutil-1.so.0: file too short {noformat} Investigation is going on, stay tuned for updates... *(i)Note:* Customer needs to have apr and apr-util installed.
I'm not maintainer for the RHEL packages
APR from RHEL6 (i386) exports:{code}[root@dell-pe860-01 ~]# rpm -ql apr /usr/lib/libapr-1.so.0 /usr/lib/libapr-1.so.0.3.9 /usr/share/doc/apr-1.3.9 /usr/share/doc/apr-1.3.9/CHANGES /usr/share/doc/apr-1.3.9/LICENSE /usr/share/doc/apr-1.3.9/NOTICE [root@dell-pe860-01 ~]#{code}, but mentioned ZIP ([jboss-ews-1.0.2-RHEL6-i386-httpd.zip|http://download.devel.redhat.com/devel/candidates/JBEAP/JBEAP-6.0.0-CR1/httpd/jboss-ews-1.0.2-RHEL6-i386-httpd.zip] from CR1) contains symlinks as jboss-ews-1.0/httpd/lib/libapr-1.so -> /usr/lib/libapr-1.so and jboss-ews-1.0/httpd/lib/libaprutil-1.so -> /usr/lib/libaprutil-1.so - these destination files don't exist from APR package. At least jboss-ews-1.0/httpd/sbin/httpd is linked directly to libapr-1.so.0 (ldd says this), but I didn't verify others. I think at least this issue with unresolvable symlinks should be fixed.
@[~permaine] OK, the reason is quite simple: Httpd packaged with EAP6 ER8 has apr libs included, whereas httpd in EAP6 CR1 contains only links on system files. The box where I was playing with CR1 httpd does not have apr libs installed. This is a major change that has to be documented somewhere. Where should I take libapr for httpd from? EAP6 rpm? EWS rpm? What it the official supported policy on this?
This is to address the fix for JBPAPP-9087. We do not ship the apr nor apr-util RPMS on RHEL 5 and 6 in EWS, we rely on the base RHEL ones. By linking to the system installed libraries, RHEL fixes are picked up automatically. Please assign to the docs team for documentation, so that customers will have apr and apr-util installed on their system for this.
Hi Permaine, well I think the same, but what about [this my comment|https://issues.jboss.org/browse/JBPAPP-9226?focusedCommentId=12698326&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12698326] about unresolvable symlinks?
Pavel, you'll need apr-util installed as well.
Permaine, excuse me, but you didn't catch my point. I've installed apr and apr-util as well, but none of them install to the system FS object /usr/lib/\*.so, only /usr/lib/\*.so.0... I'm missing /usr/lib/libapr-1.so and /usr/lib/libaprutil-1.so whose are linked from JBoss ZIP build of Apache HTTPd.
Sorry, those ones that you mentioned are from apr-devel and apr-util-devel. Please add these 2 to the list as well.
If I can summarize this issue, we do not package apr as part of RHEL EAP/EWS natives, but use apr from base RHEL. The apr binaries which slipped into the ER8 build have been removed now in CR1, which is the right thing to do, and we only have symlinks pointing to the base RHEL libraries. However to have valid symlinks we need the following packages from base RHEL installed. "apr apr-util apr-devel apr-util-devel". This needs to be documented in the installation guide. Hence assigning to Misty. Michal still needs to confirm if including apr-devel and apr-util-devel completely resolved the mentioned issue with symlinks.
Rajesh, I did this verification yesterday already. Permaine is right, *.so (without ".0" suffix) files are deployed via *-devel.rpm packages. So for fully resolvable symlinks from EWS httpd ZIP we have to install these four packages as you mentioned.
Release Notes Docs Status: Added: Not Yet Documented
Affects: Added: Release Notes
Link: Added: This issue is a dependency of JBPAPP-9188
Setting fix version to CR1, this is only a documentation issue, the fix is already pushed to upstream RHEL
Link: Removed: This issue is a dependency of JBPAPP-9188
Release Notes Docs Status: Removed: Not Yet Documented Added: Documented as Known Issue Release Notes Text: Added: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: apr, apr-util, apr-devel, apr-util-devel. The fix for this issue will be shipped via a Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA.
Writer: Added: tomwells
Release Notes Text: Removed: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: apr, apr-util, apr-devel, apr-util-devel. The fix for this issue will be shipped via a Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA. Added: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: apr, apr-util, apr-devel, apr-util-devel. The fix for this issue will be shipped with the Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA.
Release Notes Text: Removed: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: apr, apr-util, apr-devel, apr-util-devel. The fix for this issue will be shipped with the Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA. Added: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: `apr`, `apr-util`, `apr-devel`, `apr-util-devel`. The fix for this issue will be shipped with the Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA.
Release Notes Docs Status: Removed: Documented as Known Issue Writer: Removed: tomwells Release Notes Text: Removed: Apache portable runtime (APR) binaries are not natively packaged as part of JBoss Enterprise Application Platform, or JBoss Enterprise Web Server, for Red Hat Enterprise Linux. Symlinks are used to reference the base Red Hat Enterprise Linux libraries. This can result in an issue with unresolvable symlinks when trying to use APR binaries if the following packages are not installed: `apr`, `apr-util`, `apr-devel`, `apr-util-devel`. The fix for this issue will be shipped with the Red Hat Enterprise Linux APR update against the bugzilla referenced in the JIRA. Docs QE Status: Removed: NEW
Documented as Known Issue