That should not matter as long as the resource name is unique. There
should be a map of resource names to the class loaders that contain
that resource. Once the resource is not found in the ejb jar it should
be mapped to the class loader. This map must be built correctly.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message ----- 
From: "Adrian Brock" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 30, 2002 12:25 PM
Subject: Re: [JBoss-dev] Resource loading


> The problem is, it is in a different classloader.
> The search starts from the ejb (xerces uses the context classloader)
> but the resource is in xercesImpl.jar
> 
> Regards,
> Adrian
> 
> >From: "Scott M Stark" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: <[EMAIL PROTECTED]>
> >Subject: Re: [JBoss-dev] Resource loading
> >Date: Fri, 30 Aug 2002 12:20:19 -0700
> >
> >Mapping a resource name to its class loader should already be in 3.0.1 
> >unless
> >the matching of the resource name is not working.
> >
> >xxxxxxxxxxxxxxxxxxxxxxxx
> >Scott Stark
> >Chief Technology Officer
> >JBoss Group, LLC
> >xxxxxxxxxxxxxxxxxxxxxxxx
> >----- Original Message -----
> >From: "Adrian Brock" <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Friday, August 30, 2002 12:12 PM
> >Subject: [JBoss-dev] Resource loading
> >
> >
> > > Hi,
> > >
> > > Somebody reported a peformance problem in the forums that
> > > is caused by inefficient loading of resources.
> > >
> > > With xerces in server/default/lib, they do
> > > new DomParser(...),
> > > this leads to a




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to