[Zope] zope as win32 service and stupid_log_file

Echlin, Michael echlinm@aecl.ca
Wed, 6 Mar 2002 15:49:33 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C1C550.6BAD3FBA
Content-Type: text/plain;
	charset="iso-8859-1"

I am not sure if this applies or not but here goes.

On a WIN NT server I wanted to get zope running with another program on the
same server that also required python. Problem is it needed a different
version of python that had been hacked and wouldn't work with Zope. It also
set up some environment variables that zope couldn't live with.

So I installed zope as an app and used srvany (part of the windows NT
resource kit) to serve cmd calling a cmd file that set the variables to
values zope could live with and then called zopes start.bat

It is installed as an app and runs as a service in it's own virtual machine.

HTH,

Mike.

Message: 6
Date: Wed, 06 Mar 2002 16:50:44 +0100
From: "Cornelis J. de Brabander" <brabander@fsw.LeidenUniv.nl>
To: zope <zope@zope.org>
Subject: [Zope] zope as win32 service and stupid_log_file

Did anybody succeed in activating that STUPID_LOG_FILE when running zope as
a win nt service?
Creating a environment variable does not help. I can understand that because
this would result in a conflict when running two versions of zope on the
same machine. So there would have to be a environment variable that is bound
to a specific service.

zope 2.4.3. python 2.1.

Cornelis J. de Brabander
==========================================
Department of Education, Leiden University
P.O.Box 9555, NL-2300 RB Leiden
+31 71 527 3422/3401
brabander@fsw.leidenuniv.nl
==========================================




------_=_NextPart_001_01C1C550.6BAD3FBA
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2655.35">
<TITLE>Re: [Zope] zope as win32 service and stupid_log_file</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Courier New">I am not sure if this applies or =
not but here goes.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">On a WIN NT server I wanted to =
get zope running with another program on the same server that also =
required python. Problem is it needed a different version of python =
that had been hacked and wouldn't work with Zope. It also set up some =
environment variables that zope couldn't live with.</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">So I installed zope as an app =
and used srvany (part of the windows NT resource kit) to serve cmd =
calling a cmd file that set the variables to values zope could live =
with and then called zopes start.bat</FONT></P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">It is installed as an app and =
runs as a service in it's own virtual machine.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">HTH,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Mike.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Message: 6</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Date: Wed, 06 Mar 2002 16:50:44 =
+0100</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">From: &quot;Cornelis J. de =
Brabander&quot; &lt;brabander@fsw.LeidenUniv.nl&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">To: zope =
&lt;zope@zope.org&gt;</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Subject: [Zope] zope as win32 =
service and stupid_log_file</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Did anybody succeed in =
activating that STUPID_LOG_FILE when running zope as</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">a win nt service?</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Creating a environment variable =
does not help. I can understand that because</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">this would result in a conflict =
when running two versions of zope on the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">same machine. So there would =
have to be a environment variable that is bound</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">to a specific service.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">zope 2.4.3. python 2.1.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier New">Cornelis J. de Brabander</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">Department of Education, Leiden =
University</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">P.O.Box 9555, NL-2300 RB =
Leiden</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">+31 71 527 3422/3401</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">brabander@fsw.leidenuniv.nl</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C1C550.6BAD3FBA--