A little more digging finds that the mbean uses a thrid party jar that is using the bad Class.forName to load classes. Should this matter? If the mbean is instaniating the object would it's class loader not be the UCL? Any thoughts on where to starting looking to solve this problem? Can not touch the jar or it's contents and getting any changes made are nil.
On the upside the new loader has solved my class locking problems. 1 down 1 to go.. On Thu, 2002-05-30 at 15:05, Dave Smith wrote: > I'm Using Branch_3_0 latest . > Firstly my initial test of the locking code seems to work. I have a > couple of other machines to test it on, I'll keep you posted ... > > If I have two mbeans that are of the same class in an .xml file I get a > java.lang.ClassCircularityError. So ... > > <snip> > > <mbean code="com.candata.gateway.CCRAPoll" > name="candata:service=CCRAPollTest"> > <depends>jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo</depends> > > <depends>jboss.j2ee:service=EJB,jndiName=cadex/Transferhead</depends> > <attribute name="CCRARecvQueueName">queue/CCRARecvQueue</attribute> > <attribute > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo</attribute> > <attribute name="CertLocation">cn=Ops CCRA-ADRC > GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA</attribute> > <attribute > >name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0</attribute> > <attribute name="Production">false</attribute> > </mbean> > > > <mbean code="com.candata.gateway.CCRAPoll" > name="candata:service=CCRAPollTestNum2"> > <depends>jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo</depends> > > <depends>jboss.j2ee:service=EJB,jndiName=cadex/Transferhead</depends> > <attribute name="CCRARecvQueueName">queue/CCRARecvQueue</attribute> > <attribute > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo</attribute> > <attribute name="CertLocation">cn=Ops CCRA-ADRC > GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA</attribute> > <attribute > >name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0</attribute> > <attribute name="Production">false</attribute> > </mbean> > > > Generates the following backtrace on the second mbean .. > > 14:45:15,984 ERROR [STDERR] java.lang.ClassCircularityError: > java/util/Hashtable > 14:45:15,986 ERROR [STDERR] at > com.entrust.toolkit.security.provider.Entrust.<init>(Entrust.java) > 14:45:15,988 ERROR [STDERR] at > com.entrust.toolkit.credentials.CredentialReader.<init>(CredentialReader.java) > 14:45:15,990 ERROR [STDERR] at > com.entrust.toolkit.credentials.StreamProfileReader.<init>(StreamProfileReader.java) > 14:45:15,992 ERROR [STDERR] at > com.candata.gateway.Encryption.<init>(Unknown Source) > 14:45:15,993 ERROR [STDERR] at > com.candata.gateway.CCRAAbstract.getEncryption(Unknown Source) > 14:45:15,995 ERROR [STDERR] at > com.candata.gateway.CCRAAbstract.recvMsg(Unknown Source) > 14:45:15,997 ERROR [STDERR] at > com.candata.gateway.CCRAPoll.run(Unknown Source) > 14:45:15,998 ERROR [STDERR] at java.lang.Thread.run(Thread.java:484) > > > > > > _______________________________________________________________ > > 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-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development _______________________________________________________________ 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-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
