The problem seems in the dispatcher of amdatu-web. Servlets are initialized in a new thread, but it does not set the context classloader to the classloader of the filter. This causes problems in the Shindig servlets where the contextclassloader must explicitly be set to the bundle classloader, otherwise 3rd party libraries will try to load the class from the system classloader.

See line 84 of org.amdatu.web.dispatcher.handler.FilterHandlerRegistry:

new Thread(new Runnable() {
  public void run() {
    try {
      filterHandler.init();
    }
    catch (ServletException e) {
      filterHandler.destroy();
    }
  }
  }).start();
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to