Announcement Announcement Module
Collapse
No announcement yet.
Exception loading beans with webLogic jars Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exception loading beans with webLogic jars

    hi,

    I am getting an exception when i am trying to load beans with ApplicationContext.getBeans().
    before i tring to get the beans i load to the class loader the weblogic.jar and wljmxcliect.jar from the the weblogic local installation (<web logic installation root>/server/lib).
    If i copy this jars to anoter directory and then load them there is no exception!!!
    I get this exception with webLogic 92 installation.
    With webLogic 10 installation there is no exception.
    What can be the reason??

  • #2
    More data

    The command is:
    ApplicationContext ctx = new FileSystemXmlApplicationContext(SPRING_FILE);

    The exception is:

    org.springframework.beans.factory.BeanDefinitionSt oreException:
    Unexpected exception parsing XML document from file [D:\SpringWeblogicBean.xml];
    nested exception is java.lang.LinkageError:
    loader constraint violation in interface itable initialization:
    when resolving method "org.apache.xerces.dom.NodeImpl.appendChild(Lo rg/w3c/dom/NodeLorg/w3c/dom/Document;"
    the class loader (instance of ReverseDelegatingClassloader) of the current class, org/apache/xerces/dom/CoreDocumentImpl,
    and the class loader (instance of <bootloader>) for interface
    org/w3c/dom/Document
    have different Class objects for the type org/w3c/dom/Node used in the signature

    Comment

    Working...
    X