OK. The same case that I have. Tried to put the jboss-app.xml in META-INF in the .ears but I it does'n seem to solve the problem, so I think it is a bug.
I also think that it is a bug that the boss-app-file is needed. The default should be not to share classes between ear/jar/wars. Have you submitted the files to demonstrate this problem? On Mon, 2002-05-27 at 01:04, Hunter Hillegas wrote: > I have two ears that represent different versions of an application. They > use the same class names and project hierarchy, and without the scoped > classloading, JBoss sees confuses which class goes with which deployment > descriptor. > > > > From: Marius Kotsbak <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > Date: 26 May 2002 23:48:29 +0200 > > To: Hunter Hillegas <[EMAIL PROTECTED]> > > Cc: JBoss User <[EMAIL PROTECTED]> > > Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingRepositories > > for EARs? > > > > I meant the reason that you need to use the scoped classloading. > > > > On s�n, 2002-05-26 at 23:24, Hunter Hillegas wrote: > >> My problem is that it doesn't seem to work... I'm putting together a test > >> case that exhibits the behavior I am seeing so the developers can take a > >> look at it. > >> > >> Hunter > >> > >>> From: Marius Kotsbak <[EMAIL PROTECTED]> > >>> Date: 26 May 2002 22:53:14 +0200 > >>> To: Hunter Hillegas <[EMAIL PROTECTED]> > >>> Cc: JBoss User <[EMAIL PROTECTED]> > >>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class > >>> LoadingRepositories > >>> for EARs? > >>> > >>> What kind of problem do you have then? > >>> > >>> I don't understand the release-note fully. > >>> > >>> Should META-INF/jboss-app.xml be placed inside the ear? Why do you need > >>> to include the name of the ear in the xml then? > >>> > >>> What is a valid JMX Objectname? Are users supposed to know the > >>> JMX-standard? > >>> > >>> Marius K > >>> > >>> > >>> On s�n, 2002-05-26 at 22:29, Hunter Hillegas wrote: > >>>> 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 _______________________________________________________________ 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
