Automated Publishing with Arbortext Layout Developer > The PTC Arbortext Publishing Engine Environment
  
The PTC Arbortext Publishing Engine Environment
Setting up PTC Arbortext Publishing Engine
You will need to carry out these steps to set up and configure an PTC Arbortext Publishing Engine (PE) environment to run an automated publishing process.
Install Java SE Runtime Environment 7.0
For more information, see Installing and Integrating Tomcat in Installing Guide for PTC Arbortext Publishing Engine.
Install PTC Arbortext Publishing Engine 7.0 M030 or later on your designated server
For more information, see PTC Arbortext Publishing Engine Installation in Installing Guide for PTC Arbortext Publishing Engine.
Install Tomcat 7.0
To verify the install, direct your browser to http://localhost:8080.
For more information, see Installing and Integrating Tomcat in Installing Guide for PTC Arbortext Publishing Engine.
By default, PE runs as the user ID SYSTEM so it cannot see network shares. If you want PE to read and write to network shares, configure Tomcat to run as a Realm user. Use the Configure tool in Tomcat to log on using a valid ID and password.
Set these SYSTEM environment variables:
PTC_D_LICENSE_FILE — specifies the location of your FlexNet license file
For more information, see these topics in Installing Guide for PTC Arbortext Publishing Engine:
PTC_D_LICENSE_FILE Environment Variable
PTC Arbortext Publishing Engine Licensing
APTDBGFLGS=2.18,2.20,4.18,6.2,9.27
APTBGMODE=extwin
APTNOCOMCHECK=1
APTNOHC=1
For more information on these environment variables, see the Administrator's Guide in the PTC Arbortext Help Center.
Restart the machine to ensure the environment variables are set
Run the PTC Arbortext Publishing Engine Configuration Program with the file [install]/e3/bin/e3config.exe from your PE installation.
Select Yes when prompted about registering the correct COM server to the current directory.
On the Tomcat/IIS tab:
Ensure that PE Integration shows as present. If not, click Remove and then Add.
Click Start in the Service Status field to launch PTC Arbortext Publishing Engine
For more information, see Using the PTC Arbortext Publishing Engine Configuration Program in Configuration Guide for PTC Arbortext Publishing Engine.
You also need to make some changes in the file [install]/e3/e3/WEB-INF/e3config.xml in your PE installation.
You can edit the file in two ways:
Use the Edit Configuration button in the Setup tab of the PTC Arbortext Publishing Engine Configuration Program
e3config.xml opens in PTC Arbortext Publishing Engine Interactive.
Open e3config.xml in a separate XML editor
For more information, see The e3config.xml Configuration File in Configuration Guide for PTC Arbortext Publishing Engine.
Configure some settings in e3config.xml to support an automated publishing process:
SubprocessPools element — configure your sub-processes
Sub-process pools are the equivalent of Enterprise Agents.
For more information, see Configuring Sub-process Pools in Configuration Guide for PTC Arbortext Publishing Engine.
AllowedFunctions element — make custom applications available for client requests
The shipped e3config.xml file defines one ClientFunction:
<ClientFunction pattern="*/e3demo-app.xml" type="app"/>
This declares the file types which are allowed to be passed directly to APP. This must remain in e3config.xml without changes.
You can add other ClientFunction entries to your custom e3config.xml file. They should be of this format:
<ClientFunction pattern="*/*.act" type="app"/>
Note that type=app supports requests that should be passed to the APP engine for processing. See Making a Request to PTC Arbortext Publishing Engine.
For more information, see Specifying the AllowedFunctions List in Configuration Guide for PTC Arbortext Publishing Engine.
queue element — set up queues
For more information, see Specifying Queues in Configuration Guide for PTC Arbortext Publishing Engine.