RE: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Ben Parker
Hey everybody - I wanted to throw in my 2 cents on this issue because even with all the responses still no one had said this yet. I use a variation of the cron monitoring system: I have a separate machine (or could feasibly be the Webware server) hit a protected HTTP page served by Webware which

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Tavis Rudd
There's also WebKit's Monitor.py tool. I'm not certain that it works, but the idea is to check that requests are still being processed rather than just checking to see if the process is still running. Tavis On May 7, 2002 10:18 am, Bill Eldridge wrote: > Edmund Lian wrote: > > You may want to

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Bill Eldridge
Edmund Lian wrote: > You may want to consider using daemontools: > http://cr.yp.to/daemontools.html > > Starting/stopping/controlling the daemon doesn't require that you fiddle > with inittab, init.d files, etc. As such, it is portable across all flavors > of Unix/Linux. Also, once root installs

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Bill Eldridge
Frank Barknecht wrote: > This looks, well, not nice, but working and better than no precautions > the way I went. As I'm not root on the server, I can't do the inittab > stuff, but I can do cronjobs. And if crond dies, some other people > will shout before me... Alright, look in your WebKit/webki

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Edmund Lian
>If you're using Debian or FreeBSD, there is a Debian package >for this on the "mothership". Ah, sorry. What I meant was that there were packages for daemontools on the FreeBSD and Debian motherships. ...Edmund. ___ Have big pipes? S

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Bill Eldridge
It should be just another process as far as Unix is concerned. Try throwing it in your inittab and doing: telinit q (almost the same as 'kill -HUP 1', telling init to reread inittab.) Costas Malamas wrote: > > Well, I didn't know about respawn (I am a DB guy; I sysop on the side > :-

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Edmund Lian
Frank, >This looks, well, not nice, but working and better than no precautions >the way I went. As I'm not root on the server, I can't do the inittab >stuff, but I can do cronjobs. And if crond dies, some other people >will shout before me... You may want to consider using daemontools: http://c

Re: [Webware-discuss] mod_dav and webware

2002-05-07 Thread Terrel Shumway
On Tue, 2002-05-07 at 01:02, Ian wrote: > hi there, > > I've got mod_dav installed and working. I've also got webkit installed and > some working python server pages. > > When i open one of the psp pages, instead of getting the source code of the > page, the page first executes and i wind up g

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Frank Barknecht
Costas Malamas hat gesagt: // Costas Malamas wrote: > What follows is a hack, a kludge, a miserable excuse for a solution, but it > works. I have this running on a cronjob every 20mins or so... RedHat Linux > or relatives: > > -8<---

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Costas Malamas
Well, I didn't know about respawn (I am a DB guy; I sysop on the side :-), but can you (from a WK perspective)? C. >From: Bill Eldridge <[EMAIL PROTECTED]> >To: Costas Malamas <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED], [EMAIL PROTECTED] >Subject: Re: [Webware-discuss] Restarting AppServer au

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Bill Eldridge
Fine, but can't you throw this in inittab as: wk:2345:respawn:/etc/rc.d/init.d/webkit restart so it restarts immediately instead of waiting up to 20 minutes? Costas Malamas wrote: > What follows is a hack, a kludge, a miserable excuse for a solution, but > it works. I have this running on a

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Costas Malamas
What follows is a hack, a kludge, a miserable excuse for a solution, but it works. I have this running on a cronjob every 20mins or so... RedHat Linux or relatives: -8< #!/bin/ksh # # Configuration # ERRORFILE=/path/to/apache

RE: [Webware-discuss] More trouble with DBPool...

2002-05-07 Thread Hancock, David (DHANCOCK)
I can't speak for the MySQL module, but when using the DCOracle2 module, database connections are automatically and reliably closed when the app server is stopped or restarted. Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 -Original Message- From: Costas Malamas [mailto:[E

Re: [Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Bill Eldridge
Frank Barknecht wrote: > Hi all, > > my AppServer process died, and I didn't recognize this for one or two > days. How do you guys make sure, the AppServer doesn't die, or if > it dies, that you get to know it or that it gets restarted > automatically? > > Ciao, You can try putting an entry i

[Webware-discuss] Restarting AppServer automatically

2002-05-07 Thread Frank Barknecht
Hi all, my AppServer process died, and I didn't recognize this for one or two days. How do you guys make sure, the AppServer doesn't die, or if it dies, that you get to know it or that it gets restarted automatically? Ciao, -- Frank Barknecht _ ___footils

[Webware-discuss] mod_dav and webware

2002-05-07 Thread Ian
hi there, I've got mod_dav installed and working. I've also got webkit installed and some working python server pages. When i open one of the psp pages, instead of getting the source code of the page, the page first executes and i wind up getting the rendered html page. Any idea how i can get