project_key: JBEWS Currently, when we include the httpd zips from EWS 2 in EAP, we need to remove a couple of lines for the editing of .conf files that we will be removing from the httpd zips for EAP. If we can add a check before the editing, we do not need to update the postinstall file. As EWS 2.0.0 is close to GA, if we can get this in for EWS 2.0.1, that would be great. (You can see which lines in the postinstall are removed if you look at the jb-eap-6-rhel-6 branch of jboss-eap6-httpd-natives in distgit)
Link: Added: This issue is related to JBPAPP-9993
Link: Added: This issue is related to JBPAPP-9551
Link: Added: This issue relates to JBPAPP-9551
Link: Removed: This issue is related to JBPAPP-9551
Created attachment 739811 [details] add test condition in post install
Hi Mladen, could you please patch the win/sol postinstall file (for zip bundle) as I did in attachment? Thanks!
We are doing this differently for windows/solaris. For windows we already have that rewrite to absolute dir path. For solaris we use /var/cache/ and that cannot be changed. BTW, you should no do that for RHEL as well because its a security risk if you have log and cache in userdir.
The DocText looks wrong...
The current doc is wrong. Here are some suggestions: Cause:JBoss Enterprise Web Server 2 ships mod_snmp and mod_jk but JBoss Enterprise Application Platform don't have these dependencies. So the commands that manipulate mod_snmp and mod_jk in .postinstall are not suitable for JBoss Enterprise Application Platform. Consequence: The .postinstall shipped in JBoss Enterprise Application Platform will not work properly. Fix: Add condition tests in mod_jk and mod_snmp parts of .postinstall. Result: The .postinstall shipped in JBoss Enterprise Application Platform will work properly.
Thank you, Wei Nan and Jean-Frederic. New proposed text is now in the doc_text field.
Sorry Misha, I've made a mistake on the doc: The components affected should be "mod_cluster and mod_snmp" instead of "mod_jk and mod_snmp".
VERIFIED on: jboss-ews-httpd-2.0.1-CR1-RHEL5-i386.zip jboss-ews-httpd-2.0.1-CR1-RHEL5-x86_64.zip jboss-ews-httpd-2.0.1-CR1-RHEL6-i386.zip jboss-ews-httpd-2.0.1-CR1-RHEL6-x86_64.zip
Verified on 2.0.1 CR1 for Solaris and Windows, regarding comm 7