[Zope] Z_REALM Problems

abg@comco-inc.com abg@comco-inc.com
Wed, 6 Mar 2002 09:24:40 -0600


Solved it.

Supposedly, User Environment Variables take precedence over System Variables
in WindowsNT, but this doesn't appear to be the case, in practice.

Here's how to add the Z_REALM system variable:

<WARNING>
Modifying the registry can cause serious problems that may require you to
reinstall your operating system. I can't guarantee that problems resulting
from modifications to the registry can be solved. Use at your own risk.
</WARNING>

1) Open REGEDT32.EXE
2) Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment
3) Add the value Z_REALM:REG_SZ:MyRealmName
4) Reboot

Your Realm should now be changed.

Aaron Gillette
abg@comco-inc.com

> I'm setting Zope up on a new server running WindowsNT. When I 
> change the
> Z_REALM environment variable, nothing happens. Zope ignores 
> it completely.
> Yes, I've rebooted.
> 
> I've set up several Zopes, and never before had this problem 
> (though, my
> previous experience is with Win2000).
> 
> Has anyone else encountered this? Any fixes?
> 
> Here's my Zope info:
> 
> Zope Version  (Zope 2.4.3 (binary release, python 2.1, 
> win32-x86), python
> 2.1.0, win32)  
> Python Version  2.1 (#15, Apr 16 2001, 18:25:49) [MSC 32 bit 
> (Intel)]  
> System Platform  win32
> 
> Thanks,
> 
> Aaron Gillette
> abg@comco-inc.com