A "build.sh all" fails on Linux. There are several compilation errors due to
the fact that contrib/servlet.jar contains some interfaces and classes that are
For example, ServletContext has only two log() methods, neither one being
log(String, Throwable). The API documentation specifies three log() methods for
ServletContext, including the log(String, Throwable) one that is used in some
places in OpenNMS. There are other examples like that.
I checked the j2ee.jar from Sun and it has the same problem (at least in the
Linux download). The source from Sun (actually from jakarta-tomcat) is correct
contrib/servlet.jar should be rebuilt from the correct source files.