Description of problem: for RHEL: ========= We have jsvc binary in extras directory and also in tomcat7/bin directory but we don't have jsvc in tomca6/bin. for Solaris: ============ We don't have jsvc binary in share/extras directory we have it only in share/tomcat7/bin daemon.sh script in tomcat6/bin and tomcat7/bin is setting JSVC="$CATALINA_BASE/bin/jsvc" if environment variable JSVC is not set. Version-Release number of selected component (if applicable): 2.1.0-ER4 Expected results: We should have jsvc binary in the same location through the platforms and tomcatX/daemon.sh scripts should reference jsvc binary in correct place.
Mladen, do you have any suggestions on this?
For Solaris the jsvc binary is inside jboss-ews-2.1/sbin The only thing we are missing is symlink for tomcat6/bin/jsvc which we have for tomcat7. The same should be done for RHEL's tomcat6.
I have added symlink for tomcat6/bin/jsvc for Solaris. Weinan could you do the same for RHEL?
(In reply to Mladen Turk from comment #4) > I have added symlink for tomcat6/bin/jsvc for Solaris. > Weinan could you do the same for RHEL? Thanks for checking Mladen! I'll deal with the symlink for tc6 on rhel
Weinan, please check all RHEL zips. The jsvc is also in extra directory nad in tomcat7/bin. It should be in one place (extra directory probabaly) and symlinks from tomcat7/bin and tomcat6/bin. Thx
Mladen, could you please tell me how do you create the symlink? If I create symlink with relative path, I found it won't be very helpful: master:jboss-ews-2.1 weinanli$ ls -l tomcat6/bin/jsvc lrwxr-xr-x 1 weinanli staff 16 Jul 10 14:19 tomcat6/bin/jsvc -> tomcat7/bin/jsvc Then users can only run jsvc in $JBOSS_EWS_HOME, other locations will fail. IF I create a symlink with absolute path, I found it's hard to determine the absolute path during build time because we can't decide which directory will user put EWS in. So maybe copy the 'jsvc' from tc7 into tc6 is better: master:jboss-ews-2.1 weinanli$ cp tomcat7/bin/jsvc tomcat6/bin/jsvc master:jboss-ews-2.1 weinanli$ find . -name jsvc ./extras/jsvc ./tomcat6/bin/jsvc ./tomcat7/bin/jsvc wdyt?
Inside TomcatX/bin directory I do ln -s ../../../sbin/jsvc jsvc So you can do something like ln -s ../../../shared/extra/jsvc jsvc
Its historic reason i think. We should not change it in last ER.
Patch added into jboss-ews: +# BZ1115525 +rm -rf ./tomcat6/bin/jsvc +rm -rf ./tomcat7/bin/jsvc + +tomcat_vers=("6" "7") +for tomcat_ver in "${tomcat_vers[@]}" +do + pushd tomcat${tomcat_ver}/bin + ln -s ../../extras/jsvc jsvc + popd +done + Will be included in next release.
VERIFIED on: jboss-ews-application-servers-2.1.0-CR2-RHEL5-i386.zip jboss-ews-application-servers-2.1.0-CR2-RHEL5-x86_64.zip jboss-ews-application-servers-2.1.0-CR2-RHEL6-i386.zip jboss-ews-application-servers-2.1.0-CR2-RHEL6-x86_64.zip jboss-ews-application-servers-2.1.0-CR2-RHEL7-ppc64.zip jboss-ews-application-servers-2.1.0-CR2-RHEL7-x86_64.zip jboss-ews-application-servers-2.1.0-CR2-sun10.i386.zip jboss-ews-application-servers-2.1.0-CR2-sun10.sparc64.zip jboss-ews-application-servers-2.1.0-CR2-sun10.x86_64.zip