Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#199 Tomcat port is missing jmxremote_optional.jar

v3.0
closed-fixed
Laurent Cohen
Samples (5)
5
2012-03-11
2012-02-24
Laurent Cohen
No

The build script for the Tomcat port sample does not add the jmxmp library, jmxremote_optional.jar.
To fix this, we need to add a <include name="jmxremote_optional.jar"/> to the classpath defintion in the build.xml :

<path id="project.classpath">
<pathelement location="${classes.dir}"/>
<fileset dir="${lib.dir}">
...
<include name="jmxremote_optional.jar"/>
</fileset>
</path>

Discussion

  • Laurent Cohen
    Laurent Cohen
    2012-02-24

    In fact, we need to add the filset element to the "war" ant task, please discard my previous comment:

    <war warfile="${build.dir}/${war.file}" webxml="${web.inf.dir}/web.xml">
    <zipfileset dir="${docroot.dir}" includes="**/*.*"/>
    <lib dir="${lib.dir}">
    ...
    <include name="jmxremote_optional.jar"/>
    </lib>
    <classes dir="${classes.dir}"/>
    </war>

     
  • Laurent Cohen
    Laurent Cohen
    2012-03-11

    • status: open --> closed-fixed
     
  • Laurent Cohen
    Laurent Cohen
    2012-03-11

    Fixed, changes committed to SVN:
    turnk revision 2064
    branch b3.0 revision 2063