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

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-05 Thread Jagadeesha T
HI, Thanks for the reply, It is being working correctly all these days. Only once I got this error.After restarting the server worked fine. Only one time I got this error. But I have not done as you mentioned. I am very curious to know why is this suddenly came which was working all these da

Re: java.lang.ClassCircularityError

2005-10-05 Thread Leon Rosenberg
Just some thoughts... if you write two classes A and B B extends A then compile then put B into deployment change B to not extend A and A to extend B, compile A put A into deployment Then you'll probably have your runtime circularity. Try to delete all your class files and recompile your applicat

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 Jagadeesha T
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 compile, It gave me a error saying "cycling inheritence".

Re: java.lang.ClassCircularityError

2005-10-05 Thread Andoni
Hi Jagadish, Do you have a drawing of all your inheritance relationships? This error seems to be caused by a circular inheritance relationship i.e.: class ClassOne extends ClassTwo { ... } class ClassTwo extends ClassOne { ... } Obviously there could be many more than two classes involved so i

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

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-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-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-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 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-19 Thread Jeanfrancois Arcand
Viktor Matic wrote: 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 cause your problem, but I need more info ;-). AnybodyPrincipal is trying to do w

Re: java.lang.ClassCircularityError

2004-05-19 Thread Filip Hanik - Dev
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 - Original Message - From: "Viktor Matic" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, M

Re: java.lang.ClassCircularityError

2004-05-19 Thread Viktor Matic
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 cause > your problem, but I need more info ;-). AnybodyPrincipal is trying to do > what? > > -

RE: java.lang.ClassCircularityError

2004-05-19 Thread Shapira, Yoav
Hi, The error is 6 levels deep in your own class hierarchy. Maybe if you could share some of the relevant code we could help more. I haven't seen this error before (on any tomcat version). I haven't seen it reported here, or anything like it reported for tomcat 5. Hmm ;( Yoav Shapira Millenn

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 of