Suresh Perumal created KARAF-5325:
-------------------------------------
Summary: Karaf uses EEST timezone by default
Key: KARAF-5325
URL: https://issues.apache.org/jira/browse/KARAF-5325
Project: Karaf
Issue Type: Bug
Components: karaf-core
Affects Versions: 4.0.3
Environment: Linux CENT OS 7
karaf : 4.0.3 version
Reporter: Suresh Perumal
Team,
System (Linux OS) uses JST timestamp / timezone. But karaf container by default
refers EEST timezone. How to change it to OS based Timezone.
We have changed the timezone via -Duser.timezone parameter in JVM as part of
export EXTRA_JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/opt/suresh -Duser.timezone=Europe/Sofia"
We have changed this in setevn under <KARAF_HOME>/bin directory. Also ensure
that JVM sends this value or not.
suresh 12405 1 0 07:52 pts/3 00:00:25 /usr/bin/java -server -Xms128M
-Xmx512M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass
-Dcom.sun.management.jmxremote -XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=/opt/suresh *-Duser.timezone=Europe/Sofia*
-Djava.endorsed.dirs=/opt/jdk1.8.0_66/jre/lib/endorsed:/opt/jdk1.8.0_66/lib/endorsed:/opt/suresh/apache-karaf-4.0.3/lib/endorsed
-Djava.ext.dirs=/opt/jdk1.8.0_66/jre/lib/ext:/opt/jdk1.8.0_66/lib/ext:/opt/suresh/apache-karaf-4.0.3/lib/ext
-Dkaraf.instances=/opt/suresh/apache-karaf-4.0.3/instances
-Dkaraf.home=/opt/suresh/apache-karaf-4.0.3
-Dkaraf.base=/opt/suresh/apache-karaf-4.0.3
-Dkaraf.data=/opt/suresh/apache-karaf-4.0.3/data
-Dkaraf.etc=/opt/suresh/apache-karaf-4.0.3/etc
-Djava.io.tmpdir=/opt/suresh/apache-karaf-4.0.3/data/tmp
-Djava.util.logging.config.file=/opt/suresh/apache-karaf-4.0.3/etc/java.util.logging.properties
-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -classpath
/opt/suresh/apache-karaf-4.0.3/lib/boot/org.apache.karaf.diagnostic.boot-4.0.3.jar:/opt/suresh/apache-karaf-4.0.3/lib/boot/org.apache.karaf.jaas.boot-4.0.3.jar:/opt/suresh/apache-karaf-4.0.3/lib/boot/org.apache.karaf.main-4.0.3.jar:/opt/suresh/apache-karaf-4.0.3/lib/boot/org.osgi.core-6.0.0.jar
org.apache.karaf.main.Main
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)