Results 1 to 5 of 5
  1. #1
    samjna is offline Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    0

    Default How to Validate the Weblogic Filtering Classloader changes ?

    Hi,

    I am not sure if its the right forum, but just in case if you can help, that would be great.

    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.

  2. #2
    samjna is offline Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    0

    Default Re: How to Validate the Weblogic Filtering Classloader changes ?

    Never mind, I found a solution for it myself. Thanks.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,061
    Rep Power
    4

    Default Re: How to Validate the Weblogic Filtering Classloader changes ?

    Good job! Alas you did prove that you are perfectly capable of solving stuff yourself if you invest the time, the next time you'll have to admit to that right away in stead of going to a forum. It sucks to know what you're doing.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    samjna is offline Member
    Join Date
    Oct 2013
    Posts
    3
    Rep Power
    0

    Default Re: How to Validate the Weblogic Filtering Classloader changes ?

    Quote Originally Posted by gimbal2 View Post
    Good job! Alas you did prove that you are perfectly capable of solving stuff yourself if you invest the time, the next time you'll have to admit to that right away in stead of going to a forum. It sucks to know what you're doing.
    Great response! Not sure who let you in to this forum.

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,061
    Rep Power
    4

    Default Re: How to Validate the Weblogic Filtering Classloader changes ?

    You don't take a compliment very well.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Migrating Application from weblogic 8.1 to weblogic 10.0 - Urgent
    By phanindar in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 01-07-2011, 08:47 PM
  2. Custome classloader problem
    By vijayabaskar in forum Advanced Java
    Replies: 10
    Last Post: 05-06-2009, 11:26 AM
  3. classloader
    By vijayabaskar in forum Advanced Java
    Replies: 8
    Last Post: 04-06-2009, 08:08 AM
  4. ClassLoader and JVM
    By Pradeen in forum New To Java
    Replies: 0
    Last Post: 01-19-2009, 06:04 PM
  5. eclipse classloader problem
    By sandor in forum Eclipse
    Replies: 2
    Last Post: 05-10-2007, 03:26 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •