Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4801104

Log configuration could be easier if based in URL

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Future Project
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs



      Name: jl125535 Date: 01/09/2003


      FULL PRODUCT VERSION :
      java version "1.4.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
      Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)


      FULL OPERATING SYSTEM VERSION :


      ADDITIONAL OPERATING SYSTEMS :

      not relevant


      A DESCRIPTION OF THE PROBLEM :
      Trying to use the webstart product, which is great, but you
      need to have everything packaged in a jar file.

      Fair enough, but logging must either specify a file, or class.
      You can't set the bootclasspath, so you can't use a class,
      and if the webstart stuff is in "sandbox", you can't use a file.

      A simple work around would be to use a URL instead of just a
      file. I.e.

      -Djava.util.logging.config.URL=jar:file:/config.jar!javalog.properties

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Try to set custom logging preferences in webstart application
      2. Fail miserably

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER WORKAROUND :
      Can't see any
      (Review ID: 153686)
      ======================================================================

            Unassigned Unassigned
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: