Dear Ben,

let me know if this helps.  I tried to be complete, there are no screen
shots in it and I can add them if you want so let me know.  Also I
realize that you've done most of this stuff already but I wanted to be
complete.  If it doesn't make sense let me know in the doc what part
doesn't make sense and send it back.  BTW its an RTF which you should
be able to read with write with out any trouble.

Also if there is anyone in the webware list who wanted to edit the doc
please feel free.  i don't know if this is something that we would want
to include in the wiki most of it is pretty generic except the stuff
about integrating with IIS

Jose

> -------- Original Message --------
> Subject: RE: did you get my email? FW: still interested?
> From: "Benjamin Jackson" <[EMAIL PROTECTED]>
> Date: Tue, February 21, 2006 8:20 am
> To: <[EMAIL PROTECTED]>
>
> Hint: The web service extension should be
> c:\python24\python.exe -u "%s" "%s"
> as should be the extension path to .py
>
> hope that helps....took me a while to get cgi working.
>
> ben
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 21, 2006 12:28 AM
> To: Benjamin Jackson
> Subject: RE: did you get my email? FW: still interested?
>
> hey no problem,  works just been really busy with work and I've not had
> the time to write the install guide.  But on the plus side I just got
> access to an IIS box to experiment with and webware is installed on it
> so I hope to be able to get to it this week.  Getting everything set up
> up to the integration with an HTTPD is the easy part to write, and if it
> was Apache it'd be done, but I need to take a look at the latest IIS to
> see how it handles cgi.  Anyway like I said I should have time to get
> it written this week.
> Jose
>
> > -------- Original Message --------
> > Subject: did you get my email? FW: still interested?
> > From: "Benjamin Jackson" <[EMAIL PROTECTED]>
> > Date: Mon, February 20, 2006 7:48 am
> > To: <[EMAIL PROTECTED]>
> >
> >
> >  Perhaps your junk-email filter ate my email&
> >
> >    From: Benjamin Jackson [mailto:[EMAIL PROTECTED]
> >  Sent: Saturday, February 11, 2006 9:47 PM
> >  To: '[EMAIL PROTECTED]'
> >  Subject: still interested?    Hi, just wanted to drop you a line to see
> if we were still on for tackling the webware/iis issue.  I hope Im not out
> of line in bugging you about it; I havent heard from you and was afraid you
> had given up on me.  I am really excited about getting the webkit to work& I
> have big ideas cookin! Thanks again for your previous help.   Ben
> <original message truncated>   Perfect That's what I need to know, I can
> already see a couple of things that have messed you up and I'll address them
> in a follow up email.  with some detailed instructions on how to get it
> working.  You are so close, it won't take long to get it all the way Jose
> > -------- Original Message -------- > Subject: Interested in webware? >
> From: "Benjamin Jackson" <[EMAIL PROTECTED]> > Date: Wed, February 08, 2006
> 11:57 am > To: <[EMAIL PROTECTED]> >
{\rtf1\ansi\deff0\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset0 Times New Roman;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\fnil\fprq0\fcharset2 StarSymbol{\*\falt Arial Unicode MS};}{\f4\fnil\fprq2\fcharset0 Arial Unicode MS;}{\f5\fnil\fprq2\fcharset0 Tahoma;}{\f6\fnil\fprq0\fcharset0 Tahoma;}}
{\colortbl;\red0\green0\blue0;\red0\green0\blue128;\red128\green128\blue128;}
{\stylesheet{\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033\snext1 Normal;}
{\s2\sb240\sa120\keepn\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\afs28\lang255\ltrch\dbch\langfe255\hich\f2\fs28\lang1033\loch\f2\fs28\lang1033\sbasedon1\snext3 Heading;}
{\s3\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033\sbasedon1\snext3 Body Text;}
{\s4\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033\sbasedon3\snext4 List;}
{\s5\sb120\sa120\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af6\afs24\lang255\ai\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\i\loch\f0\fs24\lang1033\i\sbasedon1\snext5 caption;}
{\s6\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af6\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033\sbasedon1\snext6 Index;}
{\*\cs8\cf0\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 Numbering Symbols;}
{\*\cs9\cf0\rtlch\af3\afs18\lang255\ltrch\dbch\af3\langfe255\hich\f3\fs18\lang1033\loch\f3\fs18\lang1033 Bullet Symbols;}
{\*\cs10\cf2\ul\ulc0\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 Internet link;}
}{\*\listtable{\list\listtemplateid1
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'03 \'00 ;}{\levelnumbers\'02;}\fi-360\li720}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'05 \'00.\'01 ;}{\levelnumbers\'02\'04;}\fi-360\li1080}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'07 \'00.\'01.\'02 ;}{\levelnumbers\'02\'04\'06;}\fi-360\li1440}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'09 \'00.\'01.\'02.\'03 ;}{\levelnumbers\'02\'04\'06\'08;}\fi-360\li1800}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'0b \'00.\'01.\'02.\'03.\'04 ;}{\levelnumbers\'02\'04\'06\'08\'0a;}\fi-360\li2160}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'0d \'00.\'01.\'02.\'03.\'04.\'05 ;}{\levelnumbers\'02\'04\'06\'08\'0a\'0c;}\fi-360\li2520}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'0f \'00.\'01.\'02.\'03.\'04.\'05.\'06 ;}{\levelnumbers\'02\'04\'06\'08\'0a\'0c\'0e;}\fi-360\li2880}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'11 \'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07 ;}{\levelnumbers\'02\'04\'06\'08\'0a\'0c\'0e\'10;}\fi-360\li3240}
{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'13 \'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.\'08 ;}{\levelnumbers\'02\'04\'06\'08\'0a\'0c\'0e\'10\'12;}\fi-360\li3600}
{\*\soutlvl{\listlevel\levelnfc0\leveljc0\levelstartat1\levelfollow0{\leveltext \'15 \'00.\'01.\'02.\'03.\'04.\'05.\'06.\'07.\'08.\'09 ;}{\levelnumbers\'02\'04\'06\'08\'0a\'0c\'0e\'10\'12\'14;}\fi-360\li3960}}\listid1}
}{\listoverridetable{\listoverride\listid1\listoverridecount0\ls0}}

{\info{\author Jose Galvez}{\creatim\yr2006\mo2\dy22\hr12\min17}{\author Jose Galvez}{\revtim\yr2006\mo2\dy22\hr13\min39}{\printim\yr1601\mo1\dy1\hr0\min0}{\comment StarWriter}{\vern6800}}\deftab709
{\*\pgdsctbl
{\pgdsc0\pgdscuse195\pgwsxn12240\pghsxn15840\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Standard;}}
\paperh15840\paperw12240\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\pgwsxn12240\pghsxn15840\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Short version on installing webware on windows with IIS}
\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 
\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 
\par \pard\plain \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 
\par \pard\plain {\listtext\pard\plain \li720\ri0\lin720\rin0\fi-360  1 \tab}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li720\ri0\lin720\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 First do the base webware install}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  1.1 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 download webware either from the CVS or from w4py.org (I know this is stupid to say but you have to start writing these docs someplace)}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  1.2 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 copy the webware folder form the archive to a handy location on your computer.  It is currently recommended that you copy the webware folder to your python/lib/site-packages folder but frankly you can place it anywhere that makes sense to you.  I've instal
led it both within the site-packages folder and within my Programs folder depending on my thoughts at the time. Currently I would place it in the site-packages folder but that is up to you}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  1.3 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 run the install.py file within the webware folder and set the password\line }
\par \pard\plain {\listtext\pard\plain \li720\ri0\lin720\rin0\fi-360  2 \tab}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li720\ri0\lin720\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Next we will set up a webware application folder.  This is where all the application specific configuration files go.  You can edit the main config files in the webkit folder, but this is not recommended as it will cause problems when you upgrade webware. 
 Also creating a webware application will allow you run multiple instances of the appserver for different web applications.  For example on my production server I have several webware appservers running one for each virtual apache server running.\line In this e
