David,
So explain to me where the jarUrls are seen since it seems you don't think
we need to add them here.
Is the new deployer responsible for adding jarUrls (could be I don't know it
seem?) if so is this an additional copy of the jars? I don't see the answers
to these...
please explain, no need to get all insulted it is not about you it is about
our common knowledge.. right now I think your response doesn't share that.
I am sure you are very good, very good, now please tell us where the jarURLs
are added and if not in that extraneous layer then where are they?
These are just questions not a mesure of your pinus and/or intellect
(well...)
marc
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Castro, David
|Sent: Friday, February 23, 2001 12:32 PM
|To: 'JBoss-Dev'
|Subject: RE: [jBoss-Dev] CVS update: jboss/src/main/org/jboss/ejb
|Containe rFactory.java
|
|
|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.
|