Mantis - Resin
Viewing Issue Advanced Details
2730 major always 06-09-08 23:14 06-12-08 17:32
axeon  
ferg  
normal  
closed 3.1.6  
fixed  
none    
none 3.2.0  
0002730: The library-loader on windows can't used for obfuscated jar.
my application use a obfuscated jar,it obfuscated by proguard 4.2.

the proguard 4.2 set "use mixed-case class names" is true,the class name will be like with "aa,Aa,aA,AA" in same directory.

the resin use <library-loader> tag to load jars,so the application throws exception like this:

[13:54:07.007] {http--8080-8} java.lang.NoClassDefFoundError: sa\sabe\core/bg
[13:54:07.007] {http--8080-8} at sa.sabe.SABE.<clinit>(Unknown Source)
[13:54:07.007] {http--8080-8} at _jsp._www._jpb2c._ajax._flight__jsp._jspService(_flight__jsp.java:59)
[13:54:07.007] {http--8080-8} at com.caucho.jsp.JavaPage.service(JavaPage.java:61)
[13:54:07.007] {http--8080-8} at com.caucho.jsp.Page.pageservice(Page.java:578).java:619)

the same application run on tomcat is very well.

Notes
(0003168)
ferg   
06-11-08 11:15   
Can you mail the obfuscated jar to ferg@caucho.com?
(0003193)
ferg   
06-12-08 17:32   
server/2439

Without the obfuscated jar, I couldn't duplicate the specific issue (the format of the generated class is critical), however, there were locations in the Resin code where we could handle the incorrect '\' in the class as '/'.