2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 197
Next:
Make a jar for the load balancer.
1.
Deploy the jar to the following folder: [QXPSM_HOME]/dependencies2.
To configure “ManagerContainerConfig.xml” for bean mapping, first navigate3.
to [QXPSM_HOME]/conf .
Open the “ManagerContainerConfig.xml” file and look for the XML tag bean
4.
whose id has the value ConfigurationManager.
Within that tag find the property name availableLoadBalancers.5.
In the <list> tag, add the following: <ref bean=[your newbeanID]/>6.
Above this ConfigureManager tag, define the bean ID as your new bean ID:7.
<bean id=[your newbeanID] class=[yourLoadBalancerClass]/>
Restart the Tomcat server.8.
Log on with the QuarkXPress Server Manager client and choose Global Setting9.
> Load Balancer Method > Choose Load Balancer.
Locate your new load balancer method, then click Save.
10.
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
QuarkXPress Server Manager client.
Returns Description of the load balancer.
useFileInfo
Signature public Boolean useFileInfo();
Description
Gets a flag that indicates whether the load
balancer uses file information to decide on
which host to use.
Returns
T
rue if the fileinfo command should be fired
before rendering, otherwise false.
getAvailableHost
Signature
public QHostProxy
getAvailableHost(QHostProxy[] hosts,
QCommand command);
Description
Gets an available host out of the provided list of
hosts to execute the specified command.
Parameters
hosts: List of hosts that should be scanned for
the most eligible host.command: Command for
which host is being searched.
Returns Available host. Can be used for next request.