Mantis - Resin
Viewing Issue Advanced Details
1643 major have not tried 03-12-07 09:32 04-03-07 18:24
westrupp  
ferg  
high  
closed 3.0.23  
fixed  
none    
none 3.1.1  
0001643: Resin class loader doesn't find resources from jar
This bug seems to be occurring in Resin Pro 3.0.23 as reported in:

http://bugs.caucho.com/view.php?id=1095 [^]

We are using Resin Pro 3.0.23. I?m also sending you the configuration file of our host. We did not change the resin.conf file itself, but I assume that this is the file you?re asking for.

The problem seems to occur for several versions now. For an example of the wildcard syntax we are trying to use, see http://jroller.com/page/raible?entry=resin_pro_doesn_t_support. [^] I also read somewhere that the problem is due to Resin?s classloader, which seems to check that the exact resource name is present in a JAR. As you can imagine, a wildcard syntax does not match anything exactly in a JAR file. As my colleague, Leonard, stated, our problem has been reported by someone else already: http://bugs.caucho.com/view.php?id=1095. [^] The status on that bug is ?fixed?, but I?m wondering what the solution is? The reporter created a workaround which fiddles around with classloader settings, but I?m not sure that?s considered a solution.

Notes
(0001809)
ferg   
04-03-07 18:24   
server/249e

Note, the method used to create the jar is important for the test case, i.e. making sure the directory isn't automatically added.