You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Robinson, Eric" <er...@psmnv.com> on 2009/11/25 01:34:58 UTC

I Have Multiple Tomcat Instances, Now I Want Each to Run In a Different Time Zone

 
I want to run multiple instances of tomcat on the same server, one
instance for each time zone. I have all the separate tomcats running
fine, but they are all using the server's time zone. I've been Googling
and have not found an effective way to do it. Can someone please tell me
how? 

--Eric



Disclaimer - November 24, 2009 
This email and any files transmitted with it are confidential and intended solely for Tomcat Users List. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of . Warning: Although  has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: I Have Multiple Tomcat Instances, Now I Want Each to Run In a Different Time Zone

Posted by André Warnier <aw...@ice-sa.com>.
Robinson, Eric wrote:
>  
> I want to run multiple instances of tomcat on the same server, one
> instance for each time zone. I have all the separate tomcats running
> fine, but they are all using the server's time zone. I've been Googling
> and have not found an effective way to do it. Can someone please tell me
> how? 
> 
Not really an expert, but 2 methods come to mind :

1) maybe the most serious :
Each Tomcat runs in its own JVM.  There should be some JVM 
system.properties which determine that kind of thing, which should be 
settable with -D options on the java line that starts Tomcat.

Really, I don't really know this. But a previous issue of mine with a 
webapp that was resetting the language for the whole JVM leads me to 
believe this might work.

2) less serious :
Install VMWare server. Configure as many virtual machines as you need 
Tomcats. Give each its timezone and run a Tomcat in each.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org