Note that there are some explanatory texts on larger screens.

plurals
  1. POMultiple referenced shared libraries from WebLogic 12c web apps
    primarykey
    data
    text
    <p>I'm trying to use Moxy 2.4.1 (updated JAXB impl) and Jersey 1.17 (updated JAX-RS impl). I have the shared library modules deployed (as libraries) to the server with no problems.</p> <p>In the app (WAR) I'm developing I try to reference them from the weblogic.xml file like so:</p> <pre><code>&lt;library-ref&gt; &lt;library-name&gt;EclipseLink-2.4.1&lt;/library-name&gt; &lt;specification-version&gt;2.4.1&lt;/specification-version&gt; &lt;implementation-version&gt;2.4.1.v20121003-ad44345&lt;/implementation-version&gt; &lt;exact-match&gt;true&lt;/exact-match&gt; &lt;/library-ref&gt; &lt;library-ref&gt; &lt;library-name&gt;Jersey-1.17&lt;/library-name&gt; &lt;specification-version&gt;1.17&lt;/specification-version&gt; &lt;implementation-version&gt;1.17.0&lt;/implementation-version&gt; &lt;exact-match&gt;true&lt;/exact-match&gt; &lt;/library-ref&gt; </code></pre> <p>But only the first referenced library seems to get used. If I use Classloader Analysis Tool (wls-cat) I only see one FilteringClassLoader and the filter pattern only matches the packages for the first shared lib. Switching the order gives me the other library.</p> <p>Looking at <a href="http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd" rel="nofollow">http://xmlns.oracle.com/weblogic/weblogic-web-app/1.4/weblogic-web-app.xsd</a> shows that library-ref is unbounded.</p> <p>Anything I can do besides merging the shared libraries and only using one library-ref per application?</p> <p>Edit: Please note that I am using Shared Libraries (a WebLogic specific feature) and not Optional Packages (a EE standard feature). The definition of a library is the same with both methods but which types of modules can be libraries and how you reference them are different.</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.
 

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