Announcement Announcement Module
Collapse
No announcement yet.
Missing bundle constraints Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Missing bundle constraints

    Phillipe,

    Thanks for confirming that Class.forName isn't being used and the generated code's trying to directly access your application's types.

    Unfortunately this isn't going to work in an OSGi environment or, I suspect, any environment with multiple classloaders as there's no guarantee that your application's types will be visible to the default classloader. The preferred classloading behavior here is to use Class.forName passing in the thread context classloader. This would mean that, assuming the Thread's context classloader has been set correctly (the Platform will do this for you) your application types could be seen.

    A bit of Googling would suggest that others have encountered this problem but, as far as I can tell, it hasn't been resolved. I think it would be worth taking this problem to the Jasper forums and getting their opinion.

    Andy.

    Comment

    Working...
    X