xample we will create a webware app server called wk_main}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  2.1 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Run \line <webware>\\bin\\MakeAppWorkDir.py -c htdocs -d c:\\wk_main\\htdocs -l libs {\field{\*\fldinst HYPERLINK "" }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 c:\\wk_main}}}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  2.1.1 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 -c htdocs\line This setting creates a default context called htdocs.  All webware files need to within a context as defined in the application.config file (see below).  You can call your default context anything you wish.}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  2.1.2 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 -d c:\\wk_main\\htdocs\line This setting gives the real location where webware can find the htdocs context.  If this folder is local to wk_main and in this example you will have to set up a virtual folder within IIS, otherwise point this location to a folder that
 your IIS server knows about and where you would like to run webware files from.}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  2.1.3 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 -l libs\line This setting creates a libs folder within wk_main which will be added to you python path.  This is a handy place to put application specific libraries that you don't what the webserver to have direct access t, but you would like access to from your
 python files}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  2.1.4 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033{\field{\*\fldinst HYPERLINK "" }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\loch{\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 c:\\wk_main}}\line Finally simply the location where to create the webware application.  This can be anyplace on your HD that you wish.}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  2.2 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Test webware installing}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  2.2.1 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Assuming all went well you should be able to cd to wk_main and run Appserver.bat. Hint, don';t just double click on the file, if there is an error you won't see it, open a cmd window to the wk_main folder and run AppServer.bat from it.  }
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  2.2.1.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Common errors:}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.1.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 nothing happens \'96 make sure that python24 (or what ever your python install is) is in your path.}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.1.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Port 8080 might already be in use.  If port 8080 is in use open the AppServer.conf file in the Configs folder and change the HTTPPort to some other empty port.  This is only temporary and we will disable it as soon as we know it works properly.  }
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.1.3 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Port 8086 may be in use (AdapterPort).  If port 8086 is in use set this to another port as well.  The AdapterPort is used by the appserver to communicate with the webserver either via cgi or with Apache mod_webkit.}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.1.4 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 If you still can't get the Appserver to run email the list group with your error message and I'm sure someone will have an answer for you.}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  2.2.1.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 With the Appserver running open a webpage to {\field{\*\fldinst HYPERLINK "http://localhost:8080/"; }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 http://localhost:8080}} (or the port you set it to).  You should see the standard Main webware page.  If not try {\field{\*\fldinst HYPERLINK "http://localhost:8080/Main.py"; }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 http://localhost:8080/Main.py}}.  If you still do not see it make sure that the appserver is started a
nd did not display any errors.  }
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  2.2.1.3 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Assuming all went well and you saw the beautifully rendered webwaer intro page you can turn native httpd support off}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.3.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Close the AppServer either with ctrl-C or just closing the windows.  If you just close the window (and occationaly even when you use ctrl-c the appserverpid.txt file remains in the wk_main folder.  If this happens (and you are sure the appserver is not run
ning) delete this file otherwise the Appserver will fail to start.}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  2.2.1.3.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Open the AppServer.conf and change EnableHTTP from True to False.  At this point the HTTPPort setting no longer matters since the AppServer will no longer try an bind to that port.}
\par \pard\plain {\listtext\pard\plain \li720\ri0\lin720\rin0\fi-360  3 \tab}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li720\ri0\lin720\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Set up IIS to work with Webware}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  3.1 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 this is assuming that you are using a fairly recent build of IIS.  I tested this with IIS v6 on windows 2003 server.}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  3.2 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Tell IIS where your webware context is}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  3.2.1 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 If in the above setup you pointed your webware context to a folder that IIS already has access to you need to make sure that both IIS and webware \'93see\'94 the folder in the same manner.  For example if you pointed the default context to a folder that IIS sees
 as \\webware then you must add a line to your Application.conf file Contexts['webware'] = htdocs or something similar.  If you pointed the default context to your IIS default context then everything should be fine.  }
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  3.2.2 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 If in the above setup you pointed the default webware context to a folder outside your normal IIS folders, as in the example, then you will have to:}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 create a virtual folder within IIS pointing to default context folder}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 add a line to the Applicatoin.conf file aliasing the virtual folder name to the default context.}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.3 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 For example your default context is c:\\wk_main\\htdocs.  In IIS you create a virtual folder called webware which points to c:\\wk_main\\htdocs with permissions:}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.3.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 read}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.3.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 write}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.3.3 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 run script}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.3.4 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 browse }
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.4 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Copy the cgi adapter to {\field{\*\fldinst HYPERLINK "" }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 c:\\wk_main}}}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.4.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch  }{\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 copy wkcgi.exe from{\*\bkmkstart DDE_LINK1} <webware>\\webkit\\adaptors\\wkcgi to {\field{\*\fldinst HYPERLINK "" }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 c:\\wk_main}}{\*\bkmkend DDE_LINK1}}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.4.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 copy webkit.cfg from  <webware>\\webkit\\adaptors\\wkcgi to {\field{\*\fldinst HYPERLINK "" }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 c:\\wk_main}}}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.4.3 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 edit webkit.cfg so that the port matches the AdapterPort in the AppServer.conf file.  This is how CGI communicates with the Appserver}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.5 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Bless the wkcgi.exe program so that IIS will allow it to be used}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.5.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Open IIS Service Manager click on the \'93Web Service Extensions\'94 option.  }
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.5.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Click on \'93Add a new WebService Extension\'94}
\par \pard\plain {\listtext\pard\plain \li2520\ri0\lin2520\rin0\fi-360  3.2.2.5.2.1 \tab}\ilvl5 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2520\ri0\lin2520\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Name it, click add and wkcgi.exe to the list}
\par \pard\plain {\listtext\pard\plain \li2520\ri0\lin2520\rin0\fi-360  3.2.2.5.2.2 \tab}\ilvl5 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2520\ri0\lin2520\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 check the allow box in the lower left corner}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.6 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Add the CGI program to your IIS Virtual folder / folder}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 right click on the folder you want to grant cgi access to and select properties}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Under application setting if one is not named, add it}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.3 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 select the \'93configure button\'94}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.4 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Under mapping select add}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.5 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 in executable browse to your wkcgi.exe program}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.6 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 in extension add .py}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.6.7 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 repeat for psp files if you wish to use them}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  3.2.2.7 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 start the Appserver and test IIS}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.7.1 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 start the AppServer}
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.7.2 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 point your browser to the correct location such as {\field{\*\fldinst HYPERLINK "http://localhost/webware"; }{\fldrslt \*\cs10\cf2\ul\ulc0\rtlch\ltrch\dbch\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 http://localhost/webware}}.  Note we are no longer using any type of ports, since IIS is configured on port 80.  If this is not the case insert the appropriate IIS access port.  }
\par \pard\plain {\listtext\pard\plain \li2160\ri0\lin2160\rin0\fi-360  3.2.2.7.3 \tab}\ilvl4 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2160\ri0\lin2160\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 At this point you should see the same intro page as before.  If you don't}
\par \pard\plain {\listtext\pard\plain \li2520\ri0\lin2520\rin0\fi-360  3.2.2.7.3.1 \tab}\ilvl5 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2520\ri0\lin2520\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 try adding /Main.py to your url}
\par \pard\plain {\listtext\pard\plain \li2520\ri0\lin2520\rin0\fi-360  3.2.2.7.3.2 \tab}\ilvl5 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li2520\ri0\lin2520\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 look at the appserver output, it should say something like /webwaer/Main.py/webware/Main.py or something similar.  The beginning part (/webware/) needs be defined both as a IIS location and as a webware context see above.}
\par \pard\plain {\listtext\pard\plain \li720\ri0\lin720\rin0\fi-360  4 \tab}\ilvl0 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li720\ri0\lin720\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Create a Windows service:}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  4.1 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 You really don't want to have the Appserver.bat file running all the time.  I only use it when I am developing because i can turn on autorestart and the output is helpful, otherwise you will want to run the appserver as a windows service.}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  4.2 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Goto your wk_main folder and edit the \'93AppServerService.py file }
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.2.1 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 edit the following to things that make sense to you}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.2.1.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 serviceName}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.2.1.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 serviceDisplayName}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.2.1.3 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 serviceDescription}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.2.2 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 note that each service you create will have to have a different serviceName}
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  4.3 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 from a cmd window run: AppServiceService \'96startup auto install }
\par \pard\plain {\listtext\pard\plain \li1080\ri0\lin1080\rin0\fi-360  4.4 \tab}\ilvl1 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1080\ri0\lin1080\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 create the following bat files for convience:}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.4.1 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 start_restartAppserver.bat}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.1.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 this file will start and or restart the appserver service for you}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.1.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 Code:\line AppServerService.py restart}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.4.2 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 stopAppServer.bat}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.2.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 This file will stop the appserver service for you}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.2.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 code:\line AppServerService.py stop}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.4.3 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 runAppserver.bat}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.3.1 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 this file will stop the service and start the cmd window version of the appserver with autoreload set to true.  This is very handy when you are creating web apps.}
\par \pard\plain {\listtext\pard\plain \li1800\ri0\lin1800\rin0\fi-360  4.4.3.2 \tab}\ilvl3 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1800\ri0\lin1800\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 {\rtlch \ltrch\loch\f0\fs24\lang1033\i0\b0 code\line AppServerService.py stop\line AppServer.bat --AppServer.AutoReload=1  (note bouble \'93-\'94 before AppServer)}
\par \pard\plain {\listtext\pard\plain \li1440\ri0\lin1440\rin0\fi-360  4.4.4 \tab}\ilvl2 \ltrpar\s1\cf0{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\ls0\li1440\ri0\lin1440\rin0\fi-360\rtlch\af5\afs24\lang255\ltrch\dbch\af4\langfe255\hich\f0\fs24\lang1033\loch\f0\fs24\lang1033 
\par }

Reply via email to