users@glassfish.java.net

[Fwd: Error after starting Security Manager]

From: Mei Wu <Mei.Wu_at_Sun.COM>
Date: Thu, 13 Nov 2008 10:50:36 -0500

CC Glassfish user group

attached mail follows:



Hello,

I configured the security manager in glassfish and restarted the
Application server.

The Logfile shows that the Security Manager was started:

SEC1001: Security Manager is ON.
C:/openesb/glassfish-v2-ur2-b04-patch-20080807/domains/domain1/config/.__com_sun_appserv_pid
ADM0001:SunoneInterceptor is now enabled
But now the http Server failed to start :

WEB0302: Starting Sun-Java-System/Application-Server.
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8081
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848

Exception invoking method getSession

java.lang.IllegalStateException: PWC2779: getAttributeNames: Session already invalidated
        at org.apache.catalina.session.StandardSession.getAttributeNames(StandardSession.java:1188)

and ..

PWC1001: Failed to invoke action getSession on MBean com.sun.appserv:type=Manager,path=/web1,host=__asadmin
javax.management.RuntimeOperationsException: Exception invoking method getSession
        at com.sun.org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:511)
Is there something else to configure in glassfish to turn on the security manager ?

Thank you.

Regards, oliver