04.12.2012 Views

Windchill System Administrator's Guide

Windchill System Administrator's Guide

Windchill System Administrator's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Unlike the default RMI registry implementation, the one used internally by the<br />

server manager allows client connections to be timed out (discussed later), which<br />

improves the scalability of the system in environments with many users. This<br />

flexibility is one of the justifications for controlling the bootstrap registry as an<br />

internal part of the <strong>Windchill</strong> system.<br />

RMI-Based Server Locator<br />

The primary purpose of the <strong>Windchill</strong> server manager is to introduce clients to<br />

method servers as needed. The <strong>Windchill</strong> architecture separates the server<br />

manager VM from the method server VM for purposes of reliability and<br />

scalability. Clients call the server manager to obtain a reference to a method<br />

server and then communicate directly with that server as long as they can. When<br />

more than one method server is available, the server manager returns references<br />

so as to distribute the load among the available servers.<br />

The protocol for obtaining method server references in the client is encapsulated<br />

within the classes that invoke remote methods. It includes fault tolerance for<br />

network failures and server manager restarts, and generally will never be accessed<br />

directly by <strong>Windchill</strong> customizers.<br />

Server Management<br />

The server manager is responsible for maintaining the method servers.<br />

Server Launching<br />

The server manager executes method servers as child processes on an as-needed<br />

basis. Under high load, it expands the pool of available servers and contracts as<br />

usage declines, within some range of management thresholds.<br />

In general, all <strong>Windchill</strong> method servers are created equal. They are all instances<br />

of the same implementation, which dynamically loads Java classes as necessary to<br />

carry out requests received from clients. However, to allow for specialty servers<br />

that may have unique management requirements, such as limitations due to<br />

application-specific native libraries, the server management protocol allows the<br />

assignment of unique service names that control the management thresholds and<br />

the method server's startup arguments.<br />

Although most generated interfaces invoke the default method service, you can<br />

build custom interfaces that request specific service names.<br />

Background Processing<br />

It is often necessary to have a system carry out operations without being directly<br />

connected to an end user. This is the case for periodic (time-based) activities, as<br />

well as operations that are triggered by a user operation, but for which the user<br />

does not wait. For example, an action is performed that promotes an object to a<br />

new life cycle state. The change to this life cycle state may trigger additional<br />

processing that is not directly related to the user's action. These follow-on<br />

activities should be carried out in the background.<br />

A-12 <strong>Windchill</strong> <strong>System</strong> Administrator’s <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!