Hello,

I'm having some difficulty embedding jasper (5.5.23) in a servlet container I've made.

The problem is related to jasper using commons-logging, which uses the context classloader for loading logging related classes.

My initial attempt was to load jasper with the servlet containers classloader, and then invoking init() and service() with the context (webapp) classloader.

But this doesn't work because commons-logging complains about multiple Log definitons when commons-logging is in the webapp.

Is the best method to load jasper through the context classloader? I guess in this case it would also be necesarry to load ant and commons-el through this classloader?

Would this cause problems if a webapp happens to include commons-el (which doesn't make much sense) or ant (which makes more sense)?

Any help appreciated,

-dennis

---------------------------------------------------------------------------
The information in this email is confidential and may be legally protected.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to