Re: Timeout Debugging using Apache Adaptor.
Timo Hoepfner <[email protected]> Wed, 16 Feb 2011 09:50:22 +0100
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, take a look at the timeout settings in WOMonitor, especially Site -> HTTP Adaptor Settings. There's some description on the Help tab within WOMonitor: > What HTTP adaptor settings are there? (top) > > Most adaptor settings can be set at globally, on a per-application > basis, and on a per-instance basis. When sending configuration > information to the HTTP adaptor, Monitor first checks if the > instance has a value set. If it doesn't, it checks if the > application has a value set. If it doesn't it checks if there are > global settings. If there are no global settings, it will allow the > HTTP adaptor to use it's own defaults. > Load BalancingThe load-balancing scheme that the HTTP adaptor should > use for instances of this application. The standard choices are > Random, Round Robin, and Load Average. A custom load-balancer name > may also be passed to the HTTP adaptor.RetriesThe number of times a > request is retried if a communications failure occurs before an > error page is returned.Redirection URLIf an instance fails to > respond to a direct request, this is the URL that the client is > redirected to.DormantAfter an instance fails to respond, the number > of times the adaptor skips that instance before trying again.Send > TimeoutSeconds before the adaptor gives up trying to send data to an > instance.Receive TimeoutSeconds before the adaptor gives up waiting > for a response from the instance.Connect TimeoutSeconds before the > adaptor gives up connecting to an instance.Send Buffer SizeSize of > the TCP send buffer on the connection to the instance from the HTTP > adaptor.Receive BufferSize of the TCP receive buffer on the > connection to the instance from the HTTP adaptor.Connection Pool > SizeThe maximum number of simultaneous connections a particular > adaptor process should keep open to each configured instance.URL > VersionWhat WebObjects URL version the application responds to. All > WebObjects 4, 4.5, and 5 applications use version 4 URLs by default. The defaults are compiled into the adaptor itself. This if from Wonder's adaptor in Wonder/Utilities/Adaptors/Adaptor/config.h : #define CONN_TIMEOUT 3 /* timeout for connect to webapp instance */ #define SEND_TIMEOUT 5 /* timeout for send to webapp instance */ #define RECV_TIMEOUT 30 /* timeout for receive from webapp instance */ Timo Am 15.02.2011 um 23:07 schrieb Miguel Angel Torres Avila: > Hi List, > > I configured my development environment to work with Apache Adaptor > following the instructions of this page: > > http://wiki.objectstyle.org/confluence/display/WO/Development+Tools-Running+Through+Apache > > It works great, but once I try to debug the code when the program > stops in a breakpoint and I am debugging in the browser I get a "No > instance available" message after 30 seconds. I can continue > debugging but when the application returns de response obviously > nothing happens in the browser. > > I think the responsible of this timeout is the WOAdaptor but I don't > know where to change that parameter. > > Any help would be appreciated, Thanks in advance. > > > > _______________________________ > Ing. Miguel Angel Torres Avila > Director General > Tel: +52 (33) 3367 1892 > Cel: +52 (33) 3106 8758 > E-mail: [email protected] > www.toracom.net > > Antes de imprimir, piense en el Medio Ambiente. Before printing > think about the Environment. Avant d'imprimer, pensez à > l'Environnement > > > _______________________________________________ > WebObjects-dev mailing list > [email protected] > http://www.omnigroup.com/mailman/listinfo/webobjects-dev