On Thursday 30 November 2006 05:10, Chris Withers wrote:
> Well, I'd be looking to dig into the config info provided by zope.conf.
>
> In Zope 2, this is done with:
>
> from App.config import getConfiguration
> config = getConfiguration()
> config.whatever.etc
>
> ...Zope 3 likely has something sim
Shailesh Kumar wrote:
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with a
I have 2 different zope applications running (on different machines) and
they would be talking to each other, one is a master application and there
may be multiple instances of the other one (on different machines). I need
the port number information for registing one with another programmatically
Shailesh Kumar wrote:
Thanx for the hint. I still don't know how to programmatically access the
event log. will try to figure it out.
Why do you need to know programmatically?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
Thanx for the hint. I still don't know how to programmatically access the
event log. will try to figure it out.
With regards,
-shailesh
On 11/28/06, Chris Withers <[EMAIL PROTECTED]> wrote:
Shailesh Kumar wrote:
> Thanx Tom, but I was looking for the general case, not in the context
of a
>
Shailesh Kumar wrote:
Thanx Tom, but I was looking for the general case, not in the context of a
request. Like say during application startup I want to know the port
number.
Is it possible?
This is surely in the event log, why don't you look there?
Chris
--
Simplistix - Content Management,
Thanx Tom, but I was looking for the general case, not in the context of a
request. Like say during application startup I want to know the port number.
Is it possible?
With regards,
-shailesh
On 11/28/06, Tom Gross <[EMAIL PROTECTED]> wrote:
Hi Shailesh,
try request.get('SERVER_PORT').
Hi Shailesh,
try request.get('SERVER_PORT').
Cheers
-Tom
Shailesh Kumar wrote:
Hi,
Is it possible for the application code to figure out the port number
on which zope is running? What is the suitable api for that?
With regards,
-shailesh
-
Hi,
Is it possible for the application code to figure out the port number on
which zope is running? What is the suitable api for that?
With regards,
-shailesh
___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3