Although not directly related to this PR,  I think this part for endorsing this jar for @Resource(lookup=...) support is no longer needed once Tomaz's JDK7 build requirement PR gets merged. I'll submit a separate PR for removing this part.