Developing Web applications / Genero Web Services |
The service invalidation feature provides notification for when the configuration of a Genero Web service is invalid. The configuration must be modified before the service can start.
A Web service is typically an automated process, called on behalf of a user or process. When a Web service has an invalid configuration, there is no graphical message informing an end user of the error. Requests continue to fail. To prevent requests from failing forever, if the Genero Web Services service (gwsproxy) cannot start within DVM_AVAILABLE time, it informs the dispatcher.
The next time a request is received, the dispatcher remembers that the gwsproxy cannot be started and sends a 410 HTTP status to the user agent.
In the dispatcher log, the first time a service (or an application) is not able to start, this message is returned:
Application or service has been stopped due to a fatal error
Bad configuration prevents appliciton or service to start.
The service resumes when the configuration is updated.
If the service is configured in the Genero Application Server configuration file, you must restart the Genero Application Server.
If the service is configured in an external application configuration file (xcf), the configuration is reloaded each time it is modified. You do not need to restart the Genero Application Server.
This feature is only supported for Genero Web services. It is not supported for Genero Desktop Client or Genero Web Client applications.