[
https://issues.redhat.com/browse/ISPN-12588?page=com.atlassian.jira.plugi...
]
Tristan Tarrant updated ISPN-12588:
-----------------------------------
Description:
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:
{code}
$ ./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/]
{code}
was:
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:
{code}
[pdrobek@localhost redhat-datagrid-8.1.1-server]$ ./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/redhat-datagrid-8.1.1-server/boot/infinispan-server-runtime-11.0.8.Final-redhat-00001-loader.jar,
org.infinispan.server.loader.Loader, org.infinispan.server.Bootstrap, -s,
/home/pdrobek/tmp/servertest/]
{code}
[Server] '-s' startup option is ignored by commons.sh script
------------------------------------------------------------
Key: ISPN-12588
URL:
https://issues.redhat.com/browse/ISPN-12588
Project: Infinispan
Issue Type: Bug
Components: Server
Affects Versions: 12.0.0.Dev07, 11.0.8.Final
Reporter: Pavel Drobek
Assignee: Tristan Tarrant
Priority: Minor
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:
{code}
$ ./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/]
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)