Unix Technical Forum

Multiple Oracle 9i Listeners on Win2k3 and Timezones...

This is a discussion on Multiple Oracle 9i Listeners on Win2k3 and Timezones... within the Oracle Database forums, part of the Database Server Software category; --> Hi I am trying to get 2 listeners working on the same machine, each using a different timezone. I ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-25-2008, 03:22 AM
Dave
 
Posts: n/a
Default Multiple Oracle 9i Listeners on Win2k3 and Timezones...

Hi

I am trying to get 2 listeners working on the same machine, each using
a different timezone. I know this can be done on Linux/Unix boxes but
I can't seem to get it to stick on a Win2003 machine. I want my
original listener (port 1521) to use EST time and my other listener
(port 1525) to use PST.

If I set my windows timezone to PST and start my second listener, it
gives me the right time (in PST) when connecting from my client
machine. When I go to switch the timezone back to EST on my server,
the listener seems to pick up the new timezone and when I query again
(in the same sql session), I get the time on EST again.

Is this a limitation of Oracle Server on Windows or is there some
trick?

Thanks,
Dave

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-25-2008, 03:23 AM
Robert Klemme
 
Posts: n/a
Default Re: Multiple Oracle 9i Listeners on Win2k3 and Timezones...

Dave wrote:
> Hi
>
> I am trying to get 2 listeners working on the same machine, each using
> a different timezone. I know this can be done on Linux/Unix boxes but
> I can't seem to get it to stick on a Win2003 machine. I want my
> original listener (port 1521) to use EST time and my other listener
> (port 1525) to use PST.
>
> If I set my windows timezone to PST and start my second listener, it
> gives me the right time (in PST) when connecting from my client
> machine. When I go to switch the timezone back to EST on my server,
> the listener seems to pick up the new timezone and when I query again
> (in the same sql session), I get the time on EST again.
>
> Is this a limitation of Oracle Server on Windows or is there some
> trick?


Hm, might be related to Windows as such settings are managed differently
than on *nix boxes.

What are you trying to achieve with this? I've never heard that someone
sets up two listeners to switch timezones, but then again I may be just
ignorant. Did you consider using SESSION_TIMEZONE to switch timezones
of sessions?

Kind regards

robert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-25-2008, 03:23 AM
Dave
 
Posts: n/a
Default Re: Multiple Oracle 9i Listeners on Win2k3 and Timezones...

Thanks... Well the situation is this.... "Hypothically" I outsouce
data for 2 customers on 1 instance. One is in CA and one MA. Each
wants to see data in their timezone.

IN *nix system, you can set the timezone variable and start the
listener. The listener then keeps that timezone while it runs. You
can then open another "session", set the timezone to something
different and then start the other listener. Each listener keeps the
timezone reference in which it was started.

In a production outsource environment, you would, of course, have a
Linus/Unix db server. But for the lowly developer, you take what you
can get....

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-25-2008, 03:23 AM
frank.van.bortel@gmail.com
 
Posts: n/a
Default Re: Multiple Oracle 9i Listeners on Win2k3 and Timezones...

How about storing the data with timezoen information? Depending on the
version, timezone is supported

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:40 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com