>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.security.Policy to test user rights to execute action. >This code pass JUnit tests and works fine if it is called isolated out >of the Tomcat (called through class with the main method). It also works >fine on Tomcat 4.1.30. >Since improvement list for Tomcat 5.0.x states that Security Manager >support is enhanced from 4.1.x release maybe there is something we are >missing to implement or maybe there is a new bug in the catalina class >loader when it is used with java.security.manager. It is important to >state that out application sets our policy (Policy.setPolicy(new >OurPolicy())). We are pretty sure that we have configured Tomcat >properly because everything works fine on older Tomcat. > > 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?
--------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)