RE: Happy Birthday
I never write Birthday Salutations (as they will probably be construed the wrong way) but i will make an exceptionHappy 51st Birthday Mr Obama Martin .. __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. Date: Sat, 28 Jul 2012 17:31:12 -0500 From: tere...@tmbsw.com To: users@tomcat.apache.org Subject: Re: Happy Birthday, Chuck! On 1:59 PM, Leon Rosenberg wrote: Maybe a little bit late, but still! Happy Birthday Chuck! Leon On Thu, Jul 26, 2012 at 10:46 PM, Rainer Jungrainer.j...@kippdata.de wrote: On 26.07.2012 15:46, Gregor S. wrote: Hi Chuck, thanks again for your valuable comments on this list, and keep it up! Cheers! +2 ! Rainer Hi, Charles- Thanks for your contributions to this list. They are definitely appreciated. Happy B-day! -Terence Bandoian - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Pointing tomcat to a different timezone
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
Re: Pointing tomcat to a different timezone
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?
Re: Pointing tomcat to a different timezone
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?
Re: Pointing tomcat to a different timezone
2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: 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 I suspect that you changed the timezone not for the OS, but for the root user only. Effectively you changed some shell environment variable. It may be different for different users. So you have to look at the user that actually starts Tomcat java process. How to configure it depends on what version of Tomcat you are using and on how it is installed. Do not forget to restart Tomcat after the change. My Java App is still in Universal Time-zone. Can you please guide me on how to set -Duser.timezone property for Tomcat? When you are saying that it is still in UTC, what data are you looking at? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Pointing tomcat to a different timezone
Hello Konstantin I verified the timezone is same for both users: [jenkinspan@sdc-cidev10 ~]$ date Sun Jul 29 17:31:27 PDT 2012 [jenkinspan@sdc-cidev10 ~]$ sudo su - root [root@sdc-cidev10 ~]# date Sun Jul 29 17:31:39 PDT 2012 We are using apache-tomcat-6.0.33 I didnot do anything special but, untar and ./startup.sh from bin folder. Can you please guide me based on this info? thanks, Krishna Chaitanya On Sun, Jul 29, 2012 at 5:25 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: 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 I suspect that you changed the timezone not for the OS, but for the root user only. Effectively you changed some shell environment variable. It may be different for different users. So you have to look at the user that actually starts Tomcat java process. How to configure it depends on what version of Tomcat you are using and on how it is installed. Do not forget to restart Tomcat after the change. My Java App is still in Universal Time-zone. Can you please guide me on how to set -Duser.timezone property for Tomcat? When you are saying that it is still in UTC, what data are you looking at? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Pointing tomcat to a different timezone
2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: Hello Konstantin I verified the timezone is same for both users: [jenkinspan@sdc-cidev10 ~]$ date Sun Jul 29 17:31:27 PDT 2012 [jenkinspan@sdc-cidev10 ~]$ sudo su - root [root@sdc-cidev10 ~]# date Sun Jul 29 17:31:39 PDT 2012 We are using apache-tomcat-6.0.33 I didnot do anything special but, untar and ./startup.sh from bin folder. Can you please guide me based on this info? thanks, Krishna Chaitanya On Sun, Jul 29, 2012 at 5:25 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: 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 I suspect that you changed the timezone not for the OS, but for the root user only. Effectively you changed some shell environment variable. It may be different for different users. So you have to look at the user that actually starts Tomcat java process. How to configure it depends on what version of Tomcat you are using and on how it is installed. Do not forget to restart Tomcat after the change. My Java App is still in Universal Time-zone. Can you please guide me on how to set -Duser.timezone property for Tomcat? Create file bin/setenv.sh and add the following line there: export TZ=America/Los_Angeles or export TZ=/usr/share/zoneinfo/America/Los_Angeles When you are saying that it is still in UTC, what data are you looking at? You have not answered the above question. It might be that the date you are looking at explicitly uses the UTC timezone. Also please write your replies below the text you are replying to. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Pointing tomcat to a different timezone
This Works ;-) Thanks a lot Konstantin. Appreciate it :) Krishna Chaitanya On Sun, Jul 29, 2012 at 6:21 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: Hello Konstantin I verified the timezone is same for both users: [jenkinspan@sdc-cidev10 ~]$ date Sun Jul 29 17:31:27 PDT 2012 [jenkinspan@sdc-cidev10 ~]$ sudo su - root [root@sdc-cidev10 ~]# date Sun Jul 29 17:31:39 PDT 2012 We are using apache-tomcat-6.0.33 I didnot do anything special but, untar and ./startup.sh from bin folder. Can you please guide me based on this info? thanks, Krishna Chaitanya On Sun, Jul 29, 2012 at 5:25 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2012/7/30 krishna chaitanya kurnala kkc...@gmail.com: 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 I suspect that you changed the timezone not for the OS, but for the root user only. Effectively you changed some shell environment variable. It may be different for different users. So you have to look at the user that actually starts Tomcat java process. How to configure it depends on what version of Tomcat you are using and on how it is installed. Do not forget to restart Tomcat after the change. My Java App is still in Universal Time-zone. Can you please guide me on how to set -Duser.timezone property for Tomcat? Create file bin/setenv.sh and add the following line there: export TZ=America/Los_Angeles or export TZ=/usr/share/zoneinfo/America/Los_Angeles When you are saying that it is still in UTC, what data are you looking at? You have not answered the above question. It might be that the date you are looking at explicitly uses the UTC timezone. Also please write your replies below the text you are replying to. Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org