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

Server does not start with sun jmx enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 7.1.1.Final
    • Domain Management

      Starting a server in domain mode configured as

      <servers>
        <server name="server-1" group="server-group-1" auto-start="true">
        <system-properties>
          <property name="com.sun.management.jmxremote.port" value="13013"/>
          <property name="com.sun.management.jmxremote.authenticate" value="false"/>
          <property name="com.sun.management.jmxremote.ssl" value="false"/>
      ...
      

      does not work.

      [Server:server-1] WARNING: Failed to load the specified log manager class org.jboss.logmanager.LogManager
      [Server:server-1] Exception in thread "main" java.lang.ExceptionInInitializerError
      [Server:server-1]       at org.jboss.as.server.DomainServerMain.main(DomainServerMain.java:86)
      [Server:server-1]       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      [Server:server-1]       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      [Server:server-1]       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      [Server:server-1]       at java.lang.reflect.Method.invoke(Method.java:597)
      [Server:server-1]       at org.jboss.modules.Module.run(Module.java:260)
      [Server:server-1]       at org.jboss.modules.Main.main(Main.java:291)
      [Server:server-1] Caused by: java.lang.IllegalStateException: The LogManager was not properly installed (you must set the "java.util.logging.manager" system property to "org.jboss.logmanager.LogManager")
      [Server:server-1]       at org.jboss.logmanager.Logger.getLogger(Logger.java:60)
      [Server:server-1]       at org.jboss.logmanager.log4j.BridgeRepositorySelector.<clinit>(BridgeRepositorySelector.java:42)
      [Server:server-1]       ... 7 more
      

      I've seen in https://issues.jboss.org/browse/AS7-1859 that this won't be supported. May I ask why? I think that this is standard java and it should work.

              bstansbe@redhat.com Brian Stansberry
              michael.voegele@cloudops Michael Voegele (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: