geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Laponder (JIRA)" <>
Subject [jira] Commented: (GERONIMO-5198) MultiParentClassLoader caching not found resources
Date Tue, 23 Mar 2010 14:07:27 GMT


Marco Laponder commented on GERONIMO-5198:

We are actually creating a shared lin in the deployment plan, like this:

 <sys:gbean name="AppSharedLib" class="org.apache.geronimo.system.sharedlib.SharedLib">
        <attribute name="classesDirs">var/mydir</attribute>
        <reference name="ServerInfo">

and application specific files in this directory are read from with a getResource(). But if
this fails once (because a file is missing), it keeps  failing because of the not found cache.

Of course any other suggestions to solve this in a different way are welcome

> MultiParentClassLoader caching not found resources
> --------------------------------------------------
>                 Key: GERONIMO-5198
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2
>         Environment: Linux 64 bit
>            Reporter: Marco Laponder
> We have extended the default classpath with a directory by specifying in the deployment
plan an org.apache.geronimo.system.sharedlib.SharedLib gbean. So we are able to read application
specific files from this directory.
> It is possbile for out application the resource  can not be found at a given time, but
the resource exists at a later time because it has been added to the directory. However when
geronimo doesn't find the resource its add its name to the 'resourcesNotFound' map in the in the 2.2 branch.
> The result of this caching is that we cannot find the resource after it has been placed
in the direcotry. Would it be possible to configure this behaviour, clear the not found cache
or is there an other solution to this problem ?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message