It will work this way, too - it just seems pointless to add yet another
extraneous layer to the ClassLoader stack.
You know, Marc, I do research and test this stuff before I send it in. And
yes, I do understand how the shared classloaders work.
hope that didn't sound too snotty :)
dave
> -----Original Message-----
> From: jBoss CVS Development [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 23, 2001 12:22 PM
> To: [EMAIL PROTECTED]
> Subject: [jBoss-Dev] CVS update: jboss/src/main/org/jboss/ejb
> ContainerFactory.java
>
>
> User: stark
> Date: 01/02/23 10:22:24
>
> Modified: src/main/org/jboss/ejb ContainerFactory.java
> Log:
> Restore 1.64 behavior
>
> Revision Changes Path
> 1.66 +2 -2
> jboss/src/main/org/jboss/ejb/ContainerFactory.java
>
> Index: ContainerFactory.java
> ===================================================================
> RCS file:
> /products/cvs/ejboss/jboss/src/main/org/jboss/ejb/ContainerFac
> tory.java,v
> retrieving revision 1.65
> retrieving revision 1.66
> diff -u -r1.65 -r1.66
> --- ContainerFactory.java 2001/02/23 06:24:17 1.65
> +++ ContainerFactory.java 2001/02/23 18:22:23 1.66
> @@ -78,7 +78,7 @@
> * @author <a
> href="mailto:[EMAIL PROTECTED]">Sebastien Alborini</a>
> * @author Peter Antman ([EMAIL PROTECTED])
> *
> -* @version $Revision: 1.65 $
> +* @version $Revision: 1.66 $
> */
> public class ContainerFactory
> extends org.jboss.util.ServiceMBeanSupport
> @@ -326,7 +326,7 @@
> log.log( "Deploying:" + appUrl );
>
> // create the _real_ classloader for this app
> - ClassLoader cl =
> Thread.currentThread().getContextClassLoader() ;
> + ClassLoader cl = new URLClassLoader( jarUrls,
> Thread.currentThread().getContextClassLoader() );
> app.setClassLoader( cl );
>
> for( int i = 0; i < jarUrls.length; i++ )
>
>
>
>
---------------------------------------------------------------------
This message (including any attachments) contains confidential, proprietary
or privileged information intended for a specific purpose and individual(s),
and is protected by law. If you receive this message in error, please
immediately delete it and all copies of it from your system, destroy any
hard copies of it and notify the sender. Any unauthorized disclosure,
copying or distribution of any part of this message, or the taking of any
unauthorized action based on it, is strictly prohibited.