8.5

Table Of Contents
2 Open the "ManagerContainerConfig.xml" file and look for the XML tag bean whose
id has the value ConfigurationManager.
3
Within that tag find the property name availableLoadBalancers.
4
In the <list> tag, add the following: <ref bean={your newbeanID}/>
5
Above this ConfigureManager tag, define the bean ID as your new bean ID: <bean
id={your newbeanID} class={yourLoadBalancerClass}/>
6 Restart the Tomcat server.
7 Log on with the QuarkXPress Server Manager client and choose Global Setting > Load
Balancer Method > Choose Load Balancer.
8 Locate your new load balancer method, then click Save.
Generating a custom client SDK class
To generate a custom client SDK class, add new classes and generate new stubs as described
in the topics below.
Adding new SDK classes
To add new SDK classes:
1
Modify "ManagerSDK.xml" (located in Server/utilities/) to reflect changes in
"Modifier.dtd."
2
Using a different folder, create backups of "managersdkro.jar," "managerdomgenerator.jar,"
and "managerrequestserializer.jar." All of these files are located in <Installation
Folder>/Server/apache-tomcat5.5.16/webapps/quark/WEB-INF/lib.
3
Execute Server/utilities/ClientSDKRequestObjectGenerator.sh (Mac OS) or
Server/utilities/ClientSDKRequestObjectGenerator.bat (Windows) and look
for errors. If you encounter an error, address the problem, then execute
ClientSDKRequestObjectGenerator again. When the process completes successfully,
"managersdkro.jar", "managerdomgenerator.jar", and "managerrequestserializer.jar" are
regenerated in the webapps/quark/WEB-INF/lib folder. Check the timestamps to verify
that the files are new.
4
Launch QuarkXPress Server Manager.
5
Modify Server/utilities/deploy_sdk.wsdd to add the bean mapping for the newly
generated class. To make change tracking easier, position the mapping within the classes
to match the position of any changes made to the DTD or XML.
6
Edit Server/utilities/deploy.sh (Mac OS) or Server/utilities/deploy.bat
(Windows) to change the port number where QuarkXPress Server Manager is running (if
it is different from 8090).
7
Execute Server/utilities/deploy.sh (Mac OS) or Server/utilities/deploy.bat
(Windows) and check for errors.
QXP SERVER 8.5 WEB INTEGRATION GUIDE | 29
GETTING STARTED