0 Replies Latest reply on Sep 13, 2003 9:45 AM by tcn

    web-console: java.security.AccessControlException: access de

    tcn Newbie

      Hi everybody,

      apparently I have to adapt Java's security policy in order to use JBoss' web-console on localhost:8080/web-console.

      The applet on the left throws the following exception:

      Java VM version: 1.4.2_01
      Java VM vendor: Sun Microsystems Inc.
      http://localhost:8080/web-console/Invoker
      java.security.AccessControlException: access denied (java.util.PropertyPermission org.jboss.logging.Logger.pluginClass read)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
      at java.security.AccessController.checkPermission(AccessController.java:401)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1276)
      at java.lang.System.getProperty(System.java:612)
      at org.jboss.logging.Logger.init(Logger.java:338)
      at org.jboss.logging.Logger.(Logger.java:47)
      at org.jboss.console.remote.Util.(Util.java:18)
      at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:50)
      at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:104)
      at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:59)
      at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:63)
      at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:51)
      at org.kde.kjas.server.KJASAppletStub.startApplet(KJASAppletStub.java:254)
      at org.kde.kjas.server.KJASAppletContext.startApplet(KJASAppletContext.java:239)
      at org.kde.kjas.server.KJASProtocolHandler.processCommand(KJASProtocolHandler.java:209)
      at org.kde.kjas.server.KJASProtocolHandler.commandLoop(KJASProtocolHandler.java:84)
      at org.kde.kjas.server.Main.main(Main.java:178)
      java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
      at java.security.AccessController.checkPermission(AccessController.java:401)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
      at java.lang.Thread.getContextClassLoader(Thread.java:1182)
      at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:84)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
      at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:74)
      at org.jboss.console.remote.Util.invoke(Util.java:77)
      at org.jboss.console.remote.AppletRemoteMBeanInvoker.invoke(AppletRemoteMBeanInvoker.java:50)
      at org.jboss.console.navtree.ConsoleTreeModel.loadTree(ConsoleTreeModel.java:104)
      at org.jboss.console.navtree.ConsoleTreeModel.(ConsoleTreeModel.java:59)
      at org.jboss.console.navtree.AdminTreeBrowser.(AdminTreeBrowser.java:63)
      at org.jboss.console.navtree.AppletBrowser.start(AppletBrowser.java:51)
      at org.kde.kjas.server.KJASAppletStub.startApplet(KJASAppletStub.java:254)
      at org.kde.kjas.server.KJASAppletContext.startApplet(KJASAppletContext.java:239)
      at org.kde.kjas.server.KJASProtocolHandler.processCommand(KJASProtocolHandler.java:209)
      at org.kde.kjas.server.KJASProtocolHandler.commandLoop(KJASProtocolHandler.java:84)
      at org.kde.kjas.server.Main.main(Main.java:178)


      Can somebody help me here?

      Thanks
      tcn