Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-4968

Do not use java.util.logging.Logger

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Won't Do
    • Major
    • None
    • None
    • None
    • None

    Description

      There are many issues which will cause an exception with the message:

      ""The LogManager was not properly installed""

      This is due to the fact that jboss assumes that it is the first to initialize/load java.util.logging.LogManager.
      In case the java LogManager is loaded within a different classloader than the one which is expected by jboss, the server will not start and will log the above error message. Whereas most classes will load the log manager within the system classloader, jboss is loading it within another classloader.

      Therefore setting -Djava.util.logging.manager=org.jboss.logmanager.LogManager does not help.

      This is the case when starting the server with -Dcom.sun.management.jmxremote.
      This is also the case when using a wrapper (sourceforge.net/projects/yajsw)
      or any other java class, wrapper or agent.

      The best solution will be to avoid using java.util.logging as its implementation is causing more harm than good and switch to some internal logging api.

      – Ron

      Attachments

        Activity

          People

            jperkins-rhn James Perkins
            rzorzorzo ron zo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: