Re: [JBoss-dev] java.lang.ClassCircularityError

2002-05-31 Thread Jason Dillon

Does this mean you can reproduce the CCE reliably?

--jason


On Friday 31 May 2002 06:01 am, Dave Smith wrote:
> 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 ...
> >
> > 
> >
> >  > name="candata:service=CCRAPollTest">
> > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> >
> > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > queue/CCRARecvQueue
> >  > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > cn=Ops CCRA-ADRC
> > GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA >te>  > name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet
> >0 false
> > 
> >
> >
> >  > name="candata:service=CCRAPollTestNum2">
> > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> >
> > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > queue/CCRARecvQueue
> >  > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > cn=Ops CCRA-ADRC
> > GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA >te>  > name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet
> >0 false
> > 
> >
> >
> > 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.(Entrust.java)
> > 14:45:15,988 ERROR [STDERR] at
> > com.entrust.toolkit.credentials.CredentialReader.(CredentialReader.
> >java) 14:45:15,990 ERROR [STDERR] at
> > com.entrust.toolkit.credentials.StreamProfileReader.(StreamProfileR
> >eader.java) 14:45:15,992 ERROR [STDERR] at
> > com.candata.gateway.Encryption.(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


___

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



Re: [JBoss-dev] java.lang.ClassCircularityError

2002-05-31 Thread Dave Smith

I have three deploy directorys
deploy
pre-deploy
app-deploy

deploy has the standard jboss stuff 
pre-deploy - this has global classes that are used by my app
app-deploy - these are my application  classes

my  header from my xml startup file which is in app-deploy ..



in my app-deploy directory .. 

HTTPClient.jar,entbase.jar,entp7.jar,entuser.jar,providerutil.jar  - are
third party libs in the app-deploy dir

gateway.jar - this is where the mbeans that are causing the problems are
stored.
cadex-mbeans.jar - these are where other mbeans that are used in the xml
cadex.jar - this is my EJB.


 On Fri, 2002-05-31 at 11:09, Scott M Stark wrote:
> Can you describe how the mbeans and jars are packaged and
> how things are getting loaded/created. Ideally I want to create
> a testcase that produces this problem so we can create a unit
> test.
> 
> 
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> 
> - Original Message -
> From: "Dave Smith" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 31, 2002 6:01 AM
> Subject: Re: [JBoss-dev] java.lang.ClassCircularityError
> 
> 
> > 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 ...
> > >
> > > 
> > >
> > >  > > name="candata:service=CCRAPollTest">
> > > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> > >
> > > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > > queue/CCRARecvQueue
> > >  > > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > > cn=Ops CCRA-ADRC
> > >
> GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
> > >  > >
> name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0 attribute>
> > > false
> > > 
> > >
> > >
> > >  > > name="candata:service=CCRAPollTestNum2">
> > > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> > >
> > > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > > queue/CCRARecvQueue
> > >  > > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > > cn=Ops CCRA-ADRC
> > >
> GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
> > >  > >
> name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0 attribute>
> > > false
> > > 
> > >
> > >
> > > 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.(Entrust.java)
> > > 14:45:15,988 ERROR [STDERR] at
> > >
> com.entrust.toolkit.credentials.CredentialReader.(CredentialReader.jav
> a)
> > > 14:45:15,990 ERROR [STDERR] at
> > >
> com.entrust.toolkit.credentials.StreamProfileReader.(StreamProfileRead
> er.java)
> > > 14:45:15,992 ERROR [STDERR] at
> > > com.candata.gateway.Encryption.(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)
> > >
> > >
> > >
> > >
> > >
> > > ___
> &

Re: [JBoss-dev] java.lang.ClassCircularityError

2002-05-31 Thread Scott M Stark

Can you describe how the mbeans and jars are packaged and
how things are getting loaded/created. Ideally I want to create
a testcase that produces this problem so we can create a unit
test.


Scott Stark
Chief Technology Officer
JBoss Group, LLC

- Original Message -
From: "Dave Smith" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 31, 2002 6:01 AM
Subject: Re: [JBoss-dev] java.lang.ClassCircularityError


> 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 ...
> >
> > 
> >
> >  > name="candata:service=CCRAPollTest">
> > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> >
> > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > queue/CCRARecvQueue
> >  > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > cn=Ops CCRA-ADRC
> >
GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
> >  >
name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
> > false
> > 
> >
> >
> >  > name="candata:service=CCRAPollTestNum2">
> > jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
> >
> > jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
> > queue/CCRARecvQueue
> >  > name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
> > cn=Ops CCRA-ADRC
> >
GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
> >  >
name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
> > false
> > 
> >
> >
> > 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.(Entrust.java)
> > 14:45:15,988 ERROR [STDERR] at
> >
com.entrust.toolkit.credentials.CredentialReader.(CredentialReader.jav
a)
> > 14:45:15,990 ERROR [STDERR] at
> >
com.entrust.toolkit.credentials.StreamProfileReader.(StreamProfileRead
er.java)
> > 14:45:15,992 ERROR [STDERR] at
> > com.candata.gateway.Encryption.(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
>


___

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



Re: [JBoss-dev] java.lang.ClassCircularityError

2002-05-31 Thread Dave Smith

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 ...
> 
> 
> 
>name="candata:service=CCRAPollTest">
> jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
>
> jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
>   queue/CCRARecvQueue
>name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
>   cn=Ops CCRA-ADRC
> GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA  
>
>name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
>   false
>
> 
> 
>  name="candata:service=CCRAPollTestNum2">
> jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
>
> jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
>   queue/CCRARecvQueue
>name="EncryptionJndi">java:/Candata/gateway/EncryptInfo
>   cn=Ops CCRA-ADRC
> GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA  
>
>name="RequestLoc">http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
>   false
>
> 
> 
> 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.(Entrust.java)
> 14:45:15,988 ERROR [STDERR] at
> com.entrust.toolkit.credentials.CredentialReader.(CredentialReader.java)
> 14:45:15,990 ERROR [STDERR] at
> com.entrust.toolkit.credentials.StreamProfileReader.(StreamProfileReader.java)
> 14:45:15,992 ERROR [STDERR] at
> com.candata.gateway.Encryption.(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



[JBoss-dev] java.lang.ClassCircularityError

2002-05-30 Thread Dave Smith

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 ...




jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
   
jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
queue/CCRARecvQueue
java:/Candata/gateway/EncryptInfo
cn=Ops CCRA-ADRC
GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
false
 



jboss.j2ee:service=EJB,jndiName=cadex/CompanyInfo
   
jboss.j2ee:service=EJB,jndiName=cadex/Transferhead
queue/CCRARecvQueue
java:/Candata/gateway/EncryptInfo
cn=Ops CCRA-ADRC
GW+serialNumber=100063,ou=EQUIP,ou=EXTERN,ou=CCRA-ADRC,o=GC,c=CA
http://ciguat.ccra-adrc.gc.ca/CigWasOp/CigWas.CigWasGet0
false
 


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.(Entrust.java)
14:45:15,988 ERROR [STDERR] at
com.entrust.toolkit.credentials.CredentialReader.(CredentialReader.java)
14:45:15,990 ERROR [STDERR] at
com.entrust.toolkit.credentials.StreamProfileReader.(StreamProfileReader.java)
14:45:15,992 ERROR [STDERR] at
com.candata.gateway.Encryption.(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