As I understand it, yes, the scoped classloading for EAR respositories is what you need.
Read the RC3 release notes on SourceForge for an explanation of how it should work. Hunter > From: Marius Kotsbak <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: 26 May 2002 22:08:03 +0200 > To: [EMAIL PROTECTED] > Cc: Scott M Stark <[EMAIL PROTECTED]> > Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories > for EARs? > > I beleve I could have a need for this functionality. > > I get this error: > > Caused by: org.jboss.deployment.DeploymentException: Bean Person has PK > of type no.polardesign.boostcom.medlemsregister.PersonPK, so it should > have a cmp-field named personID > > I have 2 versions of the Person-bean with the same class name/package. > This error would be correct if it is using the wrong version. But since > they are bound to different jndi-names, jboss should be able to > distinguish between the 2 instances. I think it works ok when only one > of the versions is deployed. Is this a bug or a feature? If it's a > feature, what is it for? > > What is the scoped ear stuff for? Will it solve my problem (if it is > working!). Is there any doc for this setting? I couldn't even find a dtd > for the xml-file (jboss-app.xml) mentioned. > > Is this option for having 2 versions of a bean with the same jndi-name? > > Marius K > Boost Communications A/S > > On s�n, 2002-05-26 at 21:41, Hunter Hillegas wrote: >> Sorry, I should have phrased my question differently. >> >> Do you mean I need to write a Junit test? I have never done anything like >> that... I poked around on the developer site and didn't find a HOWTO or any >> kind of instructions. >> >> Is there any other place I should be looking for that info? >> >> Hunter >> >>> From: "Scott M Stark" <[EMAIL PROTECTED]> >>> Organization: JBoss Group >>> Reply-To: [EMAIL PROTECTED] >>> Date: Sat, 25 May 2002 21:20:25 -0700 >>> To: <[EMAIL PROTECTED]> >>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>> LoadingRepositories >>> for EARs? >>> >>> The simplest one that demonstrates the problem you are having. >>> >>> xxxxxxxxxxxxxxxxxxxxxxxx >>> Scott Stark >>> Chief Technology Officer >>> JBoss Group, LLC >>> xxxxxxxxxxxxxxxxxxxxxxxx >>> ----- Original Message ----- >>> From: "Hunter Hillegas" <[EMAIL PROTECTED]> >>> To: "JBoss User" <[EMAIL PROTECTED]> >>> Sent: Saturday, May 25, 2002 12:03 PM >>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>> LoadingRepositories for EARs? >>> >>> >>>> The same thing occurs if both EARs define unique repositories... The >>>> repositories show up in the JMX HTML console but the same type of >>> exceptions >>>> occur. >>>> >>>> What kind of testcase do you want? >>>> >>>> Hunter >>>> >>> >>> >>> >>> _______________________________________________________________ >>> >>> Don't miss the 2002 Sprint PCS Application Developer's Conference >>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >>> >>> _______________________________________________ >>> JBoss-user mailing list >>> [EMAIL PROTECTED] >>> https://lists.sourceforge.net/lists/listinfo/jboss-user >> >> >> _______________________________________________________________ >> >> Don't miss the 2002 Sprint PCS Application Developer's Conference >> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >> >> _______________________________________________ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
