Re: Configuration update & remaining issue

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Mar 17 2003 - 21:09:10 EST

  • Next message: Andrus Adamchik: "Re: Modeler working again"

    Aside from testing ServletConfiguration, are there any updates to the
    User Guide that we should make?

    Andrus

    On Sunday, March 16, 2003, at 03:17 PM, Holger Hoffstätte wrote:

    >
    > I've checked in my changes to Configuration, ResourceLoader & friends.
    > RL
    > now does much better logging when looking up/loading resources, so that
    > should help for finding problems. Also a simple empty subclasses of
    > DefaultConfiguration can be put into arbitrary packages along with all
    > config files. This works for filesystems as well as JARs. (for me ;-)
    >
    > One thing that I'm not yet completely happy with is the handling of
    > resource loading via ServletContext by BasicServletConfiguration.
    > Servlets
    > supposedly must use this ServletContext to find & load stuff, and
    > there's
    > actually a hardcoded dependency for this in
    > DriverDataSourceFactory:154.
    > Offhand I think the cleanest way to handle this would be a RL subclass
    > ServletContextResourceLoader that acts appropriately. This could make
    > DriverDataSource.getWebAppInputStream() go away and also fix the
    > (intentional) hole in BasicServletConfiguration.getResourceLocator().
    >
    > Any others ideas very welcome, I'm not too familiar with hidden
    > Classloaders/Servlets issues.
    >
    > Holger
    >



    This archive was generated by hypermail 2.0.0 : Mon Mar 17 2003 - 21:12:59 EST