Documentation Archive Developer
Search
Table of Contents Previous Section

Starting Applications Using Monitor

To start up a WebObjects application in the Monitor, do the following:

  1. Locate the application in the list in the left frame of the browser window.

  2. Click the inspector button to the left of the application name.

  3. Click the On/Off button located in the Instance Status field.

Monitor starts an instance of your application by creating a new task with the executable and any arguments you have set Monitor to use for that instance. Monitor starts your application in one of two ways, depending on whether the application is on a different host.

Note: On Solaris and HP-UX platforms, Monitor cannot start applications itself. It must use the MonitorProxy, even if the application is on the local machine.

To learn whether the application startup was successful, you must click the Refresh button at the top of the window. If the startup was successful, the On/Off button is set to On, and the application's name in the left frame has become a hyperlink. Why do you have to click the Refresh button? As soon as a WebObjects application starts up, it notifies the Monitor immediately, but the Monitor cannot refresh the web browser itself without a request from the web browser.

If the button is not set to On, either the application did not get a chance to start before you refreshed the page display, or the application did not start because of an error. If the application has a very involved initialization, you may have to wait several seconds before clicking Refresh shows the application as running.

This procedure starts an instance of the application but does not display it in the web browser. You can access an application instance by clicking the hyperlink in the left frame, but you are not guaranteed to get the instance that just started; if multiple instances are running, the adaptor performs load balancing to process your request.

Table of Contents Next Section