Tomcat is not running under a security manager.
So that policy entry may need to be exists, i understood now.

I have tried stopping our web applications via tomcat-manager and restarted
important web applications alone.
But still timezone didn't reset to system timezone.

Wouldn't stopping offending web applications enough for the timezone to use
system configuration?

Is it possible to restrict just timezone over-riding permission from web
application instead of first listing what are all permissions that should be
granted for a web application?



On Mon, Oct 12, 2009 at 8:32 PM, George Sexton <geor...@mhsoftware.com>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
> > forcing it to use Asia/Calcutta by multiple methods.
> >
> > 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?
>
>
> The reference to catalina.policy only applies if you are running under a
> security manager. Are you running under a security manager?
>
> > What is the code for restricting the timezone overide permission in
> > catalina.policy file?
> > Moreover it was misundstanding between our developers,
> > Nobody said that kernel tomcat mismatch might be the cause of the
> > problem.
> > TZData is also up-to-date.
> >
> > Regards
> >
>
> George Sexton
> MH Software, Inc.
> http://www.mhsoftware.com/
> Voice: 303 438 9585
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to