Women in Technology

Hear us Roar



Article:
  EJB 2 and J2EE Packaging, Part II
Subject:   Classloader can't find common.jar
Date:   2001-09-15 19:09:23
From:   ericlma
I packaged an ejb.jar, a web.war, a common.jar, and an META-INF/application.xml into an app.ear. Both the ejb.jar and web.war contain a META-INF/manifest.mf file with a Class-Path entry pointing to common.jar. However, when I tried to deploy the app.ear under WebLogic 6.1 it complained about not being able to find the classes included in common.jar. What am I doing wrong?
Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Classloader can't find common.jar
    2002-04-12 09:38:37  itai [View]

    I am having the same problem, how did you fix it??
  • Classloader can't find common.jar
    2003-05-06 07:46:27  anonymous2 [View]

    I had pretty much that same set up working in Weblogic 6.1 sp1 and then when I upgraded to sp3, it did not work any more.
    It looks like it lost support for the web archive's manifest Class-Path. However, you should not have to explicitly include the common.jar in the war's classpath since the web classloader is sibling to the EJB classloader. Siblings always ask the parent first (unless you specify PREFERWEBINF property in the config.xml definition for the war).
  • Classloader can't find common.jar
    2003-12-08 12:08:45  anonymous2 [View]

    Does any one has the solution to above query??? My EJB is not able to find the classes in WAR file.

    Thanks in advance...

    gauz