• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to order the jars to be loaded by Classloaders in weblogic

 
hildich kilal
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
We have a situation where there are two classes with exactly same package structure in two different jars.
Now in local and Dev environements (luckily) correct jar is picked first and class loaded correctly.
But in QA weblogic server jars are not picked up in same order.

I would like to know how can I make sure that 2 jars are accessed in a particular order?

I had looked into <classloader-structure> also but couldn't understand much.

So I have 2 jars a.jar and b.jar and I always want to pick a class from a.jar .

Any pointers will be helpful.

Thanks
 
N Sahni
Ranch Hand
Posts: 55
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

This link should give you some pointers regarding Weblogic Class Loading.
 
robin patel
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you try keeping you JARS inside Domain/lib folder?
WebLogic follows dictionary level implementation when it comes to picking up the JARS.

Regards,
Rob
 
hildich kilal
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
robin patel wrote:Can you try keeping you JARS inside Domain/lib folder?
WebLogic follows dictionary level implementation when it comes to picking up the JARS.



Thanks Robin, I will try that and update the forum.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic