Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-462

Cannot use logback in unsigned Webstart applications

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.12
    • 0.9.11
    • None
    • None

    Description

      The following exception is thrown:

      Failed to instantiate [ch.qos.logback.classic.LoggerContext]
      Reported exception:
      java.security.AccessControlException: access denied (java.util.PropertyPermission logback.statusListenerClass read)
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:345)
      at java.security.AccessController.checkPermission(AccessController.java:555)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
      at java.lang.System.getProperty(System.java:724)
      at ch.qos.logback.classic.util.StatusListenerConfigHelper.installIfAsked(StatusListenerConfigHelper.java:11)
      at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:76)
      at org.slf4j.impl.StaticLoggerBinder.initialize(StaticLoggerBinder.java:70)
      at org.slf4j.impl.StaticLoggerBinder.<init>(StaticLoggerBinder.java:61)
      at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:48)
      at org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
      at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
      at adcaster.administrator.Main.installLookAndFeels(Main.java:54)
      at adcaster.administrator.Main.main(Main.java:35)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302)
      at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248)
      at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1095)
      at com.sun.javaws.Launcher.run(Launcher.java:103)
      at java.lang.Thread.run(Thread.java:713)

      Attachments

        Activity

          People

            logback-dev Logback dev list
            cowwoc Gili
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: