From: Hunter H. <li...@la...> - 2002-05-26 23:04:23
|
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 <ma...@bo...> > Reply-To: jbo...@li... > Date: 26 May 2002 23:48:29 +0200 > To: Hunter Hillegas <li...@la...> > Cc: JBoss User <jbo...@li...> > Subject: Re: [JBoss-user] Do I Not Understand Scoped Class LoadingReposit= ories > for EARs? >=20 > I meant the reason that you need to use the scoped classloading. >=20 > On s=F8n, 2002-05-26 at 23:24, Hunter Hillegas wrote: >> My problem is that it doesn't seem to work... I'm putting together a tes= t >> case that exhibits the behavior I am seeing so the developers can take a >> look at it. >>=20 >> Hunter >>=20 >>> From: Marius Kotsbak <ma...@bo...> >>> Date: 26 May 2002 22:53:14 +0200 >>> To: Hunter Hillegas <li...@la...> >>> Cc: JBoss User <jbo...@li...> >>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>> LoadingRepositories >>> for EARs? >>>=20 >>> What kind of problem do you have then? >>>=20 >>> I don't understand the release-note fully. >>>=20 >>> 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? >>>=20 >>> What is a valid JMX Objectname? Are users supposed to know the >>> JMX-standard? >>>=20 >>> Marius K >>>=20 >>>=20 >>> On s=F8n, 2002-05-26 at 22:29, Hunter Hillegas wrote: >>>> As I understand it, yes, the scoped classloading for EAR respositories= is >>>> what you need. >>>>=20 >>>> Read the RC3 release notes on SourceForge for an explanation of how it >>>> should work. >>>>=20 >>>> Hunter >>>>=20 >>>>> From: Marius Kotsbak <ma...@bo...> >>>>> Reply-To: jbo...@li... >>>>> Date: 26 May 2002 22:08:03 +0200 >>>>> To: jbo...@li... >>>>> Cc: Scott M Stark <Sco...@jb...> >>>>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>>>> LoadingRepositories >>>>> for EARs? >>>>>=20 >>>>> I beleve I could have a need for this functionality. >>>>>=20 >>>>> I get this error: >>>>>=20 >>>>> Caused by: org.jboss.deployment.DeploymentException: Bean Person has = PK >>>>> of type no.polardesign.boostcom.medlemsregister.PersonPK, so it shoul= d >>>>> have a cmp-field named personID >>>>>=20 >>>>> 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 sin= ce >>>>> they are bound to different jndi-names, jboss should be able to >>>>> distinguish between the 2 instances. I think it works ok when only on= e >>>>> of the versions is deployed. Is this a bug or a feature? If it's a >>>>> feature, what is it for? >>>>>=20 >>>>> 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. >>>>>=20 >>>>> Is this option for having 2 versions of a bean with the same jndi-nam= e? >>>>>=20 >>>>> Marius K >>>>> Boost Communications A/S >>>>>=20 >>>>> On s=F8n, 2002-05-26 at 21:41, Hunter Hillegas wrote: >>>>>> Sorry, I should have phrased my question differently. >>>>>>=20 >>>>>> 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. >>>>>>=20 >>>>>> Is there any other place I should be looking for that info? >>>>>>=20 >>>>>> Hunter >>>>>>=20 >>>>>>> From: "Scott M Stark" <Sco...@jb...> >>>>>>> Organization: JBoss Group >>>>>>> Reply-To: jbo...@li... >>>>>>> Date: Sat, 25 May 2002 21:20:25 -0700 >>>>>>> To: <jbo...@li...> >>>>>>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>>>>>> LoadingRepositories >>>>>>> for EARs? >>>>>>>=20 >>>>>>> The simplest one that demonstrates the problem you are having. >>>>>>>=20 >>>>>>> xxxxxxxxxxxxxxxxxxxxxxxx >>>>>>> Scott Stark >>>>>>> Chief Technology Officer >>>>>>> JBoss Group, LLC >>>>>>> xxxxxxxxxxxxxxxxxxxxxxxx >>>>>>> ----- Original Message ----- >>>>>>> From: "Hunter Hillegas" <li...@la...> >>>>>>> To: "JBoss User" <jbo...@li...> >>>>>>> Sent: Saturday, May 25, 2002 12:03 PM >>>>>>> Subject: Re: [JBoss-user] Do I Not Understand Scoped Class >>>>>>> LoadingRepositories for EARs? >>>>>>>=20 >>>>>>>=20 >>>>>>>> The same thing occurs if both EARs define unique repositories... T= he >>>>>>>> repositories show up in the JMX HTML console but the same type of >>>>>>> exceptions >>>>>>>> occur. >>>>>>>>=20 >>>>>>>> What kind of testcase do you want? >>>>>>>>=20 >>>>>>>> Hunter >>>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>>=20 >>>>>>> _______________________________________________________________ >>>>>>>=20 >>>>>>> Don't miss the 2002 Sprint PCS Application Developer's Conference >>>>>>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.= cfm >>>>>>>=20 >>>>>>> _______________________________________________ >>>>>>> JBoss-user mailing list >>>>>>> JBo...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/jboss-user >>>>>>=20 >>>>>>=20 >>>>>> _______________________________________________________________ >>>>>>=20 >>>>>> Don't miss the 2002 Sprint PCS Application Developer's Conference >>>>>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.c= fm >>>>>>=20 >>>>>> _______________________________________________ >>>>>> JBoss-user mailing list >>>>>> JBo...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/jboss-user >>>>>=20 >>>>>=20 >>>>>=20 >>>>> _______________________________________________________________ >>>>>=20 >>>>> Don't miss the 2002 Sprint PCS Application Developer's Conference >>>>> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cf= m >>>>>=20 >>>>> _______________________________________________ >>>>> JBoss-user mailing list >>>>> JBo...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/jboss-user >>>=20 >=20 >=20 >=20 > _______________________________________________________________ >=20 > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm >=20 > _______________________________________________ > JBoss-user mailing list > JBo...@li... > https://lists.sourceforge.net/lists/listinfo/jboss-user |