java.lang.ClassCircularityError

2004-05-19 Thread Viktor Matic
We are getting java.lang.ClassCircularityError on the Tomcat 5.0.x (we have tested the same code on a following releases 5.0.18, 5.0.19 and 5.0.24). The java source code, which we have used for the testing purposes, consists of the servlet which use our custom implementation of the

java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
Hi all, I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming. Thanks, Jagadish - Yahoo! for Good Click here to donate to

Re: java.lang.ClassCircularityError

2004-05-19 Thread Jeanfrancois Arcand
Viktor Matic wrote: We are getting java.lang.ClassCircularityError on the Tomcat 5.0.x (we have tested the same code on a following releases 5.0.18, 5.0.19 and 5.0.24). The java source code, which we have used for the testing purposes, consists of the servlet which use our custom implementation

RE: java.lang.ClassCircularityError

2004-05-19 Thread Shapira, Yoav
av Shapira Millennium Research Informatics >-Original Message- >From: Viktor Matic [mailto:[EMAIL PROTECTED] >Sent: Wednesday, May 19, 2004 11:16 AM >To: [EMAIL PROTECTED] >Subject: java.lang.ClassCircularityError > >We are getting java.lang.ClassCircularityError on the To

Re: java.lang.ClassCircularityError

2004-05-19 Thread Viktor Matic
ent out line 65 (which is not crucial for this test) and try it again ClassCircularityError arise on different place, as it can be seen in the following error stack dump: java.lang.ClassCircularityError: com/ingemark/experiments/PermissionName$NameLengthComparator com.ingemark.experiments.

Re: java.lang.ClassCircularityError

2004-05-19 Thread Filip Hanik - Dev
ay 19, 2004 11:04 AM Subject: Re: java.lang.ClassCircularityError On Wed, 2004-05-19 at 17:23, Jeanfrancois Arcand wrote: > > > Well, take a look at org.apache.catalina.security.SecurityUtil. I am > setting the Subject/AccessControlContext there. I think that might

Re: java.lang.ClassCircularityError

2004-05-19 Thread Jeanfrancois Arcand
ne 65 (which is not crucial for this test) and try it again ClassCircularityError arise on different place, as it can be seen in the following error stack dump: java.lang.ClassCircularityError: com/ingemark/experiments/PermissionName$NameLengthCompa

Re: java.lang.ClassCircularityError

2004-05-20 Thread Viktor Matic
On Wed, 2004-05-19 at 18:49, Jeanfrancois Arcand wrote: > > /*This line is in servlet service method*/ > > Subject.doAsPrivileged(subject, new SecuredActions(), null ); > > > > > Yes, that's probably the problem since SecurityUtil has already set that > value. The AccesControlContext alread

Re: java.lang.ClassCircularityError

2004-05-20 Thread Viktor Matic
On Wed, 2004-05-19 at 18:41, Filip Hanik - Dev wrote: > where are your classes? > if you put them in server/lib or server/classes and not in your webapp, > do you still get the error? > > Filip These classes are placed in the webapp directory together with application that use them. This approach

Re: java.lang.ClassCircularityError

2004-05-20 Thread Jeanfrancois Arcand
Viktor Matic wrote: On Wed, 2004-05-19 at 18:49, Jeanfrancois Arcand wrote: /*This line is in servlet service method*/ Subject.doAsPrivileged(subject, new SecuredActions(), null ); Yes, that's probably the problem since SecurityUtil has already set that value. The AccesControlContext

Re: java.lang.ClassCircularityError

2004-05-24 Thread Viktor Matic
> This is probably related to the subject configuration. Can you create a > small test case that reproduce the problem? I will be able to better see > what's happening. I have tried to compose a simple test which simulates the real thing, but I did not succeed to reproduce the error. For simplic

Re: java.lang.ClassCircularityError

2004-05-24 Thread Viktor Matic
> This is probably related to the subject configuration. Can you create a > small test case that reproduce the problem? I will be able to better see > what's happening. I have tried to compose a simple test which simulates the real thing, but I did not succeed to reproduce the error. For simplic

Re: java.lang.ClassCircularityError

2004-05-24 Thread Filip Hanik - Dev
glad you got it working!! the class loaders were referencing each other in a cirular way. Filip - Original Message - From: "Viktor Matic" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 1:48 AM Subject: Re:

Re: java.lang.ClassCircularityError

2004-05-25 Thread Viktor Matic
On Mon, 2004-05-24 at 20:58, Filip Hanik - Dev wrote: > glad you got it working!! > the class loaders were referencing each other in a cirular way. Does it means that I have done some thing wrong or it is bug which will be resolved? If it is a bug, do you know when it will be resolved (in which

Re: java.lang.ClassCircularityError

2005-10-05 Thread Andoni
it may be best to draw out the class tree. Specially if it is complicated. Hope that helps. Andoni. - Original Message - From: Jagadeesha T To: tomcat-user@jakarta.apache.org Sent: Wednesday, October 05, 2005 9:01 AM Subject: java.lang.ClassCircularityError Hi all

Re: java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
ha T To: tomcat-user@jakarta.apache.org Sent: Wednesday, October 05, 2005 9:01 AM Subject: java.lang.ClassCircularityError Hi all, I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is comi

Re: java.lang.ClassCircularityError

2005-10-05 Thread Andoni
Subject: Re: java.lang.ClassCircularityError HI Andoni, Thanks for the reply, It uses association that too unidirectional, I have seen the option in sun forum as have you explained to me. I tried to compile classes like this for just to get that error. This scenario won't co

Re: java.lang.ClassCircularityError

2005-10-05 Thread Leon Rosenberg
ere could be many more than two classes involved so it may be > best to draw out the class tree. Specially if it is complicated. > > Hope that helps. > > Andoni. > > - Original Message - > From: Jagadeesha T > To: tomcat-user@jakarta.apache.org > Sent: Wednesd

Re: java.lang.ClassCircularityError

2005-10-05 Thread Jagadeesha T
assOne { > ... > } > > Obviously there could be many more than two classes involved so it may be > best to draw out the class tree. Specially if it is complicated. > > Hope that helps. > > Andoni. > > - Original Message - > From: Jagadeesha T > To: to

Re: java.lang.ClassCircularityError

2005-10-05 Thread Shankar Unni
Jagadeesha T wrote: I am using Tomcat 5.0 with JBoss 3.2.6. In a very rare cases I got the error as java.lang.ClassCircularityError(myclass). Does anybody know wahy this error is coming. There seems to be a well-known Java bug (1.3.x and 1.4.x, fixed in 1.5) that affects JBoss 3.x

Re: java.lang.ClassCircularityError

2005-10-10 Thread Shankar Unni
Caldarale, Charles R wrote: According to the bug report, this is only fixed in Mustang (6.0), not 5.0 (aka 1.5). Ooh, my bad (misread of the fixed release..). Thanks.. - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: Re: java.lang.ClassCircularityError

2005-10-05 Thread Caldarale, Charles R
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Shankar Unni > Subject: Re: java.lang.ClassCircularityError > > There seems to be a well-known Java bug (1.3.x and 1.4.x, > fixed in 1.5) that affects JBoss 3.x: > http://bugs.sun.com/bugdatabase/view_bug.do;:YfiG?bug_id=469