9.2

Table Of Contents
public QHostProxy getAvailableHost(QHostProxy[] hosts, QCommand
command);
Signature
Gets an available host out of the provided list of hosts to execute the specified command.Description
hosts: List of hosts that should be scanned for the most eligible host.
Parameters
command: Command for which host is being searched.
Available host. Can be used for next request.Returns
Next:
1
Make a jar for the load balancer.
2
Deploy the jar to the following folder: [QXPSM_HOME]/dependencies
3
To configure "ManagerContainerConfig.xml" for bean mapping, first navigate to
[QXPSM_HOME]/conf .
4
Open the "ManagerContainerConfig.xml" file and look for the XML tag bean whose id
has the value ConfigurationManager.
5
Within that tag find the property name availableLoadBalancers.
6
In the <list> tag, add the following: <ref bean=[your newbeanID]/>
7
Above this ConfigureManager tag, define the bean ID as your new bean ID: <bean
id=[your newbeanID] class=[yourLoadBalancerClass]/>
8
Restart the Tomcat server.
9
Log on with the QuarkXPress Server Manager client and choose Global Setting > Load
Balancer Method > Choose Load Balancer.
10
Locate your new load balancer method, then click Save.
Keep document open (sessions)
In early versions of QuarkXPress Server Manager, the software opened a QuarkXPress
project, performed a function, and then closed the project. To avoid the delays involved
in repeatedly opening and closing a QuarkXPress project, QuarkXPress Server Manager
can now keep QuarkXPress projects open until they need to be closed.
To keep projects open for a set period of time, create a session and then open one or more
projects in that session. You can specify a timeout interval while creating the session. If
the session is not used during the interval, all open projects in that session are closed.
An open project can be modified and saved at any time during the process. An open project
can even be saved at another location relative to the QuarkXPress Server document pool.
You can also create a new project and keep it open.
Using the Extensibility tool
To compile and generate artifacts of custom objects:
144 | QXP SERVER 9.2 WEB INTEGRATION GUIDE
USING THE QXPSM SDK