[jboss-dev-forums] [Design of POJO Server] - Re: VFS Permissions - JBMICROCONT-149

adrian@jboss.org do-not-reply at jboss.com
Thu Nov 6 14:40:00 EST 2008


NOTE: The above java.policy gets passed the aop problem you had Anil
but then fails on the binding manager because I hadn't given any permissions
to the service binding manager that lives in the shared libs (currently server/lib)


  | 19:37:49,508 ERROR [AbstractKernelController] Error installing to Start: name=SystemPropertyBinder state=Create
  | java.security.AccessControlException: access denied (java.util.PropertyPermission jboss.messaging.connector.bisocket.port write)
  |         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
  |         at java.security.AccessController.checkPermission(AccessController.java:427)
  |         at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
  |         at java.lang.System.setProperty(System.java:699)
  |         at org.jboss.services.binding.SystemPropertyBinder$1.run(SystemPropertyBinder.java:68)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.services.binding.SystemPropertyBinder.start(SystemPropertyBinder.java:64)
  |         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:585)
  |         at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
  |         at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
  |         at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  |         at org.jboss.kernel.plugins.dependency.DispatchJoinPoint.run(DispatchJoinPoint.java:47)
  |         at java.security.AccessController.doPrivileged(Native Method)
  |         at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:54)
  | 

Which brings up the question whether the bootstrap files should be looking
at the shared lib folder and if so whether we should move more jars
from /lib into it.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187503#4187503

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187503



More information about the jboss-dev-forums mailing list