Re: [Webware-devel] MOD_Webkit

2001-10-03 Thread Chuck Esterbrook
At 04:59 PM 10/3/2001 -0700, Russell Blank wrote: >Does anyone have a binary for Apache for Windows? I'll upload the copy Jay gave me to the Webware site and announce it on webware-discuss (tonight). -Chuck ___ Webware-devel mailing list [EMAIL PROT

[Webware-devel] MOD_Webkit

2001-10-03 Thread Russell Blank
Does anyone have a binary for Apache for Windows? Russell A. Blank Senior Consultant Atlas Development Corporation 6351 Owensmouth Avenue, #101 Woodland Hills, CA 91367 (818) 340-7080 Phone (818) 340-7079 Fax "May all our hearts go out to the victims of the most recent act of war." __

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> Whatever the cause, other WebKit users will run into this, so > I'll be happy > to add the problem and solution to the docs once we nail this down. Here's a patch that seems to work well. I didn't put in the os.setsid() nor the extra fork and exit that one of the examples showed as I did not

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> If it is Python, the c.l.p. should help. If not, then it's a > UNIX issue and we'll have to pursue those avenues. I should have checked the c.l.p. two days ago. I found a good thread that gives a few solutions. If you can manage to get to this url: http://groups.google.com/groups?hl=en&threa

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Ian Bicking
"Jeff Johnson" <[EMAIL PROTECTED]> wrote: > > Webware is now eliminated. Can we eliminate Python? eg., what > > about bash or perl? > > I don't know shell scripting but I might be able to remember enough perl > to try that route. echo 'xx

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> Webware is now eliminated. Can we eliminate Python? eg., what > about bash or perl? I don't know shell scripting but I might be able to remember enough perl to try that route. > Whatever the cause, other WebKit users will run into this, so > I'll be happy > to add the problem and solution t

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Chuck Esterbrook
At 03:25 PM 10/3/2001 -0400, Jeff Johnson wrote: >Just did, it reproduces the problem well. I tried running with "nohup >python -u term.py" and it still fails. Below is the code for term.py >and below that is part of x.txt. Now what? Webware is now eliminated. Can we eliminate Python? eg., wha

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> If it can't write to nohup.out, it writes to ~/nohup.out -- maybe > that's it? I checked, no nohup.out there either. I think nohup should be renamed noop :P -Jeff ___ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
Chuck wrote: > Did you try a simple Python program yet, like you mentioned earlier? Just did, it reproduces the problem well. I tried running with "nohup python -u term.py" and it still fails. Below is the code for term.py and below that is part of x.txt. Now what? import time, traceback de

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Ian Bicking
"Jeff Johnson" <[EMAIL PROTECTED]> wrote: > > nohup will only redirect output to nohup.out if you haven't redirected > > it yourself, and then I believe only if you actually print something > > to stdout. > > I'm not redirecting stdout so it should but it doesn't. I can't get > nohup to do much

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Chuck Esterbrook
At 02:47 PM 10/3/2001 -0400, Jeff Johnson wrote: > > Maybe try running python with "python -u", which should turn off > > buffering. > >Good idea. I modified AppServer to read: >#!/bin/sh >/usr/bin/env python -u Launch.py ThreadedAppServer $* > >But it didn't fix the problem. Maybe Launch.py is

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> nohup will only redirect output to nohup.out if you haven't redirected > it yourself, and then I believe only if you actually print something > to stdout. I'm not redirecting stdout so it should but it doesn't. I can't get nohup to do much of anything. According to the short manpage, I would

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Ian Bicking
nohup will only redirect output to nohup.out if you haven't redirected it yourself, and then I believe only if you actually print something to stdout. Maybe try running python with "python -u", which should turn off buffering. "Jeff Johnson" <[EMAIL PROTECTED]> wrote: > I was almost content to l

[Webware-devel] forwardRequest not working with WKCGI.EXE

2001-10-03 Thread Russell Blank
Sorry about any of the confusion. The forwardRequest function works with WebKit.cgi, V .05 of WebWare on Microsoft IIS server, but does not work with the WKCGI.exe binary. The example code that was attached should work on the WebKit.cgi but not the WKCGI.exe At 01:00 PM 10/2/01 -0700, Russell B

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
I was almost content to let the 1024 byte string printing problem go and just never print big strings to stdout. That worked for a few hours. Then we noticed the servlets were hanging again. Turns out that the traceback from a simple syntax error was 1381 bytes long and hung the servlet when it

Re: FW: [Webware-devel] Multi Threading and Security

2001-10-03 Thread Geoff Talvola
At 01:00 PM 10/2/01 -0700, Russell Blank wrote: >Thank you for the binary. It works on pages that I post, but if I use the >trans.application().forwardRequest function, the application just freezes. >Example of the code is attached. Is there another way I should be >forwarding the request to di

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread Jeff Johnson
> "Jeff Johnson" <[EMAIL PROTECTED]> wrote: > With all the information you're gathering on terminals, > shells and streams, you > may be the person best equipped to write the official Webware > init.d scripts. > :-) If I'm the best person for the job, be afraid, be very afraid :) > Have you l

RE: [Webware-devel] Terminals and Output

2001-10-03 Thread paul
"Jeff Johnson" <[EMAIL PROTECTED]> wrote: > >I'll take a closer look at this after I track down a real bad problem >I've got on FreeBSD, maybe someone has an idea: When we close the >terminal that started webkit either in background or as a daemon, if the >servlet prints a lot of text to the stdo