0 Replies Latest reply: Oct 1, 2013 1:48 PM by samjna RSS

    ClassLoader Analysis Tool(CAT) doesn't seem to work with WL10.3

    samjna

      Hi,

       

      I have an EJB running on WL10.3. It uses the Apache Commons Pool 1.6 jar to maintain a Pool of the other component sessions. We recently came to know that WL10.3 already has commons-pool.1.3 jar in its default classpath (module directory), so 1.6 jar is not being referenced at all. So we added META-INF\weblogic-application.xml and used the following setting as per the ClassLoader Analysis Tool(CAT) suggestion. We updated the deployment with this and cleared the cache,  restarted, but still the CAT Tool's 'Analyze Conflicts' gives the same suggestion, implying that the changes didn't work. So not sure if this is the problem with the CAT Tool or with the following configuration.

       

      <?xml version="1.0"?>

      <weblogic-application xmlns="http://www.bea.com/ns/weblogic/90"

        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

             <application-param>

                  <param-name>webapp.encoding.default</param-name>

                  <param-value>UTF-8</param-value>

             </application-param>

             <prefer-application-packages>

                  <package-name>org.apache.commons.*</package-name>

             </prefer-application-packages>

      </weblogic-application>

       

      Also, Is there any alternative to verify this change, I checked for commons-pool verbose option, so that we could see more details and track the class files. But I don't see any option available. Can anybody help ?

       

      Thanks.