Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Probably can't access application classes from bundles, including Spring classes
  • constant declarations in the bundled XML config files are ignored, these constants need to be set in the application XML config files (struts.xml)

About Run levels

Application bundles should go There are two ways of organizing bundles. If third party bundles will not be used, then the application bundles can just be placed under /WEB-INF/classes/bundles. Bundles in this dir will be started in run level 2, the Apache Felix framework's bundles will be loaded in run level 1. Any other bundle If third parties bundles will be used, or you need to start bundles on different run level, create sub dirs under /WEB-INF/classes/bundles/other with numeric names (starting from "2" because "1" is reserved for Felix), which correspond to the run level number. For example bundles under /WEB-INF/classes/bundles/2 will be started in run level 2, and bundles under /WEB-INF/classes/bundles/3 will be started in run level 3.

...