Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] classloading bug with xom used in servlet

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: Wolfgang Hoschek <whoschek AT lbl.gov>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] classloading bug with xom used in servlet
  • Date: Mon, 2 Feb 2004 21:45:28 -0500

After much wailing and gnashing of teeth, I've managed to reproduce this one. (How do I hate Tomcat? Let me count the ways.) I'll explore some possible solutions and let you know what I find. If they're any class loader experts out there, holler. The basic question is:

What is the safest way to load a binary resource from a JAR archive that works in both a standalone application and a servlet environment?
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page