Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <ul> <li>Yes it's classloader issue (application vs. WebLogic classloading)</li> <li><code>guava</code> libraries and <code>com.google.common</code> contains same classes</li> <li>WebLogic has <code>com.google.common_1.0.0.0_0-6.jar</code> or <code>com.google.common_1.1.0.0_0-6.jar</code> in it's classpath, in modules directory. (depending on WebLogic version, but the jar content is same, only META-INF\MANIFEST.MF is different)</li> <li>You cannot find this library in WebLogic <a href="http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#BABHJGJJ">Classloader Analysis Tool</a> (CAT). I'm not sure why is that....</li> <li>Why not using WebLogic built in feature with help of FilteringClassLoaders - <a href="http://docs.oracle.com/cd/E24329_01/web.1211/e24368/classloading.htm#WLPRG315">prefer-application-packages</a> ? </li> </ul> <p>you need to add something like this to your <strong><code>weblogic.xml</code></strong> or <code>weblogic-application.xml</code> if you are in EAR application</p> <pre><code>&lt;wls:container-descriptor&gt; &lt;wls:prefer-application-packages&gt; &lt;wls:package-name&gt;com.google.common.*&lt;/wls:package-name&gt; &lt;/wls:prefer-application-packages&gt; &lt;/wls:container-descriptor&gt; </code></pre> <p>Then redeploy the application. </p> <p>It works for us.</p> <ul> <li>pros: <strong>no need to replace &amp; rename magic</strong> with com.google.common*.jar files... that's a way to suicide... </li> </ul> <p>Hope it helps.</p> <p>For more info, see the link:<br> <a href="http://www.lucubratory.eu/guava-and-weblogic12c/">http://www.lucubratory.eu/guava-and-weblogic12c/</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload