Hello Igor Thanks for your response :) Request some more info to get started .. Yes, I am using sun jdk 1.6 ... how do i verify installation of tzdata package?
thanks, Krishna Chaitanya On Sun, Jul 29, 2012 at 5:19 PM, Igor Cicimov <icici...@gmail.com> wrote: > On Mon, Jul 30, 2012 at 8:39 AM, krishna chaitanya kurnala < > kkc...@gmail.com > > wrote: > > > Dear Tomcat Users, > > > > I am deploying a Java Application in Tomcat, that is picking the wrong > > Time-zone from OS. I did try to change the time settings at OS level. > > > > while the OS is PDT > > [root@sdc-cidev10 ~]# date > > Sun Jul 29 15:16:41 PDT 2012 > > > > My Java App is still in Universal Time-zone. Can you please guide me on > how > > to set -Duser.timezone property for Tomcat? > > > > Thanks in advance, > > Krishna Chaitanya > > > > Can't you just use the TimeZone class in your app? > > String timeZoneId = "Australia/Sydney"; > TimeZone timeZone = TimeZone.getTimeZone(timeZoneId); > > > Is this Sun Oracle Java? Do you have the tzdata package installed? >