Status: Accepted
Owner: baranowb
CC: EMMartins
Labels: Type-Enhancement Priority-Low Component-JainSLEE
Component-JainSLEE-Core Release-Type-Candidate Version-2.0.00
New issue 1097 by baranowb: Security permission need update
http://code.google.com/p/mobicents/issues/detail?id=1097
What steps will reproduce the problem?
1. setup JSLEE 2.x container + security
2. deploy example from issue 1027
3. wait to blow up
What is the expected output? What do you see instead?
smooth execution, just like in case of tck(which does not fail)
Intead there are exceptions:
java.lang.ExceptionInInitializerError
at
org.jboss.cache.commands.CommandsFactoryImpl.buildRemoveNodeCommand(CommandsFactoryImpl.java:271)
at
org.jboss.cache.invocation.CacheInvocationDelegate.removeNode(CacheInvocationDelegate.java:477)
at
org.jboss.cache.invocation.NodeInvocationDelegate.removeChild(NodeInvocationDelegate.java:355)
at
org.mobicents.slee.runtime.activity.ActivityContextCacheData.detachSbbEntity(ActivityContextCacheData.java:233)
at
org.mobicents.slee.runtime.activity.ActivityContext.detachSbbEntity(ActivityContext.java:351)
at
org.mobicents.slee.runtime.activity.ActivityContextInterfaceImpl.detach(ActivityContextInterfaceImpl.java:177)
at org.mobicents.tests.TimerSbb.onTimerEvent(TimerSbb.java:144)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.mobicents.slee.runtime.sbbentity.SbbEntity$1.run(SbbEntity.java:668)
at java.security.AccessController.doPrivileged(Native Method)
at
org.mobicents.slee.runtime.sbbentity.SbbEntity.invokeEventHandler(SbbEntity.java:666)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.routeQueuedEvent(EventRoutingTask.java:350)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.access$000(EventRoutingTask.java:32)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask$1.run(EventRoutingTask.java:105)
at java.security.AccessController.doPrivileged(Native Method)
at
org.mobicents.slee.runtime.eventrouter.routingtask.EventRoutingTask.run(EventRoutingTask.java:102)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.commons.logging.LogConfigurationException:
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader) (Caused by
java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader))
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:634)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at
org.jboss.cache.commands.write.RemoveNodeCommand.<clinit>(RemoveNodeCommand.java:45)
... 22 more
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission getClassLoader)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.ClassLoader.getParent(Unknown Source)
at
org.apache.commons.logging.impl.LogFactoryImpl.getLowestClassLoader(LogFactoryImpl.java:1250)
at
org.apache.commons.logging.impl.LogFactoryImpl.getBaseClassLoader(LogFactoryImpl.java:1170)
at
org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:972)
at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:782)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
... 26 more
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings