title: tomcat showing incorrect time
body: <p>I Have a set of war files installed which is executed from tomcat.</p>
  
  <p>The problem is that tomcat is not picking up the right time .. </p>
  
  <p>As indicated in the log files</p>
  
  <pre><code>    Apr 18, 2018 12:02:14 AM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server version:        Apache Tomcat/7.0.76
  Apr 18, 2018 12:02:14 AM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server built:          Oct 30 2017 10:21:55 UTC
      Apr 18, 2018 12:02:14 AM org.apache.catalina.startup.VersionLoggerListener log
  INFO: Server number:         7.0.76.0
      Apr 18, 2018 12:02:14 AM org.apache.catalina.startup.VersionLoggerListener log
  INFO: OS Name:               Linux
      Apr 18, 2018 12:02:14 AM org.apache.catalina.startup.VersionLoggerListener log
  </code></pre>
  
  <p>the time shown above is Apr 18, 2018 12:02:14 AM however the current time as in the system is as below.</p>
  
  <p>Tue Apr 17 20:15:33 IST 2018</p>
  
  <p>I Have checked the answer of below hower <a href="https://stackoverflow.com/questions/12112188/change-timezone-in-tomcat">Change Timezone in Tomcat</a> it seems that is not producing the desired result</p>
  
  <p>I dont have catalina.sh in my system and the output of </p>
  
  <p>/etc/localtime -> /usr/share/zoneinfo/Asia/Kolkata</p>
  
  <p>i.e all is in IST</p>
  
  <pre><code># timedatectl
        Local time: Tue 2018-04-17 20:21:29 IST
    Universal time: Tue 2018-04-17 14:51:29 UTC
          RTC time: Tue 2018-04-17 14:51:29
         Time zone: Asia/Kolkata (IST, +0530)
       NTP enabled: no
  NTP synchronized: no
   RTC in local TZ: no
        DST active: n/a
  </code></pre>
  
  <p>I have even restarted tomcat and even the server but to no help</p>