Uploaded image for project: 'JBoss Remoting'
  1. JBoss Remoting
  2. JBREM-1058

SocketServerInvoker is missing a privileged block

    Details

    • Estimated Difficulty:
      Low

      Description

      ===========================================
      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ron_sigal Ronald Sigal
                  Reporter:
                  anil.saldhana Anil Saldanha
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: