This discussion is archived
0 Replies Latest reply: Mar 13, 2013 8:20 AM by user5463804 RSS

Weblogic 11g  loads wrong classes after some uptime and load

user5463804 Newbie
Currently Being Moderated
Hi,

We have xmlsec-1.4.5.jar in our web-inf/libs folder which contains some classes that overlap rt.jar (org.jcp.xml.dsig.internal.dom.*). Since this is not in the endorsed directory I would expect it to use the rt.jar classes when running. When the web-app first starts it correctly uses the rt.jar classes but after some uptime and load it eventually incorrectly loads a class from the xmlsec-1.4.5.jar. Any ideas how this can happen? We do have prefer web-inf libs set in the weblogic.xml.

The class is instantiated as a spring bean and it only appears to get initialized once.

Thanks.

sorry i meant to post this in weblogic server general but don't know how to move it. Can an admin please move it.

Edited by: user5463804 on Mar 13, 2013 8:20 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points