You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2017/12/20 07:52:00 UTC

[jira] [Commented] (KARAF-5325) Karaf uses EEST timezone by default

    [ https://issues.apache.org/jira/browse/KARAF-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16297990#comment-16297990 ] 

Guillaume Nodet commented on KARAF-5325:
----------------------------------------

Where do you see a non default timezone used in Karaf ?
Could you provide more informations ?

> 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
>            Priority: Critical
>
> 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)