WAR meta-inf/manifest Class-Path jars use which classloader ? - Weblogic

This is a discussion on WAR meta-inf/manifest Class-Path jars use which classloader ? - Weblogic ; If using an expanded EAR structure, my Web App requires some utility classe= s. I can either put these in my :- meta-inf/manifest.mf Class-Path : utility.jar OR web-inf/lib=20 can contain the utility.jar Is there any difference in terms of which ...

+ Reply to Thread
Results 1 to 3 of 3

WAR meta-inf/manifest Class-Path jars use which classloader ?

  1. Default WAR meta-inf/manifest Class-Path jars use which classloader ?


    If using an expanded EAR structure, my Web App requires some utility classe=
    s. I
    can either put these in my :-

    meta-inf/manifest.mf
    Class-Path : utility.jar

    OR

    web-inf/lib=20
    can contain the utility.jar

    Is there any difference in terms of which classloader is used to load these=
    classes,
    the EAR/EJB classloader or the Web App child classloader ?

    What is recommended ?


  2. Default Re: WAR meta-inf/manifest Class-Path jars use which classloader ?

    I have this question too - it appears that 6.1sp2 attempts to use Class-Pat=
    h
    in jars in WEB-INF/lib - what this Class-Path: is supposed to do ???

    Pete <pete.thomas@orange.net> wrote:

    > If using an expanded EAR structure, my Web App requires some utility clas=

    ses. I
    > can either put these in my :-


    > meta-inf/manifest.mf
    > Class-Path : utility.jar


    > OR


    > web-inf/lib=20
    > can contain the utility.jar


    > Is there any difference in terms of which classloader is used to load the=

    se classes,
    > the EAR/EJB classloader or the Web App child classloader ?


    > What is recommended ?


    --=20
    Dimitri


  3. Default Re: WAR meta-inf/manifest Class-Path jars use which classloader ?


    If have found out the answer myself by testing it :-

    A jar in the meta-inf/manifest.mf e.g. Class-Path : utility.jar=20

    will be loaded by the EAR/EJB level classloader

    whereas=20

    web-inf/lib containing utility.jar=20

    will be loaded by the Web App level child classloader.

    ---
    Dimitri Rakitine <dr@dima.dhs.org> wrote:
    >I have this question too - it appears that 6.1sp2 attempts to use Class-Pa=

    th
    >in jars in WEB-INF/lib - what this Class-Path: is supposed to do ???
    >
    >Pete <pete.thomas@orange.net> wrote:
    >
    >> If using an expanded EAR structure, my Web App requires some utility

    >classes. I
    >> can either put these in my :-

    >
    >> meta-inf/manifest.mf
    >> Class-Path : utility.jar

    >
    >> OR

    >
    >> web-inf/lib=20
    >> can contain the utility.jar

    >
    >> Is there any difference in terms of which classloader is used to load

    >these classes,
    >> the EAR/EJB classloader or the Web App child classloader ?

    >
    >> What is recommended ?

    >
    >--=20
    >Dimitri




+ Reply to Thread