xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] classloading bug with xom used in servlet
- From: Bill de hÓra <bill AT dehora.net>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] classloading bug with xom used in servlet
- Date: Mon, 02 Feb 2004 21:45:08 +0000
Wolfgang Hoschek wrote:
Above patch works for me but can perhaps be improved - I'm no class loader guru either...
IIRC delegating the request to the system class loader won't work in a servlet container - the system class loader is further up in the chain than the web app class loader that loaded xom. The current thread's loader should also work, but I believe some experimentation will be need to figure out whether to use "/" at the root of the resource path for certain loaders. I've had problems getting resources to load soundly across the gamut of servlet containers, ejb cointainers, ides, junit and ant.
http://www.javaworld.com/javaqa/2003-08/01-qa-0808-property_p.html
has a good overview.
cheers
Bill de hÓra
-
[XOM-interest] classloading bug with xom used in servlet,
Wolfgang Hoschek, 02/02/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, Bill de hÓra, 02/02/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/02/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/02/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
John Cowan, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
- Re: [XOM-interest] classloading bug with xom used in servlet, John Cowan, 02/04/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
John Cowan, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Elliotte Rusty Harold, 02/03/2004
-
Re: [XOM-interest] classloading bug with xom used in servlet,
Bill de hÓra, 02/03/2004
Archive powered by MHonArc 2.6.24.