Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5325

Karaf uses EEST timezone by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Cannot Reproduce
    • 4.0.3
    • None
    • karaf
    • None
    • Linux CENT OS 7
      karaf : 4.0.3 version

    Description

      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

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            perumas Suresh Perumal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: