Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 10/15/2009 1:33 AM, raghu gs wrote: > My question is, when i put a normal java code to display the time and > timezone of the system, it just displays the timezone in IST without any > problem. So, you still won't actually try to figure out

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-15 Thread Timothy J Schumacher
l Message- From: raghu gs [mailto:iamra...@gmail.com] Sent: Monday, October 12, 2009 5:18 AM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods. java.util.PropertyPermission "user.timezone

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-15 Thread Timothy J Schumacher
..@gmail.com] Sent: Monday, October 12, 2009 5:18 AM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods. java.util.PropertyPermission "user.timezone", "write"; line not there in catalina.policy fil

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
; >> >> On Mon, Oct 12, 2009 at 8:32 PM, George Sexton > >wrote: >> >> >> >>> >>> >>>> -Original Message- >>>> From: raghu gs [mailto:iamra...@gmail.com] >>>> Sent: Monday, October 12, 2009 5:18 AM &

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 10/14/2009 11:44 AM, raghu gs wrote: > Tomcat is not running under a security manager. > So that policy entry may need to be exists, i understood now. Yes. > I have tried stopping our web applications via tomcat-manager and restarted > imp

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread Timothy J Schumacher
ould be granted for a web application? On Mon, Oct 12, 2009 at 8:32 PM, George Sexton wrote: -Original Message- From: raghu gs [mailto:iamra...@gmail.com] Sent: Monday, October 12, 2009 5:18 AM To: Tomcat Users List Subject: Re: Tomcat 6.0.20 always works in GMT timezone even afte

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-14 Thread raghu gs
PM, George Sexton wrote: > > > > -Original Message- > > From: raghu gs [mailto:iamra...@gmail.com] > > Sent: Monday, October 12, 2009 5:18 AM > > To: Tomcat Users List > > Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after > >

RE: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-12 Thread George Sexton
> -Original Message- > From: raghu gs [mailto:iamra...@gmail.com] > Sent: Monday, October 12, 2009 5:18 AM > To: Tomcat Users List > Subject: Re: Tomcat 6.0.20 always works in GMT timezone even after > forcing it to use Asia/Calcutta by multiple methods. > > java

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-12 Thread raghu gs
java.util.PropertyPermission "user.timezone", "write"; line not there in catalina.policy file. Should this line not need to be present for granting the pernission? What is the code for restricting the timezone overide permission in catalina.policy file? Moreover it was misundstanding between our de

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
Yeah, we have couple of other servers running the same codebase. We don't experience such an issue in those servers, Anyway i'll get back to here once i got concrete information from our developers. Regards On Mon, Oct 12, 2009 at 11:17 AM, Peter Crowther < peter.crowt...@melandra.com> wrote: >

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread Peter Crowther
2009/10/12 raghu gs : > But our engineers where is that this a Kernal and Tomcat issue. > Is there possibilty for that? There are a large number of people using Tomcat who don't see this issue and are in non-GMT timezones - including a fairly large number in India, if the email addresses I've seen

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
Hi java.util.PropertyPermission "user.timezone", "write"; line not there in catalina.policy file. Should this line not need to be present for granting the pernission? We have already used the TimeZone.set function in our codebase to set Asia/India as timezone. I haven't done a full code search ye

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 10/11/2009 6:24 AM, Konstantin Kolinko wrote: > I remember, that I have read once in this list, that in someone's > configuration there was a web application that changed system > timezone. That is, it called TimeZone.setDefault(..) > a

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread Konstantin Kolinko
2009/10/11 raghu gs : > > One vital information i forgot to provide previously is, Tomcat timezone is > correct till "Tomcat server startup in Ns" message. > I remember, that I have read once in this list, that in someone's configuration there was a web application that changed system timezone. Th

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-11 Thread raghu gs
Hi Chris Here is the output for each of your procedure. java TimeZoneTest output user.timezone= TimeZone.getDefault=sun.util.calendar.ZoneInfo[id="Asia/Calcutta",offset=1980,dstSavings=0,useDaylight=false,transitions=6,lastRule=null] TZ=Asia/Calcutta java TimeZoneTest output user.timezone= T

Re: Tomcat 6.0.20 always works in GMT timezone even after forcing it to use Asia/Calcutta by multiple methods.

2009-10-10 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raghu, On 10/10/2009 4:04 AM, raghu gs wrote: > I have installed Tomcat 6.0.20 using binary tarball in JDK 1.6.0.16 running > CentOS 5,3 x64 Server. Use this class for reference: import java.util.TimeZone; public class TimeZoneTest { public sta