Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12588

[Server] '-s' startup option is ignored by commons.sh script

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 11.0.9.Final, 12.0.0.Final
    • 11.0.8.Final, 12.0.0.Final
    • Server
    • None

      If user starts with server with `-s` flag then the option is ignored by `commons.sh` script. As a result default GC logging is still done in the default server directory:

      $ ./bin/server.sh -s ~/tmp/servertest/
      15:11:53,892 INFO  (main) [BOOT] JVM OpenJDK 64-Bit Server VM Red Hat, Inc. 11.0.9+11
      15:11:53,900 INFO  (main) [BOOT] JVM arguments = [-server, -Xlog:gc*:file=/home/pdrobek/servers/redhat-datagrid-8.1.1-server/server/log/gc.log:time,uptimemillis:filecount=5,filesize=3M, -Xms64m, -Xmx512m, -XX:MetaspaceSize=64M, -Djava.net.preferIPv4Stack=true, -Djava.awt.headless=true, -Dvisualvm.display.name=redhat-datagrid-server, -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager, -Dinfinispan.server.home.path=/home/pdrobek/servers/redhat-datagrid-8.1.1-server, -classpath, :/home/pdrobek/servers/server/boot/infinispan-server-runtime-11.0.8.Final-loader.jar, org.infinispan.server.loader.Loader, org.infinispan.server.Bootstrap, -s, /home/pdrobek/tmp/servertest/]
      

              ttarrant@redhat.com Tristan Tarrant
              pdrobek@redhat.com Pavel Drobek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: