geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Baumhof (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4981) Admin console abnormal when using java security policy
Date Tue, 02 Feb 2010 07:46:18 GMT


Ralf Baumhof commented on GERONIMO-4981:

On Windows and Ubuntu Linux we have got the same problem with geronimo 2.2. With jdk 1.5 update
20, no error is displayed in log or console. Using jdk 1.6 update 14 the following error msg
is displayed:

java.lang.SecurityException: Es wird versucht, ein Objekt hinzuzufügen, das keine Instanz
von für eine Principal-Gruppe eines Betreffs ist.
	at java.util.Collections$SynchronizedCollection.add(
	at org.apache.catalina.connector.Request.setUserPrincipal(
	at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
	at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
	at org.apache.catalina.core.StandardHostValve.invoke(
	at org.apache.catalina.valves.ErrorReportValve.invoke(
	at org.apache.catalina.valves.AccessLogValve.invoke(
	at org.apache.catalina.core.StandardEngineValve.invoke(
	at org.apache.catalina.connector.CoyoteAdapter.service(
	at org.apache.coyote.http11.Http11Processor.process(
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
	at org.apache.geronimo.pool.ThreadPool$
	at org.apache.geronimo.pool.ThreadPool$
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
	at java.util.concurrent.ThreadPoolExecutor$

The policy file's content is as mentioned:
grant {
and was created with the policy toolkit.

The startup statement which forces the error is:
set JAVA_OPTS=-Xms96m -Xmx256m -XX:MaxPermSize=128M -DGERONIMO_CONF=/d:/home/geronimo2.2/var/config"java.rmi.RMISecurityManager"

> Admin console abnormal when using java security policy
> ------------------------------------------------------
>                 Key: GERONIMO-4981
>                 URL:
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 2.2
>         Environment: OS: Linux x86
> Java: java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
>            Reporter: Forrest Xia
> If you add a file ".java.policy" in your user.home with content as this:
> grant{
> 	permission;
> };
> then start geronimo 2.2, you will find the admin console app is abnormal, there is no
need to login, and no navigation bar shows up.
> But geronimo 2.1.4 has no such problem.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message