Right now in all jboss 3+ versions the only way to get scoped classloading
is to put whatever should be in a scope in an .ear and include a
jboss-app.xml specifying the loader repository object name next to
application.xml in the ear.  Many .ears can share the same loader
repository.  When the .ear is created, a new loader rep. will be created
using the object name supplied if it does not already exist.  THere are
some examples of jboss-app.xml files in the testsuite.

david jencks

On 2002.09.18 11:39:33 -0400 Brian Macy wrote:
> This thread may be indentifying my problem.... my EJBs are in a jar 
> file, my web client is in a war, and my mbean is in a sar. I want all my 
> deployments to have scoped class loaders.
> 
> I'm gathering from this discussion:
> a) The jar can not have a scoped class loader, needs to be an ear
> b) By default the ?ar files do not use scoped classloaders and it such 
> behavior needs to be turned on in a config file in 3.0.2
> 
> Am I close? If b) is true I please for someone to tell me what the 
> option is and where it goes :)
> 
> Brian Macy
> 
> 
> Scott M Stark wrote:
> > In the 3.2RC1 release scoped class loaders will be the default for
> > ears and sars, maybe wars but you get that with the servlet 2.3
> > class loading model. You will be able to configure shared class loader
> > repositories across deployments if desired.
> > 
> > xxxxxxxxxxxxxxxxxxxxxxxx
> > Scott Stark
> > Chief Technology Officer
> > JBoss Group, LLC
> > xxxxxxxxxxxxxxxxxxxxxxxx
> > 
> > ----- Original Message ----- 
> > From: "David Jencks" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 18, 2002 7:09 AM
> > Subject: Re: [JBoss-dev] ClassLoader frustration
> > 
> > 
> > 
> >>I set up the ulr stuff in 3.2 so it would be really easy to extend to
> other
> >>module types.  Go ahead if you would like it for sars.  In 3.0 branch
> it is
> >>a little harder.  I didn't feel really pressed to do this since you can
> put
> >>any kind of package you want in an .ear and get the same effect.
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.NET email is sponsored by: AMD - Your access to the experts
> > on Hammer Technology! Open Source & Linux Developers, register now
> > for the AMD Developer Symposium. Code: EX8664
> > http://www.developwithamd.com/developerlab
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: AMD - Your access to the experts
> on Hammer Technology! Open Source & Linux Developers, register now
> for the AMD Developer Symposium. Code: EX8664
> http://www.developwithamd.com/developerlab
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 


-------------------------------------------------------
This SF.NET email is sponsored by: AMD - Your access to the experts
on Hammer Technology! Open Source & Linux Developers, register now
for the AMD Developer Symposium. Code: EX8664
http://www.developwithamd.com/developerlab
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to