Hi all,
I've got a weird problem under Tomcat 6 with a vendor supplied application. If I enable the security manager, the application starts fine but as soon as I attempt to access a jsp page within the app, I get a ClassCircularityError.
If I disable the security manager, this no longer occurs.
I originally had a number of security permission exceptions related to osgi. I resolved these by granting the following lines:
permission org.osgi.framework.AdminPermission "", "";
permission org.osgi.framework.PackagePermission "", "export,import";
permission org.osgi.framework.ServicePermission "", "register,get";
Since doing this, the java security errors have stopped, and even running in debug mode I see no failures. But I get this ClassCircularityError.
2010-08-05 06:19:40,060 TP-Processor3, unique_id=TFqQOQq-HPQAADLJdRwAAAAX, time= 1281003577662, uri=/jira/secure/Dashboard.jspa ERROR [500ErrorPage.jsp] Exception caught in 500 page javax/management/remote/JMXPrincipal
java.lang.ClassCircularityError: javax/management/remote/JMXPrincipal
Any advice on what might be causing this or how I go about debugging this would be greatly appreciated!