Hi,
I am running weblogic 8.1 in compatibility mode in a unix machine. I have user system added in Administrators group in the fileRealm.properties. I have the following acl in the fileRealm.properties.
----------------
acl.unlockServer.weblogic.admin=Administrators user.system=0xb925d776addde243d018a561318650afadb954cc acl.lockServer.weblogic.admin=Administrators acl.unlockuser.weblogic.passwordpolicy=Administrators acl.shutdown.weblogic.admin=Administrators acl.boot.weblogic.server=Administrators,everyone group.Administrators=system
-----------------------------------
server:/data/inp/>java weblogic.Admin -url xxxx -username system -password xxxxxxx SHUTDOWN
Graceful shutdown command issued to the server "peie120Tax20". This command might take time since the server waits for inflight work to finish before shutdown. If you wish to ignore inflight work please use FORCESHUTDOWN command to override inflight work and shutdown the server ...
Server "peie120Tax20" failed to shutdown successfully ...
------------------------------------------------
In the weblogic log I see
<Feb 11, 2005 1:03:06 AM EST> <Debug> <Management> <BEA-141132> <Dynamic invocation while executing action shutdown on tax:Location=aero123,Name=aero123,Type=ServerRuntime MBean instance failed. The method shutdown with signature [int, boolean] was invoked with parameters as [0, false].
weblogic.server.ServerLifecycleException: User principals=[system] is not authorized to shutdown server
at weblogic.t3.srvr.ServerRuntime.shutdown(ServerRuntime.java:541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
I am running weblogic 8.1 in compatibility mode in a unix machine. I have user system added in Administrators group in the fileRealm.properties. I have the following acl in the fileRealm.properties.
----------------
acl.unlockServer.weblogic.admin=Administrators user.system=0xb925d776addde243d018a561318650afadb954cc acl.lockServer.weblogic.admin=Administrators acl.unlockuser.weblogic.passwordpolicy=Administrators acl.shutdown.weblogic.admin=Administrators acl.boot.weblogic.server=Administrators,everyone group.Administrators=system
-----------------------------------
server:/data/inp/>java weblogic.Admin -url xxxx -username system -password xxxxxxx SHUTDOWN
Graceful shutdown command issued to the server "peie120Tax20". This command might take time since the server waits for inflight work to finish before shutdown. If you wish to ignore inflight work please use FORCESHUTDOWN command to override inflight work and shutdown the server ...
Server "peie120Tax20" failed to shutdown successfully ...
------------------------------------------------
In the weblogic log I see
<Feb 11, 2005 1:03:06 AM EST> <Debug> <Management> <BEA-141132> <Dynamic invocation while executing action shutdown on tax:Location=aero123,Name=aero123,Type=ServerRuntime MBean instance failed. The method shutdown with signature [int, boolean] was invoked with parameters as [0, false].
weblogic.server.ServerLifecycleException: User principals=[system] is not authorized to shutdown server
at weblogic.t3.srvr.ServerRuntime.shutdown(ServerRuntime.java:541)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)