Wow, I'm really surprised to hear this. Sorry if this is a stupid question, but what is the benefit of class visibility between hotdeploys? Stuffing everything into a single classloader namespace seems like a high price to pay. Any way this 'feature' can be turned off in some sort of 'production mode'?
Thanks, Paul > -----Original Message----- > From: David Jencks [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 16, 2002 4:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Does JBoss3 have Problems Deploying Similar > ejb-jars in Different EARs > > > On 2002.05.16 19:05:43 -0400 Hunter Hillegas wrote: > > Whoah... Really? > > yup > > > > So I can't have two ejb-jars with classes that are named > the same, in > > different ears? > > > > Hmmmm... > > > > We have a content management system with EJBs that we need > to deploy in > > several different customer instance EARs. Are you saying we > can't do that > > without changing the classnames or packaging? > > > > For some reason I thought that each deployed EAR had its > own namespace > > and > > you could do this... > > > > Did I misunderstand you? > > nope. > > You can have lots of copies of the same ejb class deployed > under different > ejb name and jndi names. Just be sure to only deploy one copy of the > class. You might want to deploy the classes before any of > the dd's, and > separate all the dd's from any classes. > > You can't have 2 versions of the same class. They will > interfere, as you > discovered. > > Basically we decided that we would initially support > visibility between > deployment packages with hot-redeploy, since this is a > feature previously > unavailable anywhere as far as I know. Once this is > thoroughly stable and > well tested we will consider whether it is really advisable > to have several > of these sets of UnifiedClassLoaders at once in one vm. For now, you > should run several jboss servers in different vms. > > david jencks > > > > > Hunter > > > > > From: David Jencks <[EMAIL PROTECTED]> > > > Reply-To: [EMAIL PROTECTED] > > > Date: Thu, 16 May 2002 18:59:18 -0400 > > > To: [EMAIL PROTECTED] > > > Subject: Re: [JBoss-user] Does JBoss3 have Problems > Deploying Similar > > ejb-jars > > > in Different EARs > > > > > > JBoss 3 doesnt' support having 2 classes with the same > name, no matter > > how > > > you package them. It does support classes in one ear seeing the > > classes in > > > the other ear(s). > > > > > > david jencks > > > > > > On 2002.05.16 18:03:07 -0400 Hunter Hillegas wrote: > > >> I'm trying to get this damn EAR to deploy and I started > wondering if > > >> JBoss3 > > >> has trouble deploying an EAR if another EAR has a > similar ejb-jar... > > >> > > >> Basically I have two versions of an ejb-jar. One has a > bean with one > > >> extra > > >> CMP variable. > > >> > > >> The first archive deploys just fine. The second one > deploys okay if > > the > > >> first is not deployed. If the first one is deployed and I try to > > deploy > > >> the > > >> second then I get a message that the bean class doesn't > contain an > > >> accessor > > >> for the extra variable that exists in the second ejb-jar... > > >> > > >> Any ideas? > > >> > > >> Hunter > > >> > > >> > > >> _______________________________________________________________ > > >> > > >> Have big pipes? SourceForge.net is looking for download > mirrors. We > > >> supply > > >> the hardware. You get the recognition. Email Us: > > >> [EMAIL PROTECTED] > > >> _______________________________________________ > > >> JBoss-user mailing list > > >> [EMAIL PROTECTED] > > >> https://lists.sourceforge.net/lists/listinfo/jboss-user > > >> > > >> > > > > > > _______________________________________________________________ > > > > > > Have big pipes? SourceForge.net is looking for download > mirrors. We > > supply > > > the hardware. You get the recognition. Email Us: > > [EMAIL PROTECTED] > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > _______________________________________________________________ > > > > Have big pipes? SourceForge.net is looking for download mirrors. We > > supply > > the hardware. You get the recognition. Email Us: > > [EMAIL PROTECTED] > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > _______________________________________________________________ > > Have big pipes? SourceForge.net is looking for download > mirrors. We supply > the hardware. You get the recognition. Email Us: > [EMAIL PROTECTED] > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
