[jira] Commented: (GERONIMO-5198) MultiParentClassLoader caching not found resources

2010-08-02 Thread Marco Laponder (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894834#action_12894834
 ] 

Marco Laponder commented on GERONIMO-5198:
--

In which release will this be fixed ? Do you have an idea for a workaround ? 



> MultiParentClassLoader caching not found resources
> --
>
> Key: GERONIMO-5198
> URL: https://issues.apache.org/jira/browse/GERONIMO-5198
> Project: Geronimo
>  Issue Type: Bug
>  Security Level: public(Regular issues) 
>Affects Versions: 2.2
> Environment: Linux 64 bit
>Reporter: Marco Laponder
> Fix For: 2.2.2
>
>
> 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 MultiParentClassLoader.java:571 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.



[jira] Commented: (GERONIMO-5198) MultiParentClassLoader caching not found resources

2010-03-23 Thread Marco Laponder (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848720#action_12848720
 ] 

Marco Laponder commented on GERONIMO-5198:
--

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

 
var/mydir

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: https://issues.apache.org/jira/browse/GERONIMO-5198
> 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 MultiParentClassLoader.java:571 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.



[jira] Commented: (GERONIMO-5198) MultiParentClassLoader caching not found resources

2010-03-23 Thread Kevan Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/GERONIMO-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848705#action_12848705
 ] 

Kevan Miller commented on GERONIMO-5198:


Is your SharedLib a dependency of your application? Or are you actually 
creating a SharedLib gbean in your application deployment plan?

Understand the general nature of your request. Want to be sure we understand 
you exact environment, also. Will give this some thought...

> MultiParentClassLoader caching not found resources
> --
>
> Key: GERONIMO-5198
> URL: https://issues.apache.org/jira/browse/GERONIMO-5198
> 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 MultiParentClassLoader.java:571 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.