<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -409,19 +409,41 @@ public class ResolverUtil&lt;T&gt; {
             log.trace(&quot;Extracted JAR URL: &quot;, jarUrl);
         }
         else {
+            log.trace(&quot;Not a JAR: &quot;, jarUrl);
             return null;
         }
 
         // Try to open and test it
         try {
             URL testUrl = new URL(jarUrl.toString());
-            if (isJar(testUrl))
+            if (isJar(testUrl)) {
                 return testUrl;
+            }
+            else {
+                // WebLogic fix: check if the URL's file exists in the filesystem.
+                log.trace(&quot;Not a JAR: &quot;, jarUrl);
+                jarUrl.replace(0, jarUrl.length(), testUrl.getFile());
+                File file = new File(jarUrl.toString());
+
+                // File name might be URL-encoded
+                if (!file.exists()) {
+                    file = new File(StringUtil.urlDecode(jarUrl.toString()));
+                }
+
+                if (file.exists()) {
+                    log.trace(&quot;Trying real file: &quot;, file.getAbsolutePath());
+                    testUrl = file.toURI().toURL();
+                    if (isJar(testUrl)) {
+                        return testUrl;
+                    }
+                }
+            }
         }
         catch (MalformedURLException e) {
             log.warn(&quot;Invalid JAR URL: &quot;, jarUrl);
         }
 
+        log.trace(&quot;Not a JAR: &quot;, jarUrl);
         return null;
     }
 </diff>
      <filename>stripes/src/net/sourceforge/stripes/util/ResolverUtil.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>adc5717290d81883e82b68229a52c3b63da60498</id>
    </parent>
  </parents>
  <author>
    <name>bengunter</name>
    <email>bengunter@d471f07e-d8fc-0310-a67b-dd4c8ff0e7cd</email>
  </author>
  <url>http://github.com/juretta/stripes/commit/3a407aac5a3675ce91618ffec42234fafe53613a</url>
  <id>3a407aac5a3675ce91618ffec42234fafe53613a</id>
  <committed-date>2009-11-10T06:16:48-08:00</committed-date>
  <authored-date>2009-11-10T06:16:48-08:00</authored-date>
  <message>Applied fix for STS-723 from 1.5.x branch.

git-svn-id: https://stripes.svn.sourceforge.net/svnroot/stripes/trunk@1217 d471f07e-d8fc-0310-a67b-dd4c8ff0e7cd</message>
  <tree>4753ccd30f6d774f4bbd8399a8f82e2aacec3300</tree>
  <committer>
    <name>bengunter</name>
    <email>bengunter@d471f07e-d8fc-0310-a67b-dd4c8ff0e7cd</email>
  </committer>
</commit>
