Project

General

Profile

Actions

TomEE Notes

Tried integrating with TomEE like we do with Tomcat.

This data based on TomEE 1.7.1.

Summary: Integration is not working as expected. Reasons are:

  • TomEE has an inconsistent way of caching TLDs (in particular also by hash of URL[] of the class loader node).

=> First loader with no TLD URLs on its node, prescribes the hierarchy lookup result for all loaders with no TLD URLs on their node.

  • TomEE uses the file name of the deploy location for the Web app as module id with its container system. In z2env this is always "WebContent" (while the WebModule actually uses the unique content path as id).

=> Inconsistent unloading due to wrong id.

Updated by Henning Blohm about 9 years ago · 1 revisions