Date:  09/14/2004 04:59:50 PM Msg ID:  002202
From:  David Hempy Thread:  002090
Subject:  Re: FoxWeb Broker Timed Out ???
 
Dealing with a similar problem now, and I have the same need.
 
We must run FoxWeb as a service.  I could run it as an application for brief periods while I'm investigating something on our production server, but it is not reasonable to leave it that way.  The problem I'm troubleshooting sometimes occurs once a day, sometimes once a week. 
 
I've got a situation where users are getting the following error in the browser:

FoxWeb Message

The FoxWeb Service has returned the following message:
Channel Timeout Error

No Available Channels

I would turn to chanstat, except it can't run because there are no available channels.  I never been able to run show_channels.fwx.  Is that a file that must exist in the document, or is there a hook in foxweb that emulates it?  In any case, I don't think that would work for me, as it would still require an available channel.

So, bottom line: is there any way I can see what each of my FoxWeb channels is doing when running as a service and no channels are available?  We had this functionality in 1.29...not having it now is a real hardship in troubleshooting.  I don't know of any way to tell what scripts are running at the time of trouble.

 

Hoping I've missed something,

-dave

--
David Hempy
Internet Database Administrator
Kentucky Educational Television
(859)258-7164  -  (800)333-9764

Sent by FoxWeb Support on 06/03/2004 04:21:00 PM:
Most probably there's code in one or more scripts that is causing channels to hang.  While you are troubleshooting this problem I recommend that you disable the Run as Service and Hide Channels options in the FoxWeb Control Center.  You will need to restart FoxWeb for your changes to take effect.  Once you restart you should be able to see the FoxWeb icon in the tray area of the task bar, as well as separate icons for each channel in the task bar.
 
You can open the channel status window by right-clicking on the tray icon and selecting Channel Status.  You should also be able to click on the channel icons to view the VFP windows for each channel.
 
Once you experience the problem again, please check the status of the channels and inspect the various windows to see if there any hints that would help you identify the problem.  Look for open dialog windows or anything else that would halt execution of a script.
 
By the way, the Channels Status tab in the Control Center was replaced with the status window, as well as show_channels.fwx.  Both these options are described in the Operating the FoxWeb Server page of the FoxWeb documentation.
 

FoxWeb Support Team
support@foxweb.com email