SocketServerInvoker is missing a privileged block
-------------------------------------------------
Key: JBREM-1058
URL:
https://jira.jboss.org/jira/browse/JBREM-1058
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: transport
Affects Versions: 2.5.0.SP1 (Flounder)
Reporter: Anil Saldhana
Assignee: Ron Sigal
Fix For: 2.5.0.SP2 (Flounder)
===========================================
12:50:14,672 ERROR [STDERR] access: access denied (java.lang.RuntimePermission
getClassLoader)
12:50:14,672 ERROR [STDERR] java.lang.Exception: Stack trace
12:50:14,672 ERROR [STDERR] at java.lang.Thread.dumpStack(Thread.java:1158)
12:50:14,672 ERROR [STDERR] at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:253)
12:50:14,672 ERROR [STDERR] at
java.security.AccessController.checkPermission(AccessController.java:427)
12:50:14,672 ERROR [STDERR] at
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
12:50:14,672 ERROR [STDERR] at java.lang.ClassLoader.getParent(ClassLoader.java:1224)
12:50:14,672 ERROR [STDERR] at
org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:92)
12:50:14,672 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
12:50:14,672 ERROR [STDERR] at
java.beans.Introspector.instantiate(Introspector.java:1453)
12:50:14,673 ERROR [STDERR] at
java.beans.PropertyEditorManager.findEditor(PropertyEditorManager.java:91)
12:50:14,673 ERROR [STDERR] at
org.jboss.util.propertyeditor.PropertyEditors.mapJavaBeanProperties(PropertyEditors.java:369)
12:50:14,673 ERROR [STDERR] at
org.jboss.remoting.transport.socket.SocketServerInvoker.setup(SocketServerInvoker.java:204)
12:50:14,673 ERROR [STDERR] at
org.jboss.remoting.transport.bisocket.BisocketServerInvoker.setup(BisocketServerInvoker.java:651)
12:50:14,673 ERROR [STDERR] at
org.jboss.remoting.ServerInvoker.create(ServerInvoker.java:949)
12:50:14,673 ERROR [STDERR] at
org.jboss.remoting.transport.Connector.init(Connector.java:432)
========================================================
The SocketServerInvoker needs to deal with the property managers in a priv block. Line
204
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira