Menu

#553 jobcenter install includes wrong ant jar

3.4.12
closed-fixed
nobody
9
2010-05-14
2010-05-06
No

The installation inadvertently includes the wrong ant.jar (ant 1.7.0), specifically ant-1.7.0.jar and ant-launcher-1.7.0.jar within the Jobcenter webapp:

Gozer:ctier-3-4-11 greg$ ls pkgs/jetty-6.1.14/webapps/jobcenter/WEB-INF/lib/ant*
pkgs/jetty-6.1.14/webapps/jobcenter/WEB-INF/lib/ant-1.7.0.jar
pkgs/jetty-6.1.14/webapps/jobcenter/WEB-INF/lib/ant-1.7.1p1.jar
...
pkgs/jetty-6.1.14/webapps/jobcenter/WEB-INF/lib/ant-launcher-1.7.0.jar
pkgs/jetty-6.1.14/webapps/jobcenter/WEB-INF/lib/ant-launcher-1.7.1.jar
...

The ant 1.7.0 includes a bug which can cause deadlock during parallel job execution.

workaround: remove any ant 1.7.0 jars from the jobcenter installation lib dir: $CTIER_ROOT/pkgs/jetty-XX/webapps/jobcenter/WEB-INF/lib/

fix: the installer should be updated to correctly remove the older ant files.

Discussion

  • Greg Schueler

    Greg Schueler - 2010-05-06
    • priority: 8 --> 9
     
  • Greg Schueler

    Greg Schueler - 2010-05-06

    rev 935: update install.xml to properly delete ant 1.7.0 jars that grails automatically includes in the war

     
  • Greg Schueler

    Greg Schueler - 2010-05-06
    • milestone: 963641 --> 3.4.12
    • status: open --> closed-fixed
     
  • Greg Schueler

    Greg Schueler - 2010-05-14

    additional: the ant-1.7.1p1.jar included with jobcenter was not the right file, it was the unpatched 1.7.1 jar.

    this needs to be replaced with the correct jar in the jobcenter lib dir, and in the apache-ant-1.7.1p1 distribution included with controltier

     
  • Greg Schueler

    Greg Schueler - 2010-05-14
    • status: closed-fixed --> open-fixed
     
  • Greg Schueler

    Greg Schueler - 2010-05-14

    (webad, 3.4):
    Committed revision 937. replaced the incorrect ant jar with the correct patched version

    (ctl-center, 3.5):
    Committed revision 9983. replaced the incorrect ant jar with the correct patched version

     
  • Greg Schueler

    Greg Schueler - 2010-05-14
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB