9-12 Deployer Users Guide PDF
9-12 Deployer Users Guide PDF
Version 9.12
October 2016
This document applies to webMethods Product Suite Version 9.12 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright © 2004-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or
its affiliates and/or their licensors.
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or
Software AG USA Inc. and/or its subsidiaries and/or its affiliates and/or their licensors. Other company and product names mentioned
herein may be trademarks of their respective owners.
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at
hp://softwareag.com/licenses.
Use of this software is subject to adherence to Software AG's licensing conditions and terms. These terms are part of the product
documentation, located at hp://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices, license terms, additional rights or
restrictions, please refer to "License Texts, Copyright Notices and Disclaimers of Third Party Products". For certain specific third-party
license restrictions, please refer to section E of the Legal Notices available under "License Terms and Conditions for Use of Software AG
Products / Copyright and Trademark Notices of Software AG Products". These documents are part of the product documentation, located
at hp://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
Table of Contents
Concepts......................................................................................................................................... 13
About webMethods Deployer................................................................................................... 14
Runtime-Based Deployment.....................................................................................................14
Overview of Runtime-Based Deployment......................................................................... 14
Repository-Based Deployment................................................................................................. 15
Composites........................................................................................................................ 16
Build Script........................................................................................................................ 16
Overview of Repository-Based Deployment......................................................................16
Creating Projects...................................................................................................................... 17
Deployment Sets............................................................................................................... 18
Unresolved Dependencies.................................................................................................18
Target Servers................................................................................................................... 18
Deletion Sets..................................................................................................................... 19
Mapping Projects...................................................................................................................... 20
Deploying Projects....................................................................................................................20
Checkpoint and Roll Back.................................................................................................20
Transactional Deployment................................................................................................. 21
Concurrent and Sequential Deployment........................................................................... 21
Deployer Interfaces...................................................................................................................21
Automating Project Creation.....................................................................................................23
Logging..................................................................................................................................... 23
Getting Started............................................................................................................................... 25
Getting Started with Runtime-Based Deployment....................................................................26
Getting Started with Repository-Based Deployment................................................................ 27
Mapping a Project........................................................................................................................143
About Mapping a Project........................................................................................................144
Mapping a Project to Target Servers and Target Groups.......................................................144
Exporting and Importing a Map..............................................................................................147
Substituting Configuration Values...........................................................................................148
Substituting Configuration Values by Asset.................................................................... 149
Substituting Configuration Values by Target Server (Runtime-Based)............................ 149
Substituting Configuration Values by Target Server (Repository-Based)........................ 150
Exporting and Importing Substitute Configuration Values...................................................... 151
LDAP Configuration...........................................................................................292
Metadata............................................................................................................293
Enhanced Parser...............................................................................................294
Ports.................................................................................................................. 295
Proxy server alias............................................................................................. 299
Proxy Server Bypass........................................................................................ 299
Reliable Messaging Configuration.................................................................... 300
Remote Server Alias......................................................................................... 302
SAML Token Issuer...........................................................................................303
Scheduled Tasks............................................................................................... 303
SFTP Server Alias............................................................................................ 304
SFTP User Alias............................................................................................... 305
Truststore Alias................................................................................................. 307
Users................................................................................................................. 307
Integration Cloud Accounts...............................................................................307
Integration Cloud Applications.......................................................................... 308
Integration Cloud Settings.................................................................................308
Web Service Endpoint Alias..............................................................................309
Web Service Policy........................................................................................... 311
Integration Server Administrative Asset Dependencies........................................... 312
Integration Server Package Assets.................................................................................313
About Integration Server Packages......................................................................... 313
Adding Package Assets to the Source Directory..................................................... 313
Global Values for Integration Server Package Assets and Composites...................315
Individual Values for Integration Server Package Assets.........................................317
Adapter Runtime and .NET Service Assets.................................................................... 319
Adding Adapter Runtime and .NET Service Assets to the Source Directory............320
Adapter Runtime Assets.......................................................................................... 320
Adapter Runtime Asset Dependencies.................................................................... 322
.NET Asset............................................................................................................... 323
Mobile Support Assets............................................................................................................323
My webMethods Server Assets..............................................................................................324
Optimize Assets......................................................................................................................329
Trading Networks Assets........................................................................................................330
Universal Messaging Assets.................................................................................................. 333
Other Assets........................................................................................................................... 336
This guide explains how to use webMethods Deployer to deploy assets from source
webMethods servers or development environments to target webMethods servers.
Document Conventions
Convention Description
Italic Identifies variables for which you must supply values specific to
your own situation or environment. Identifies new terms the first
time they occur in the text.
{} Indicates a set of choices from which you must choose one. Type
only the information inside the curly braces. Do not type the { }
symbols.
... Indicates that you can type multiple options of the same type.
Type only the information. Do not type the ellipsis (...).
Online Information
Software AG Documentation Website
You can find documentation on the Software AG Documentation website at hp://
documentation.softwareag.com. The site requires Empower credentials. If you do not
have Empower credentials, you must use the TECHcommunity website.
Software AG TECHcommunity
You can find documentation and other technical information on the Software AG
TECHcommunity website at hp://techcommunity.softwareag.com. You can:
Access product documentation, if you have TECHcommunity credentials. If you do
not, you will need to register and specify "Documentation" as an area of interest.
Access articles, code samples, demos, and tutorials.
Use the online discussion forums, moderated by Software AG professionals, to
ask questions, discuss best practices, and learn how other customers are using
Software AG technology.
Link to external websites that discuss open standards and web technology.
1 Concepts
■ About webMethods Deployer ....................................................................................................... 14
■ Runtime-Based Deployment ........................................................................................................ 14
■ Repository-Based Deployment ..................................................................................................... 15
■ Creating Projects .......................................................................................................................... 17
■ Mapping Projects ......................................................................................................................... 20
■ Deploying Projects ....................................................................................................................... 20
■ Deployer Interfaces ...................................................................................................................... 21
■ Automating Project Creation ........................................................................................................ 23
■ Logging ......................................................................................................................................... 23
Note: You can deploy user-created assets using Deployer. You cannot deploy
webMethods components that have been installed by the Software AG
Installer as part of a product. For example, you can deploy Integration Server
packages that have been created by users, but you cannot deploy Integration
Server packages that were installed, such as WmPRT. If you want such
components to reside on target runtimes, you must install them using the
Software AG Installer.
Runtime-Based Deployment
In runtime-based deployment, you deploy assets directly from webMethods source
runtimes to target runtimes.
You can deploy assets from and to these webMethods runtimes:
webMethods Brokers.
BPM (ProcessModel) runtimes. A ProcessModel runtime is an Integration Server that
hosts the webMethods Process Engine and executes business processes.
Integration Servers, including hosts for Trading Networks Servers.
My webMethods Server.
Optimize runtimes. An Optimize runtime is an Optimize Analytic Engine.
Stage 4 Deploy the assets in the project build to the target runtimes.
For more information, see "Deploying Projects" on page 20.
For a more specific list of tasks involved in the runtime-based deployment process, see
"Geing Started with Runtime-Based Deployment" on page 26.
Repository-Based Deployment
In repository-based deployment, you build the assets from your development
environment or version control system (VCS) and store them on a repository. The
repository is a specific directory structure to which you map Deployer. Deployer
deploys the assets contained in the repository to target servers, target groups, or both.
You can use repository-based deployment to deploy assets from the following kinds of
webMethods runtimes to target servers:
Application Platform
AgileApps
BPM Process Development
Broker
Business Rules
EDA
Event Server
Integration Server
My webMethods Server
Optimize
Trading Networks
Universal Messaging
Composites
Composites are compressed files that contain the definitions of the assets and their
dependencies you build in a development environment. Each composite defines assets
from one webMethods runtime type. You build the assets into the composite file during
the build process and store them in a repository for deployment.
Deployer can use the assets from several different composites (and webMethods runtime
types) to construct a deployment set. The assets in each composite file retain the same
relationships they share in the development environment.
The build process that creates the composites for your assets also creates an Asset
Composite Definition Language (ACDL) descriptor (descriptor) for each composite.
The descriptor is an XML schema that serves as a manifest for each composite and
describes all of the assets included in the composite file. Deployer reads the descriptor to
determine which assets are present in each composite.
Build Script
In repository-based deployment, you use a build script (build.xml) to build composites
and their associated descriptors from the development environment. The build
properties file (build.properties) contains the seings the build script uses to build the
assets.
For more information about seing build seings and running the build script, see
"Building Composites for Repository-Based Deployment" on page 29.
For a more specific list of tasks you perform in the repository-based deployment process,
see "Geing Started with Repository-Based Deployment" on page 27.
Creating Projects
A deployment project identifies the user-created assets on source servers (for runtime-
based deployment) or a repository (for repository-based deployment) that you want to
deploy to target servers. To create a project, you assign the project a name and set its
properties, and then you authorize users to perform the project tasks.
When you create a project, Deployer automatically creates an HTML home page for the
project. You can modify this page to contain instructions or notes about the project that
you want users to view. For example, you might want to list the target servers for the
users who will perform the mapping task, or you might want to provide instructions for
users who will test the deployed solution.
Deployment Sets
You identify the assets to include in the project using deployment sets. Each deployment
set identifies the user-created assets you want to deploy from one type of source server
or repository to a target server.
A single project can include deployment sets with assets from different types of
webMethods applications. For example, a single project can include Integration Server
deployment sets and ProcessModel deployment sets.
Note: A project can contain deployment sets whose assets were selected from only
one of the following:
Source webMethods runtime types (for runtime-based deployment)
A composite in a repository (for repository-based deployment)
A project cannot contain both types of deployment sets.
Unresolved Dependencies
If assets in your deployment set depend on assets that are not part of the deployment
set, Deployer identifies these missing assets as unresolved dependencies. For example, if
you add a trigger to an Integration Server deployment set, but do not add the service
that is invoked by the trigger, Deployer identifies the missing service as an unresolved
dependency. Deployer enables you to resolve unresolved dependencies.
Target Servers
To control to which targets, the assets are deployed, you define target servers. You
define target servers according to the kind of assets you want to deploy. For example, if
you want to deploy Integration Server assets to one set of target Integration Servers, you
can define a single deployment set that identifies those assets.
To deploy some Integration Server assets to one set of target Integration Servers and
other Integration Server assets to a second set of target Integration Servers, you must
define two different deployment sets.
Deletion Sets
Deployment projects that contain deployment sets whose assets were selected from
source webMethods servers or repositories can also contain a deletion set for each target
server. A deletion set lets you specify user-created assets to delete from the target
server before you deploy the assets in the project's deployment sets. You can also export
deletion set definitions from one project and import them into another.
Mapping Projects
In a deployment map, you identify target servers and target groups for each deployment
set in a project. You can create multiple deployment maps for each project build (for
example, if you are deploying to multiple environments).
Deploying Projects
To deploy a project, you first create a deployment candidate, which is a combination of a
deployment set and a deployment map. For runtime-based deployment projects, the
deployment candidate also includes the project build. Deployer does the following when
you deploy the project:
For projects that include deletion sets, Deployer deletes the identified assets from the
target servers.
Copies the contents of each deployment set in the deployment candidate's project to
the target servers identified in the deployment candidate's deployment map.
Creates a deployment report that lists all actions that occurred during deployment.
For an IS & TN deployment set for which you specified substitute configuration
values, Deployer substitutes those values during deployment.
Transactional Deployment
For repository-based deployment, you can deploy assets and composites using
transactional deployment. When transactional deployment is enabled, Deployer
automatically creates the checkpoint for the target server when you deploy the
deployment set. If deployment fails, Deployer automatically rolls back all of the target
servers to the state they were in when Deployer created the checkpoint. For more
information about seing transactional deployment, see "Creating a Project" on page
87.
Deployer Interfaces
Deployer offers a graphical user interface (GUI), a command line interface, and a
Project Automator tool. Using the command line interface you can enter commands at
a command prompt or you can create scripts that execute commands automatically.
The Project Automator allows you to specify project information in an XML file for
automated project creation.
The following table shows which tasks you can perform from each type of Deployer
interface.
Create projects. X X
Logging
Deployer writes audit log entries to these logs:
The Deployer GUI audit log. This log contains information about actions that users
perform through the Deployer GUI, such as creating builds and deploying.
The Deployer command line audit log. This log contains error messages wrien by
Deployer commands executed by users.
The Deployer Project Automator audit log. This log contains information and error
messages wrien by the Project Automator during execution of an XML file.
Deployer writes journal entries to the Integration Server server log. The server log
contains information about operations and errors that occur on Integration Server, such
as the starting of Integration Server subsystems and the loading of Integration Server
packages such as Deployer. For complete information about the Integration Server
server log, see webMethods Integration Server Administrator’s Guide.
2 Getting Started
■ Getting Started with Runtime-Based Deployment ....................................................................... 26
■ Getting Started with Repository-Based Deployment .................................................................... 27
Task See...
Task See...
Task See...
Task See...
■ Overview ....................................................................................................................................... 30
■ Before Building Composites ......................................................................................................... 30
■ Setting the Properties for the Build ............................................................................................. 32
■ Running the Build Script and Rebuilding the Index ..................................................................... 41
■ Preparing BPM Assets for Repository-Based Deployment .......................................................... 47
■ Next Steps .................................................................................................................................... 52
Overview
The build process for repository-based deployment involves the following basic stages:
Stage 1 Create the assets and export or copy them from the source development
platform to the source directory.
Developers create the assets on the development environment and
export or copy them to a file system or version control system (VCS)
from which the build process can obtain them. This guide assumes
that the assets have already been created. For more information about
creating and exporting assets, see the documentation for the applicable
webMethods runtime. For more information about adding assets to the
source directory, see "Adding Assets to the Source Directory" on page
31.
Stage 2 Install the webMethods Asset Build Environment on the build machine.
The Asset Build Environment supplies the scripts and libraries
necessary to build assets into composites that Deployer then deploys to
target servers and groups. For more information about the Asset Build
Environment, see "Installing the Asset Build Environment" on page
31. For information about installing the Asset Build Environment,
see Installing Software AG Products.
Note: If you are building a single BPM process project folder, follow the
procedure described in "Preparing the BPM Process Development
Asset Deployment Environment" on page 48.
Create the assets you want to deploy and add them to a file system or VCS that is
accessible to build scripts.
Install the webMethods Asset Build Environment version 8.2 SP1 or greater.
For information about installing the Asset Build Environment, see Installing Software AG
Products.
Note: When you overinstall later releases of the Asset Build Environment, your
changes to these files are retained. You do not need to move the files unless
you uninstall and reinstall the Asset Build Environment.
The Software AG Installer installs all three files in the following location as part of the
Asset Build Environment:
Software AG_directory\common\AssetBuildEnvironment\master_build
Property Definition
build.output.dir Root directory where the build script will place the
output (composites and descriptors) of the build. Use
a forward slash "/" as path separator.
The build script creates a subdirectory with the
current build number in this directory, as well as a
subdirectory for the composites and descriptors for
each runtime type included in the build as follows:
AgileApps AgileApps
Broker Broker
EDA EDA
Integration Server IS
My webMethods MWS
Server
Optimize Optimize
Trading Networks TN
Property Definition
projects, TN exports, and so on) as direct children. Use
“;” as the delimiter for more than one folder. Use a
forward slash “/” as path separator.
For example, if you want to include Integration Server
and Trading Networks assets, you would enter the
following:
/root_path /project_name /IS;/root_path /project_name /TN
Where root_path is the root directory of the source,
project_name /IS is the directory holding Integration
Server assets, and project_name /TN is the directory
holding Trading Networks assets.
AgileApps AgileApps
Broker /root_path/
project_name/Broker
Property Definition
Property Definition
enable.checkout Specifies whether the build script should check out the
source files from a VCS.
To enable the check out task, set to true. The build
script invokes the default target you set in build-
source-checkout.xml.
To disable check out task, set to false.
enable.build Specifies the runtime types for which the build script
should build composites. Each runtime type has a
separate property. Set to:
true to build composites for the specified runtime
type.
false to exclude the specified runtime type.
enable.build.AgileApps AgileApps
enable.build.Optimize Optimize
enable.build.Broker Broker
Property Definition
enable.build.EDA EDA
build.log.fileName Name of the log file. The default file name is build.log.
The build script creates the log file in the following
directory:
Software AG_directory\common
\AssetBuildEnvironment\master_build
Specify... To record...
3. If you are building BPM Process Development assets, set the following BPM-specific
properties:
Property Definition
4. If you are building Optimize assets, set the following Optimize-specific property:
Property Definition
5. If you are building business rules assets, set the following business rules-specific
property:
Property Definition
6. If you are building Integration Server assets, set the following Integration Server-
specific property:
Property Definition
Property Definition
svn.url URL of the SVN from where the build script checks out
the assets.
build.checkout.dir The root directory from which the build script will
check out the asset sources. This property can point
to only one directory; therefore, it should be the root
directory containing all projects that will be built.
For example, if your solution contains an Integration
Server project, your full project directory might be /root/
project/builds/webM/IS. In this case, you would not
include /IS in the path. Instead, you would enter /root/
project/src/webM/.
Note: Do not rename or remove the file from the master_build directory.
JAVA_MAX_PERM_SIZE
Builds the composites and descriptors in the repository. The build script generates the
following files for each runtime type in the build:
ACDL descriptor file in the format project_name .acdl
This is the descriptor file that contains the metadata that lists the assets and
dependencies contained in the composite.
A compressed composite file that contains the definitions of the assets and
their dependencies for deployment. The composite file is in the format
project_name .composite_file_type where:
For example:
The composite for a Broker project containing Broker assets would be named
Broker_file_name .adl, where file_name is the name of the file you exported
from Broker using My webMethods Server.
The composite for a Broker project containing JNDI assets would be named
Provider_file_name .xml, where file_name is the name of the file you exported
from Broker using My webMethods Server.
The composite for a project containing Integration Server administrative
assets would be named isconfiguration.zip.
Deployer uses the composite and descriptor files to deploy the assets to a target
server. For more information about deploying assets, see "Adding Assets for
Repository-Based Deployment" on page 119.
Note: Do not customize this file. When you overinstall later releases of the Asset
Build Environment, your changes will be lost.
Windows build.bat
UNIX build.sh
The build script builds the composite files and places them in the location specified
by the build.output.dir property you specified in "Seing the Properties for the
Build" on page 32.
A BPM build.xml file must be included in each process project (see "About build.xml
Files" on page 49). The file contains the default properties that are used when the
build script is run in the process project directory (that is, no properties are being passed
into the project build from a script running in the master_build directory).
Note: A BPM build.xml file is included by default if the Designer process project
is created in Designer 8.2 or later. If the process project is imported from
previous versions of Designer, you must add it manually to the process
project folder.
When the script is run in the process project directory, the build script assumes that the
source directory and the output directory are the same as the current directory.
Note: The following property seings are used only when the build script is
running in the process project directory. If the build script is running in
the master_build directory, the build.xml properties are overridden by the
properties in the build.properties file.
Property Definition
Property Definition
directory must contain the common/lib
directory.
Property Definition
Note: Ensure that you have modified your system variables to contain the path
name of the build script. Otherwise, you must type the full path name.
The build script processes the specified process model files and creates
corresponding composite and descriptor files in the current directory. After
the composite and descriptor files are built, you can move or copy the files to a
deployment repository and index them for use with Deployer.
5. If you want to use the composite and descriptor files for use with Deployer, perform
the following additional steps:
a. Move or copy the files to the BPM subdirectory of the repository.
b. Run the following command from the Software AG_directory \common
\AssetBuildEnvironment\bin directory:
The createIndex script indexes the files you moved or copied to the repository.
Next Steps
Once you have built your composites, you can connect to the repository and target
servers, create a project, and create a deployment set that includes the composites for
deployment.
To... See...
Starting Deployer
Deployer starts automatically when you start its host Integration Server.
Open the Deployer interface by entering this URL in an Internet browser, where
Integration Server_port is the host name and port of the Integration Server that hosts
Deployer:
hp://Integration Server_host :Integration Server_port /WmDeployer
Deployer and Integration Server use the same log on user name and password. If
you just installed Deployer with a new Integration Server, the defaults are user name
Administrator and password manage.
7.1 7.1
8.2 8.2
9.0 9.0
9.5 9.5
9.6 9.6
9.7 9.7
9.8 9.8
9.9 9.9
9.10 9.10
9.12 9.12
Additionally, you can import builds from projects created with Deployer version 8.2
or earlier to Deployer 9.0 or later for deployment. For example, you could import a
build from a version 8.0 project into Deployer 9.0.
For repository-based deployment projects, each project includes sources and targets
of only one version. You cannot include source repositories or target servers of
different versions.
For repository-based deployment projects, Deployer deploys only target servers and
target groups of version 8.2 SP1 and later. Because repository-based deployment
does not use source servers, Deployer limits the version of the targets in your project
according to the first target server or target group you select for mapping. For
example, if you select a target server of version 8.2, Deployer displays only target
servers and target groups of version 8.2 for mapping.
You can connect to the following source and target webMethods servers:
information about remote servers, and instructions on defining them, see webMethods
Integration Server Administrator’s Guide.
To connect to source and target Integration Servers and Trading Networks servers
1. In Deployer, go to the Servers > IS & TN page.
2. Click Add Remote Server Alias.
Deployer opens the Integration Server Administrator to the Settings > Remote Servers
> Create Alias page of the Integration Server that hosts Deployer.
3. In Integration Server Administrator, define the remote servers by completing the
fields in the Remote Server Alias Properties area as described in webMethods Integration
Server Administrator’s Guide. You should define the following as remote servers:
All source Integration Servers and Trading Networks servers.
All target Integration Servers and Trading Networks servers.
The Integration Server that hosts Deployer, if you will be using it as a source or
target server (that is, define the Integration Server as a remote server to itself).
4. In Deployer, go to the Servers > IS & TN and click Refresh this Page.
Deployer displays the new server alias to the Remote Servers List area of the Servers >
IS & TN page.
5. Select the version of the Integration Server hosting the source or target from the
Version box.
For example, if the host Integration Server is running version 8.2 SP1, you
would select 8.2. For information about selecting the version, see "Connecting to
webMethods Servers" on page 54.
6. Install the WmDeployerResource package on each Integration Server.
The WmDeployerResource package is the implementation of the operation
endpoints for Integration Server and Trading Networks. Install the package as
follows:
a. In Deployer, go to the Servers > IS & TN page.
The page lists all Integration Servers you defined as remote servers.
b. In the Install column, select the check box next to each Integration Server on
which you want to install the WmDeployerResource package.
c. Click Install.
7. Click Save.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the server.
will also acquire their specific Application Platform add-ons and the endpoint
will be installed in their runtimes as well.
Use the following procedure to set up connections to the Application Platform servers.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the Application
Platform server.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Field Entry
they do exist on the target My webMethods Servers. For
information about resolving dependencies, see "Resolving
Dependencies" on page 115 (for runtime-based deployment),
or "Resolving Dependencies" on page 122 (for repository-
based deployment).
Cache Length of time queries should remain in the cache unless the
Timeout cache capacity is exceeded.
Note: You can set up connections to target Event Servers only when using
repository-based deployment.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the Event
Server.
Note: You can only use SSL if the Event Server is configured to
use SSL. Configure the server's HTTPS port to not request
client certificates. For instructions on defining the HTTPS
Field Entry
port, see webMethods Integration Server Administrator’s
Guide.
Field Entry
Version Version of the Broker Server that matches the version of the
project as defined by the host server alias. For information about
selecting the version, see "Connecting to webMethods Servers"
on page 54.
Client Client group for Deployer to use to access the source or target
Group Broker Server. For target Broker Servers, type admin.
Field Entry
Context JNDI context to use when the Broker Server serves as a JNDI
provider.
Note: You can only use SSL if the Broker Server is configured
to use SSL authentication.
Note: You can only use Basic Authentication if the Broker Server
is configured to use basic authentication.
Keystore File type of Deployer's keystore file. Required if you specify SSL
Type for Client Authentication.
Keystore Password that Deployer uses to access its keystore file. Required
Password if you specify SSL for Client Authentication.
Field Entry
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the server.
b. Go to the Packages > Management page and click for the WmDesigner package.
c. Click Add Logical Server and complete these fields:
Field Entry
Note: You can set up connections to target AgileApps servers only when using
repository-based deployment.
Field Entry
User User name for a user account with Administrator authority that
Name Deployer can use to access the server.
Note: You can set up connections to target Universal Messaging servers only when
using repository-based deployment.
Field Entry
Note: If you use nsps or nhps, you must specify values for
Deployer Keystore, Keystore Password, Deployer Truststore,
and Truststore Password.
Field Entry
Note: You can only use SSL if the Universal Messaging server
is configured to use SSL authentication.
Deployer Full path to the keystore file. Required if the protocol of Realm
URL is nsps or nhps.
Keystore
Deployer Full path to the truststore file. Required if the protocol of Realm
URL is nsps or nhps.
Truststore
Note: You can set up connections to target EDA deployment endpoints only when
using repository-based deployment.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the server.
Configure the server's HTTPS port to not request client
certificates.
Note: You can set up connections to target Business Rules servers only when using
repository-based deployment.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the server.
Configure the server's HTTPS port to not request client
certificates. For instructions on defining the HTTPS port, see
webMethods Integration Server Administrator’s Guide.
Note: You can set up connections to target Business Rules servers only when using
repository-based deployment.
Field Entry
User User name for a user account with Administrator authority that
Deployer can use to access the server.
Use SSL Whether Deployer should use SSL to connect to the server.
Configure the server's HTTPS port to not request client
certificates. For instructions on defining the HTTPS port, see
webMethods Integration Server Administrator’s Guide.
5. Click Configure.
Deployer displays the repository in the table on in the Repositories pane.
6. To test the connection, click in the Test column of the Repositories pane.
7. To rebuild the index, see "Rebuilding the Index" on page 46.
Note: For Integration Server and Trading Networks remote server aliases, you
can edit only the Version property using Deployer. You can edit all other
properties for Integration Server and Trading Networks remote server aliases
using Integration Server Administrator. For more information about editing
remote server aliases, see webMethods Integration Server Administrator’s Guide.
For information about refreshing Integration Server and Trading Networks
remote server aliases in Deployer, see step 4 in "Connecting to Integration
Servers and Trading Networks Servers" on page 56.
AgileApps No
BAM No.
process
models
BPM Yes. For instructions on creating target groups for use in a clustered
process environment, see "Deploying to Clustered Integration Servers" on
models page 259.
Broker Yes. To copy Broker clients to all of the cluster nodes, you must
use a target group to deploy the Broker clients to each node in the
EDA Yes. To deploy EDA assets to a clustered environment, you must set
up connections to the cluster and create a target group that includes
all of the servers in the cluster.
Event Yes. You must use target groups to deploy to event servers in an HA
Servers cluster. You can also use a target group when deploying to multiple
independent event servers.
Integration Yes. For instructions on creating target groups for use in a clustered
Server environment, see "Deploying to Clustered Integration Servers" on
page 259.
Trading Yes. For instructions on creating target groups for use in a clustered
Networks environment, see "Deploying to Clustered Integration Servers" on
page 259.
Universal Yes. You must use target groups to deploy cluster wide assets. For
Messaging all other assets, you can use target groups if you want to sync the
asset properties on each node.
3. In the Name field, type the name to use for the target group. The name can be up to
32 characters long and cannot contain spaces or the following special characters:
$~/\#&@^!%*:;,+=><‘’"
4. In the Description field, type a description for the target group. The description length
has no limit and can include any characters.
5. In the Version box, enter the version of the target group.
Note: Deployer limits the servers you can select for inclusion in the target group
to those with the version you specify in the Version box. You cannot add
servers of different versions to a target group. For information about
selecting the version, see "Connecting to webMethods Servers" on page
54.
6. Click Create.
7. You can specify that deployment must either succeed on all servers in the target
group or be automatically rolled back. In other words, if deployment fails on any
server in the target group, you can specify that Deployer must automatically roll
back the deployment on all servers in the group. To do so, set Rollback All on Failure
to Yes; Deployer will ignore the Rollback on Error project seing (see "Seing General
Deployment Defaults" on page 81).
Note: Rollback All on Failure is valid for runtime-based deployment only. Deployer
ignores this seing for repository-based deployment.
8. The Available Servers list shows the servers of the specified type for which you have
set up connections to Deployer and that match the version you specified in the
Version field. Select the servers to add to the target group, and then click Add. The
servers move to the Selected Servers list.
9. Click Save.
10. To test the connection between Deployer and the target group, click in the Test
column in the left pane.
If the test fails, Deployer displays Resolve in the Test column. You must resolve
the servers to continue. Perform the following task to resolve the servers within the
target group:
a. Click Resolve in the Test column.
Deployer displays the unresolved servers in the Check Inconsistencies page in
the right pane.
b. Click the server to resolve and click Resolve Inconsistencies.
Deployer removes the server from the target group and returns you to the
Configure Target Group page.
c. Make any additional changes to the target group and click Save.
d. Click in the Test column in the left pane to test the connection between
Deployer and the target group.
11. If you want to rebuild the index, perform the following procedure:
Note: For more information about rebuilding the index, see "Rebuilding the
Index" on page 46.
Next Steps
After you have connected to the source and target servers, you can create a project. For
more information on creating a project, see "Creating and Managing Projects" on page
79.
Column Description
Time Stamp Date and time the entry was wrien to the log.
Server Details about the server. See Type, Alias, and Host IP:Port.
To change this display, use the Log display controls area at the top of the page and then
click Refresh. The changes remain until you change them again, or until you shut down
the Integration Server that hosts Deployer, whichever comes first.
Option Description
Option Entry
Large File For Integration Server packages and webMethods files, indicate
Support whether you want Deployer to stream from the source server to
Deployer and from Deployer to the target server by default for all
projects.
If you choose not to stream, the build size of a project containing
Integration Server packages and webMethods files cannot exceed
the amount of RAM configured for the source or target Integration
Server or Deployer. If it does, you will have to distribute the
Integration Server packages and webMethods files across multiple
projects (and thus multiple project builds) instead.
If you choose to stream, the build size of a project containing
Integration Server packages and webMethods files can be up
to 4GB. For streaming to work, you must set certain extended
seings on every source and target Integration Server, and on the
Integration Server that hosts Deployer.
In Integration Server Administrator, go to the Settings > Extended >
Edit Extended Settings page. Type the following server configuration
parameters and values in the box. For complete information
about these server configuration parameters, see the webMethods
Integration Server Administrator’s Guide.
wa.server.tspace.timeToLive=time
wa.server.tspace.location=full_path_on_local_machine
wa.server.tspace.max=maximum
Option Entry
performs during the map and define dependency checks. The
default seing is No.
Batch Sets the number of assets that Deployer deploys at one time for
Size for runtime-based deployment. Enter the maximum number of assets
Option Entry
Runtime to build and deploy as a batch at one time. This limits the number of
Deployment assets in each deployment to only the number indicated. The default
value is 10.
By batching deployments, you break the transportation of large
assets into smaller batches, which decreases the memory utilization.
If you set this property to 0, then Deployer does not limit the
number of assets during build, checkpoint, rollback, and deploy
operations.
Batch Sets the number of assets that Deployer deploys at one time for
Size for repository-based deployment. Enter the maximum number of assets
Repository to build and deploy as a batch at one time. This limits the number of
Deployment assets in each deployment to only the number indicated. The default
value is 1.
Maximum Sets the maximum number of assets Deployer displays in the tree for
Plugin deployment and deletion sets. The default is 2500.
Objects
Displayed
In addition to the default properties for all projects, Deployer uses default properties for
all Integration Server and Trading Networks projects. To set these properties, go to the
Deployer > Settings page. When you are done, click Save.
You can override many of these properties for individual projects; see "Creating a
Project" on page 87.
These default properties apply to all assets except Integration Server packages. You
specify package properties for Integration Server packages on a package-by-package
basis. For instructions, see "Seing Package Properties" on page 110.
To set default properties for Integration Server and Trading Networks projects
1. In the Suspend During Deployment area on the Settings page, indicate whether
Deployer should suspend activity for the Integration Server following assets while
deployment is going on. Typically, if the targets are production Integration Servers,
you would suspend all of these types of assets. After deployment, Deployer enables
the disabled ports and resumes the suspended triggers, adapter listeners, polling
notifications, and scheduled tasks.
2. In the Overwrite Existing area on the Settings page, indicate how Deployer should
proceed when it finds that assets you are trying to deploy already exist on target
Integration Servers.
Note: Before you deploy a project for runtime-based deployment, you can find
out which assets Deployer will overwrite by generating the simulation
report.
3. In the Activate After Deployment area on the Settings page, indicate whether Deployer
should activate the following assets on the target Integration Servers. Activate After
Deployment is used only if Suspend During Deployment is set to Yes.
Note: If you choose to activate ports, and one of the ports you
deploy uses the same port number as an existing port on a
target Integration Server, Deployer will display a message to
that effect and will not activate the port.
4. In the Packages area on the Settings page, indicate whether Deployer should compile
the package during deployment on the target Integration Server.
5. Click Save.
Creating a Project
You can create a project by creating a new, blank project or by copying an existing
project and modifying it.
To create a project
1. Go to the Deployer > Projects page.
2. Create a project using one of these methods:
v. Click Create.
To create a project from an existing project:
i. Click Copy Project.
ii. In the Project to Copy box, click the project to copy.
iii. In the New Project Name box, type the name to use for the new project. The
name can be up to 32 characters long and can include any characters that are
valid for a file name in your operating system.
iv. Click Copy Project.
3. Review the default properties for projects in the right-hand pane and override for the
project you are creating if necessary.
In the right-hand pane, Deployer displays those properties for which you can
override the seings for an individual project. By default, these properties inherit
the values set for the default as described in "Seing Default Properties for All
Projects" on page 81. For example, if the global property for the Enable Concurrent
Deployment property is set to Yes (for concurrent deployment), you can set an
individual project to use sequential deployment by seing this property to No.
4. Depending on the specific type of project you are creating, you can set the following
additional properties in the right-hand pane:
Note: For an explanation of the project properties you can set for all deployment
projects, see "Seing Default Properties for All Projects" on page 81.
If you are creating a repository-based project, you can set the following
additional properties:
If the project is for IS & TN, see "Seing the Defaults for Integration Server and
Trading Networks Projects" on page 84.
If the project is for Optimize, you can set the following properties under the
OptimizeOptions area:
Note: The following properties are available only for Deployer 8.2 SP1 and
earlier.
If the project is for process models, you can set the following properties for the
project under the ProcessModel Deployment Options area. For more information
about process models, see webMethods Monitor User’s Guide.
If the project is for My webMethods Server, you can set these properties for the
project under the MWS Deployment Options area:
5. Click Save.
Note: Deployer does not export and import deletion sets as a part of this procedure.
For more information about exporting and importing deletion sets, see
"Exporting and Importing Deletion Set Definitions" on page 136.
When you export project properties, Deployer creates a file that contains the
project property seings. The file is named project .properties and is stored in the
Integration Server_directory\packages\WmDeployer\replicate\outbound directory. You
can then import the project property seings into another Deployer project.
Note: Users with Developer and Internal ACLs and any combination of Define,
Build, Map, or Deploy authorization automatically have the View
authorization.
Define. Groups can define, export, and import deployment and deletion sets only.
Build. Groups can build projects only.
Deploy. Groups can deploy deployment or deletion sets only (that is, to actually
deploy assets to or delete assets from target servers or target groups).
Map. Groups can map projects to repositories, source servers, target servers, and
target groups.
You grant privileges to perform tasks through Access Control Lists (ACLs). When an
administrator creates ACLs, he or she identifies groups that are allowed to perform
particular tasks. The following table shows the ACLs and authorizations required to
perform each task:
ACLs
Developer X X X X X X
Internal X X X X X X
DeployerAdmin X*
Administrator X*
Authorizations
View X
Define X
Build X
Map X
Deploy X
Note: The asterisk (*) indicates that only users with either one of the following ACL
combinations can perform all project tasks in Deployer:
DeployerAdmin, Developer, and Internal ACLs
Administrator ACL
Users assigned to one of these ACL combinations do not require authorization
to specific tasks.
You can authorize groups to perform more than one task. For example, if you want
to allow Group A to map and deploy projects, you would select the Map and Deploy
authorizations.
Note: The groups you create for use with Deployer can contain unique names
to help define which tasks each group can perform. For example, you
could create groups named viewDeployerProjects, buildDeployerProjects,
mapDeployerProjects, deployDeployerProjects, and defineDeployerProjects.
This means that when Deployer users display the Projects page, they will see
only those Deployer projects to which they are authorized.
For more information about groups and ACLs, see webMethods Integration Server
Administrator’s Guide. For information on My webMethods Server central user
management groups, see Administering My webMethods Server.
To view the home page for the project, go to the Deployer > Projects page and click in
the Home column for the project.
Note: To change the project seings for all projects, see "Seing Default Properties
for All Projects" on page 81.
Deleting a Project
Use the following procedure to delete a project you no longer need. When you delete
a project, Deployer also deletes the deployment and deletion sets, builds, deployment
maps, and deployment candidates associated with that project.
Deployer does not delete source repositories or composites used for repository-based
deployment or source and target server aliases when you delete the project.
To delete a project
1. In Deployer, go to the Deployer > Projects page.
2. Click in the Delete column for the project.
Deployer displays a confirmation dialog.
3. Click OK to confirm that you want to delete the project.
Next Steps
Once you have set logging options and other project default seings and created a
project, you can do the following:
Box Entry
Name Name to use for the deployment set. The name can be up to
32 characters long and cannot contain spaces or the following
illegal characters:
$~/\#&@^!%*:;,+=><‘’"
Box Entry
deployment a regular expression that specifies the text that the package
set) names must contain in order to be displayed.
The following are examples of regular expressions:
To narrow display to packages whose name starts with
string , use the following:
string .*
To narrow display to packages whose name ends with
string , use the following:
.*string $
8. Click Create.
For... See...
My webMethods Server
Broker
BPM (ProcessModel)
Note: You cannot configure source servers for Event Server or business rules
runtimes for runtime-based deployment.
Note: You cannot define the same server alias as both a source and target server in a
deployment set.
Perform the following procedure to identify the source servers for runtime-based
deployment.
Note: Deployer lists the version of each source server in the Version column. You
must select source servers with the same version for the deployment set.
You cannot include source servers with different versions in a deployment
set. For information about selecting the versions of source servers, see
"Connecting to webMethods Servers" on page 54.
Note: For a BPM (ProcessModel) deployment set, you can select only one
source server. If you want to deploy process models from more than
one ProcessModel server, you must define a deployment set for each
ProcessModel server.
Note: If a server you want to use as a source does not appear in the list, you have
not yet set it up to work with Deployer. For instructions, see "Starting
Deployer and Connecting to Servers" on page 53. Then click Refresh this
Page to update the list of servers on this page.
3. Click Save.
Deployer refreshes the Select Source Servers list to display only source servers that
share the same version as the selected source servers. To display all of the available
source servers, deselect the source servers and click Save.
Note: If a repository you want to use as a source does not appear in the list,
you have not yet created the alias for the repository. For instructions, see
"Connecting to a Repository for Repository-Based Deployment" on page
73. Then click Refresh this Page to update the list of servers on this page.
3. Click Save.
Deployer adds the repository as a child of the deployment set in the Name column of
the Deployer > Projects > project > Define page, in the left-hand pane.
Next Steps
Once you have defined a deployment set and the source servers or repository for your
project, you can add the assets to the deployment set. You perform different tasks to
add assets depending on whether you are creating a runtime-based or repository-based
deployment project. See the section specific to the type of deployment project you are
creating as follows:
Note: If you deploy multiple versions of the same process model in a single
deployment set and configure the deployment set to enable both processes
on the target, the version that is deployed to the target last is the one that
is enabled. Use webMethods Monitor to ensure that the proper version is
enabled in the target environment.
For... Note
ProcessModel The process models displayed are those that were "Built for
execution" on the Integration Server.
For... Note
itself, open the folder where it appears as a container and
click the assets to add.
Note: If you select an asset, all child assets one level
below that parent asset will be deployed, but child assets
in the second and subsequent levels will not be deployed.
3. Click Save. Deployer shows the selected assets in the left-hand pane under the
Broker, ProcessModel, MWS, Optimize, or Business Rules folder for the deployment set.
Deploying ACLs
If you want to deploy ACLs, you must perform extra steps depending on whether the
ACLs are associated with My webMethods Server groups or LDAP groups.
Note: If the JMS connection aliases on the target Integration Servers do not have
the same names as on the source Integration Servers, the JMS triggers will
not be enabled after deployment.
If you add a partial package of only selected files to a deployment set and the package
already exists on target Integration Servers, you can have Deployer delete specified files
from the existing package on the target Integration Servers after deployment. You might
use this feature if the existing package contains a service that has been superseded. In
this case, you would deploy the files that make up the new service and delete the files
that make up the old service.
3. If you are done adding packages to the deployment set, go to "Seing Package
Properties" on page 110.
3. In the Select Components area, open the tree to show the components in the package,
select the check box next to each component to add to the deployment set, and then
click Save.
4. Click Return to Packages. Deployer shows the partial package icon ( ) for the
package in the left-hand pane under the Packages folder and in the right-hand pane,
and a gray check mark for the package in the right-hand pane.
5. If you are done adding packages to the deployment set, go to "Seing Package
Properties" on page 110.
To add... Do this...
Only files you select Click Selected Files, then press the CTRL key and click
in the list each file to include in the deployment set.
Note: The Select Files option is a link near the top of the
right-hand pane.
Only files other than Click All except selected files, then press the CTRL key and
those you select in click each file to exclude from the deployment set.
the list
To add... Do this...
All files in the Click Files specified by filter, then type the string on
list whose name which to match the files to include in the deployment set.
contains a specified You can use an asterisk (*) as a wildcard character (for
string example, *.java or *.class).
All files in the Click All except files specified by filter, then type the
list whose name string on which to match the files to exclude from the
does not contain a deployment set. You can use an asterisk (*) as a wildcard
specified string character (for example, *.java or *.class).
4. If a package of the same name as this partial package already exists on one of the
deployment set's target Integration Server2s, and the existing package contains files
to delete after deployment, type the fully qualified names of the files to delete in the
Files to Delete from Target box. Type each file name on its own line, and end each line
with a semicolon (;). For example:
code/classes/wm/administratorResource/admin.class;
code/classes/wm/administratorResource/user.class;
ns/wm/administratorResource/
5. Click Save.
6. Click Return to Packages. Deployer shows the partial package icon ( ) for the
package in the left-hand pane under the Packages folder and in the right-hand pane,
and a gray check mark for the package in the right-hand pane.
7. If you are done adding packages to the deployment set, go to "Seing Package
Properties" on page 110.
Property Entry
Package Type Use this property when the source package already exists
on the target Integration Servers. You can use the following
options for entire packages and for partial packages.
Property Entry
Version Supply the version number to use for the source package in
comparisons with existing packages on target Integration
Servers.
Whether Deployer actually deploys the package depends
on the version numbers of the source package and the
existing package. If the source package's version number
is the same or higher than the existing package's version
number, Deployer deploys. If the source package's version
number is lower than the existing package's version
number, Deployer does not deploy.
Patches Included Supply the list of patches that have been applied to the
deployed package on the target Integration Servers. Specify
the patch numbers, separated by commas (for example, 44,
45, 55). Specify patches only if you selected Full for Package
Type.
Property Entry
problem.") Specify a description only if you selected Full for
Package Type.
3. In the Recommendations for Target area, you can recommend the minimum version
of Integration Server and Java Virtual Machine (JVM) to run the source package.
If the JVM version on the target Integration Server is lower than you specify here,
Deployer will deploy the source package but will not activate it, regardless of
the seing of the Activate After Deployment option. When this happens, the target
Integration Server will display a warning about the JVM version. The defaults shown
in this area reflect the Integration Server and JVM that host the source package.
4. In the Package Build Options area, indicate whether Deployer should use the package
version and build numbers that exist in the source Integration Server each time the
user creates a build instead of the package version and build numbers specified in
the package_name Properties area.
5. In the Package Deployment Options area, specify the following:
Option Entry
Activate After Deployment How Deployer should deploy the package. Click:
Activate to enable the package.
Install Only to install the package but not enable
it.
Inbound Only to neither install nor enable the
package.
Option Entry
simulation report and will write a message
advising you of the problem to the report.
To... Select...
6. If you indicated in the project properties that you want Deployer to suspend
individual triggers during deployment, click Suspend Triggers, select the check box
next to each trigger to suspend, click Suspend, and then return to the previous page.
7. If you indicated in the project properties that you want Deployer to suspend
individual adapter notifications during deployment, click Suspend Notifications, select
the check box next to each notification to suspend, click Suspend, and then return to
the previous page.
Note: If you suspend a particular adapter notification but the notification does
not exist on a target Integration Server, you will not be able to deploy. You
can only suspend notifications that already exist on all target Integration
Servers.
8. Click Save.
9. Repeat these steps for each package in the deployment set.
10. If you are not going to add any more assets to the deployment set, go to "Resolving
Dependencies" on page 115.
For large projects, you might be able to stream webMethods files from the source server
to Deployer and from Deployer to the target server. For detailed information on this
option, see "Seing General Deployment Defaults" on page 81.
Note: If you add a TN document type that is set up in Trading Networks for
duplicate checking using custom services, Deployer does not detect the
dependency on the service. If the service does not already exist on the
target Integration Servers, you must add the service to the deployment set.
If you do not, Deployer will log an error to the deployment report and will
not deploy the TN document type.
3. Click Save. Deployer shows the selected assets in the left-hand pane under the
Trading Networks folder for the deployment set.
4. If you are not going to add any more assets to the deployment set, go to "Resolving
Dependencies" on page 115.
Resolving Dependencies
Deployer can determine when assets that are in a deployment set require other assets
that are not in the deployment set. The assets that require other assets are called
dependent assets, while the assets that are required are called referenced assets. Deployer
identifies missing referenced assets as unresolved dependencies.
webMethods If you add a client group but not the documents to which
Broker the client group can publish or subscribe, the documents are
unresolved dependencies.
IS & TN If you add a trigger but not the service that is invoked by the
trigger, the service is an unresolved dependency.
MWS If you add a page but not the portlets that are referenced by the
page, the portlets are unresolved dependencies.
Optimize If you add a rule but not the dimensions used by the rule, the
dimensions are unresolved dependencies.
ProcessModel If you add a process model but not the flow services called by the
process model, the flow services are unresolved dependencies.
In the project properties ("Seing the Dependency Checking Default" on page 81), you
indicated how you want to check dependencies in the deployment sets. When Deployer
automatically checks dependencies and finds unresolved dependencies in a deployment
set, it shows in the Unresolved Dependencies column for the deployment set; when
there are no unresolved dependencies, Deployer shows in the column. When you
can check dependencies manually, Deployer shows in the Unresolved Dependencies
column for each deployment set; click Check next to the . If necessary, you can later
"un-resolve" or remove a dependency you have resolved and resolve it again a different
way.
To resolve dependencies
1. In the Unresolved Dependencies column for the deployment set, click Check. Deployer
shows all unresolved dependencies on the Unresolved Dependencies page. The
Referenced Assets column lists the missing referenced assets. The next column offers
the possible ways you can resolve the unresolved dependency. The Asset column
shows the dependent assets.
2. Tell Deployer how to resolve each unresolved dependency. If you want to resolve all
assets in a folder the same way, you can set the resolution at the folder level rather
than at the level of the individual assets.
Option Description
Add If the referenced asset does not exist on the target servers and
you want to deploy the referenced asset to them, use this option.
Deployer adds the referenced asset to the deployment set. For
Integration Server assets, you can choose to add the referenced
asset or the entire package that contains the referenced asset.
Exists If you believe the referenced asset already exists on the target
servers and you want to continue working, but you want
Deployer to make sure the asset does in fact exist later, use this
option. Deployer will check for the referenced asset when you
map the project to target servers. If Deployer does not find the
asset, an icon alerts you during the mapping task.
If you do not address the problem during the mapping task,
Deployer will write a message about the problem to the
Option Description
simulation report. If you deploy without addressing the
problem, Deployer will not deploy the deployment set.
Unset If you have set the assets in a folder to various seings and want
to start over, use this option.
3. Click Save. Deployer moves dependencies you resolved using the Exists or Ignore
option to the Resolved Dependencies page.
4. To see the resolved dependencies, click Resolved Dependencies.
You can un-resolve a resolved dependency and re-resolve it differently. To un-
resolve a dependency, go to the Resolved Dependencies page, select the check box in
the Delete column for the resolved dependency, and click Delete. Deployer returns the
dependency to the Unresolved Dependencies page. Go to that page and re-resolve the
dependency.
Next Steps
Once you have selected assets for runtime-based deployment, you can do either of the
following:
Create a deletion set. See "Defining a Deletion Set" on page 129.
Build your project. See "Building a Runtime-Based Deployment Project" on page
139.
Overview
In repository-based deployment, you can add only those assets from composites that
are present in the repository. The repository can contain several composites, and you
can deploy assets from any composite in the repository, but you cannot add assets
from more than one repository to one deployment set. Assets in one composite in the
repository can have dependencies on one or more assets in other composites in the
repository.
If you are adding assets for Integration Server, Trading Networks, or Broker, you have
the option of adding individual assets from a composite to your deployment set, instead
adding the entire composite.
Before you can add assets for repository-based deployment, you must perform the
following:
1. Build the composites and add a source repository. For more information, see
"Building Composites for Repository-Based Deployment" on page 29.
2. Configure a source repository. For more information, see "Connecting to a
Repository for Repository-Based Deployment" on page 73.
3. Connect to target servers, target groups, or both. For more information, see "Starting
Deployer and Connecting to Servers" on page 53.
4. Define a deployment set. For more information, see "Defining a Deployment Set" on
page 97.
Selecting Composites
Perform the following to select entire composites from the repository.
In the right-hand pane, Deployer displays the icon for runtime types contained in
the repository you selected.
2. Click the plus sign to expand the runtime types to display the composites they
contain.
To select all of the composites for the runtime type, click . To select all of the
composites available on the repository, click .
4. Click Save.
Deployer adds the runtime type and the child composites as children of the
deployment set in the Name column of the Deployer > Projects > project > Define page, in
the left-hand pane.
Note: For the partial deployment of JNDI assets, export JMS destinations into one
JNDI context at a time. Partial deployment of JMS destinations into multiple
JNDI contexts is not supported.
In the right-hand pane, Deployer displays the icon for runtime types contained in
the repository you selected.
2. Click the plus sign to expand the runtime types to display the composites they
contain.
Deployer displays the icon for a partial composite with the assets you selected as
its children in the Name column of the Deployer > Projects > project > Define page, in the
left-hand pane.
Resolving Dependencies
Deployer can determine when assets that are in a composite require other assets. The
assets that require assets from other composites are called dependent assets, while the
assets that are required are called referenced assets.
Deployer identifies missing referenced assets as follows:
Unresolved dependencies are those dependencies that are present in the repository, but
not in the deployment set. Deployer enables you to add, ignore, or automatically
resolve those dependencies. Deployer checks dependencies automatically and shows
one of the following in the Unresolved Dependencies column for the deployment set:
No unresolved dependencies.
Missing dependencies are those dependencies that are not available in the repository,
so you cannot add them to your deployment set. You can set Deployer to ignore
missing dependencies when you create the project (see "Creating a Project" on page
87) or when you check unresolved dependencies. For more information about seing
missing dependency options while checking for unresolved dependencies, see
"Resolving Dependencies Manually" on page 123.
Option Description
Deployer lists the missing dependencies on the Missing Dependencies page when
you click Check in the Unresolved Dependencies column. You cannot add missing
dependencies to the deployment set.
3. To set Deployer to ignore the missing dependencies perform the following:
a. Click Ignore Missing Dependencies (Project Level).
b. Click Apply.
4. Click Save.
The Unset/Add/Ignore column offers the possible ways you can resolve the
unresolved dependency.
The Assets column shows the dependent assets.
2. Click one of the following options to set how Deployer should resolve each
unresolved dependency. If you want to resolve all assets in a composite the same
way, you can set the resolution at the composite level rather than at the level of the
individual assets.
Option Description
Unset This is the default status. If you click Unset after you have
made another selection (Add or Ignore) Deployer resets the
assets to an unresolved status. Use this option if you set the
assets in a composite to either Add or Ignore and want to start
over.
Add Adds the referenced asset to the deployment set. Use this
option if the referenced asset does not exist on the target
server and you want to deploy the referenced asset to it.
For Integration Server, Trading Networks, or Broker
(including JNDI) assets, you can choose to add the referenced
asset or the entire composite that contains the referenced
asset. Adding only the referenced asset to the deployment
set instead of the entire composite is referred to as partial
deployment.
Ignore Ignores the asset. Use this option if you want to bypass
dependency checking for the referenced asset so you can
continue working.
3. Click Save.
Deployer moves dependencies you resolved using the Add option to the
Name column of the Deployer > Projects > project > Define page, in the left-hand
Resolving Conflicts
A conflict occurs when a dependent asset is available in multiple composites or when
different assets in one composite share the same asset name. Deployer displays conflicts
on the same page as unresolved assets.
To resolve conflicts
1. In the Unresolved Dependencies column for the deployment set, click Check.
Deployer shows all conflicted assets on the Unresolved Dependencies page as follows:
The Referenced Conflict Asset Composites column lists the assets in conflict.
The Unset/Add/Ignore column offers the possible ways you can resolve the conflict.
The Assets column shows the dependent assets.
2. Click one of the following options to set how Deployer should resolve each conflict.
Option Description
Unset This is the default status. If you click Unset after you have
made another selection (Add or Ignore) Deployer resets the
assets to an conflicted status. Use this option if you set the
assets in a composite to either Add or Ignore and want to start
over.
Note: After you use Unset to clear your previous selection, you
must set the asset to either Add or Ignore.
Add Adds the referenced assets to the deployment set. Use this
option to deploy the referenced assets.
Ignore Ignores the conflict. Use this option to ignore the referenced
assets.
3. Click Save.
Deployer moves dependencies for which conflicts were resolved using the Add
option to the Name column of the Deployer > Projects > project > Define page, in the
left-hand pane.
Deployer ignores the conflicts for those assets which you set to Ignore.
Deploying ACLs
If you want to deploy ACLs, you must perform extra steps depending on whether the
ACLs are associated with My webMethods Server groups or LDAP groups.
Next Steps
Once you have selected assets for repository-based deployment, you can perform the
following.
To... See...
Add deletion sets to the project "Defining a Deletion Set" on page 129
Stage Procedure
Stage 1 Create a deletion set. See "Creating a Deletion Set" on page 130.
Stage 2 Identify target servers from which to delete the assets. See
"Identifying Servers" on page 132.
Stage 3 Add the assets to the deletion set. See "Adding Assets to a
Deletion Set" on page 133.
Stage 5 For runtime-based projects, you can export deletion set definitions
from one project and import them into another. See "Exporting
and Importing Deletion Set Definitions" on page 136.
Box Entry
Set Deletion
Name Name to use for the deletion set. The name can be up to 32
characters long and cannot contain spaces or the following
illegal characters:
$~/\#&@^!%*:;,+=><‘’"
Description Description for the deletion set. The description length has no
limit and can include any characters.
Box Entry
narrow the display. Specify a regular expression that specifies
the text that the asset names must contain in order to be listed.
7. Click Create.
Deployer displays the deletion set in the left-hand pane in the Deletion Sets area.
8. Perform the tasks in "Identifying Servers" on page 132 to identify the servers that
contain the assets to add to the deletion set.
Identifying Servers
To select the assets to add to the deletion set, you must first identify the servers that
contain those assets.
Deployer lists the version of each target server in the Version column. You must select
target servers with the same version for the deletion set. You cannot include target
servers with different versions in a deletion set. For information about selecting the
versions of target servers, see "Connecting to webMethods Servers" on page 54.
To identify servers for a deletion set in a runtime-based project, see "Identifying Servers
for a Runtime-Based Deletion Set" on page 132. To identify servers for a deletion set
in a repository-based project, see "Identifying Servers for a Repository-Based Deletion
Set" on page 133.
Note: For information about adding full or partial packages to a deletion set, see
"Adding Packages to Deletion Sets" on page 134.
2. In the Select column of the Select Servers area, select the check box next to each
source server that contains assets to add to the deployment set.
Deployer lists the version of each source server in the Version column. You must
select servers with the same version for the deletion set. You cannot include servers
with different versions in a deletion set. For information about selecting the versions
of source servers, see "Connecting to webMethods Servers" on page 54.
3. In the right-hand pane, open the tree to show the assets on the servers, select the
check box next to each asset to add to the deletion set, and then click Save.
Deployer shows the selected assets in the left-hand pane under the folder you clicked
in the previous step.
Runtime-based In the Deletion Sets Runtime area, under the deletion set to
which to add packages or partial packages, click the Packages
folder.
Repository- In the Deletion Sets area, under the deletion set to which to
based add the packages, click the server ( ) that contains packages
or partial packages.
In the right-hand pane, Deployer lists the Integration Servers you identified in
"Identify Source Servers for the Deployment Set" on page 99.
2. In the right-hand pane, expand the tree to display the packages on the Integration
Servers, then do one of the following:
To add... Do this...
Full packages Select the check boxes next to the packages to add in their
entirety to the deletion set and click Save. Deployer shows
the entire package icon ( ) for the selected packages in the
left-hand pane under the Packages folder (for runtime-based
deployment) or under the server (for repository-based
deployment).
Note: If you add a partial package and later want to include the entire package,
cancel the selection of the components by clicking the name of the partial
package, clearing all checked boxes, and clicking Save. Then save the
deletion set and add the entire package.
Unresolved dependencies.
No unresolved dependencies.
Note: Deployer does not check dependencies in deletion sets for runtime-based
projects. For a full explanation of unresolved dependencies for a repository-
based project, see "Resolving Dependencies" on page 122.
Perform the following procedure to set Deployer to resolve dependencies for repository-
based deletion sets.
Note: You cannot export and import deletion set definitions for repository-based
projects.
When you export deletion set definitions, Deployer creates a file called
project _deleteSets.xml that contains the deletion set definitions. This file is stored in the
Next Steps
Once you have created a deletion set you can perform the following:
For... See...
Creating a Build
To create a build
1. In Deployer, go to the Deployer > Projects page.
2. If locking is enabled, in the Lock Status column for the project, click to lock the
project.
3. In the Name column, click the project.
4. Click Build. Deployer displays the Projects > project > Build page and lists all builds
that exist for the selected project.
The Status column on the Projects > project > Build page indicates whether each project
build is in sync with the current project definition. If the build and the current
project definition are in sync, the column shows . If the project definition has
changed since the build was created, the column shows . You can rebuild such a
project if you want. For instructions, see "Rebuilding a Build" on page 141.
To see the progress report of the current or last action, click in the Progress Report
column. The progress report displays the updates for build requests as they occur.
This is useful in the case where the deployment build takes a long time to finish.
5. In the left-hand pane, click Create Build.
6. In the Name box accept the default build name or replace it with a name that you
choose. The name can be up to 32 characters long and cannot contain spaces or the
following illegal characters:
$~/\#&@^!%*:;,+=><‘’"
7. In the Description box, you can type a description for the build. The description can
be of any length and can include any characters.
8. Click Create.
Note: If the project for which you are trying to create the build contains
unresolved dependencies, you will receive a message to that effect and
the build process will fail. For instructions on displaying and resolving
unresolved dependencies, see "Resolving Dependencies" on page 115.
9. To view the progress of the build, click the View Progress Report link. The progress
report displays the updates for build requests as they occur. This is useful in the case
where the deployment build takes a long time to finish.
10. Under Build History in the right-hand pane, click in the Report column to display
the build report in HTML or XML.
The build report lists the assets that were successfully included in the build,
describes any errors that occurred during the build process, and informs you if
the project contains unresolved dependencies. The report is also available under
Rebuilding a Build
The Status column on the Projects > project > Build page indicates whether each project
build is in sync with the current project definition. If the build and the current project
definition are in sync, the column shows . If the project definition has changed since
the build was created, the column shows .
If a project build is out of sync with the current project definition or contains assets that
you know have changed on the source servers, and you want to re-create the build to
bring it up to date, click in the Rebuild column for the build.
If you want to see the progress report, click in the Progress Report column. The
progress report displays the updates for build and rebuild requests as they occur. This is
useful in the case where the deployment build is large and it takes a long time to finish.
Note: Deployer does not take dependencies into account while rebuilding project
builds.
If the project for which you are trying to create the build contains unresolved
dependencies, you will receive a message to that effect and the build process
will fail. When asset dependencies are changed on the source server, you
must first remove the dependent asset from the deployment set and save the
deployment set. Then, add the asset back and save the deployment set. When
Deployer displays the changed dependencies, resolve the dependencies and
rebuild the project. For instructions on displaying and resolving unresolved
dependencies, see "Resolving Dependencies" on page 115.
b. Locate the build to export and click in the build's Export column.
Deployer creates a file that contains the build. The file is named
projectName _ExportedBuild_buildName and is stored in the
Integration Server_directory \instances\instance_name \packages\WmDeployer
\replicate\outbound directory. Deployer also allows you to save the file to your
local file system.
c. If you have previously exported a build of the same name, Deployer displays a
dialog box confirming that you want to overwrite the existing build. Click OK to
overwrite the existing build.
2. Import the build as follows:
a. Copy the projectName _ExportedBuild_buildName file to the
Integration Server_directory \instances\instance_name \packages\WmDeployer
\replicate\inbound directory on the machine that hosts the target Deployer.
b. In the target Deployer, go to the Tools > Import Build page.
c. In the Project Build list, click the projectName _ExportedBuild_buildName file you
just copied to the inbound directory.
d. Click Import.
Next Steps
Once you have created a build, you can map and deploy the project.
To... See...
11 Mapping a Project
■ About Mapping a Project ........................................................................................................... 144
■ Mapping a Project to Target Servers and Target Groups .......................................................... 144
■ Exporting and Importing a Map ................................................................................................. 147
■ Substituting Configuration Values .............................................................................................. 148
■ Exporting and Importing Substitute Configuration Values .......................................................... 151
Individual Click Add Target Server and then perform one of the
target server following:
For runtime-based projects, select the check box next to
each target server to which to deploy the assets in the
deployment set and then click Add.
For repository-based projects:
i. In the Select Server list, click the runtime type of the
target server.
ii. Select the check box next to each target group to
which to deploy the assets in the deployment set and
then click Add.
Notes:
For runtime-based projects, Deployer lists only those
servers running compatible versions for selection as
target servers. Repository-based deployment does not
support mapping to target servers of versions that are
different than the source repository. For information
about selecting the versions of source servers, see
"Connecting to webMethods Servers" on page 54.
If you are mapping a repository-based project that
contains BPM ProcessModels, you must also select the
physical Integration Server servers or My webMethods
Servers for each logical server in the deployment set from
the Map Logical Servers area of the Add Targets pane.
If a server you want to map to does not appear in the list,
you have not yet set it up to work with Deployer. For
instructions, see "Starting Deployer and Connecting to
Servers" on page 53. Then click Refresh this Page to update
the list of servers on this page.
Target group Click Add Target Group and then perform one of the
following:
For runtime-based projects, select the check box next to
each target group to which to deploy the assets in the
deployment set and then click Add.
For repository-based projects:
i. In the Select Server list, click the runtime type of the
target server.
ii. Select the check box next to each target group to
which to deploy the assets in the deployment set and
then click Add.
Notes:
For runtime-based projects, Deployer lists only those
target groups whose version is compatible with the
source servers in the deployment set. Repository-based
deployment does not support mapping to target servers
of versions that are different than the source repository.
For information about selecting the versions of source
servers, see "Connecting to webMethods Servers" on page
54.
If you are mapping a repository-based project that
contains BPM ProcessModels, you must also select the
physical Integration Server servers or My webMethods
Server target groups for each logical server in the
deployment set from the Map Logical Servers area of the
Add Targets Groups pane.
10. If you are mapping a runtime-based deployment deletion set, under the Deployment
Map Topology area, in the Set Mapping column, follow the instructions in the previous
step, but map to the target servers from which to delete the assets. The important
note is also true for deletion sets.
11. When Deployer returns to the map > Properties page, the Deployment Map Topology area
might show or .
For repository-based deployment projects, Deployer verifies whether the target
servers or target groups are available for deployment when you add them to
the deployment map. The Status column shows if the server is available for
deployment and if it is not.
For runtime-based deployment sets, appears in the Referenced Assets column
and indicates that you resolved an unresolved dependency using the Exists
option, but Deployer has found that the referenced asset does not exist on target
servers. Click to see the missing referenced asset. You can then place the
referenced asset on the target servers, or you can return to the project definition
stage and re-resolve the dependency in a different way. For more information,
see "Resolving Dependencies" on page 115 (for runtime-based deployment).
For deletion sets, dependencies work in the opposite direction from deployment
sets. Deployer finds all assets on the target servers that depend on assets in
the deletion set. If you were to delete the assets in the deletion set from the
target servers, the dependent assets would no longer work properly. On the
map >Properties page, in the Deployment Map Topology area, therefore, the icon
appears in the Dependent Assets column, and indicates that dependent assets
exist. Click to see the dependent assets, then choose whether to Add the
dependent assets to the deletion set or to Remove the assets they depend on from
the deletion set.
Note: Keep the following points in mind when working with dependencies:
Deployer cannot detect dependencies across products. Make
sure assets you want to delete are not required by assets of other
products.
If you do not address problems at this time, Deployer will write
messages about them to the simulation report. If you deploy
without addressing problems, Deployer will not deploy the assets
identified in the deployment set or delete the assets identified in the
deletion set.
12. If you are mapping a runtime-based deployment or deletion set and you resolved
dependencies in the previous step, the contents of the deletion set have changed. As
a result, you must rebuild the project (see "Rebuilding a Build" on page 141). If you
exported the deletion set definition or the project build, you must also re-export the
definition (see "Exporting and Importing Deletion Set Definitions" on page 136) and
the build (see "Exporting and Importing a Build" on page 141).
b. Locate the map to export and click in the map's Export column.
Deployer creates a file that contains the deployment map. The file is named
project_map .map and is stored in the Integration Server_directory \instances
\instance_name \packages\ WmDeployer\replicate\outbound directory.
Deployer also allows you to save the file to your local file system.
2. After you export a map, you can edit any of the aributes before importing it into
the target environment. For example, you might want to map a deployment set to a
new target server or target group. For instructions, see "Editing a Deployment Map,
Project Properties, or Substitute Configuration Values" on page 181.
3. Import the map as follows:
a. Copy the project_map .map file to the Integration Server_directory \instances
\instance_name \packages\WmDeployer\replicate\inbound directory on the
machine that hosts the target Deployer.
b. In the target Deployer, go to the Deployer > Projects >project > Map page.
c. Click Import Map, then select the project_map .map file you just copied to the
inbound directory.
If you are creating a... You can substitute configuration values by...
If you are creating a... You can substitute configuration values by...
Perform the following steps to substitute configuration values by asset for runtime-
based deployment projects.
Deployer displays the configuration values as they exist on the repository in the
Target Substitutions and Source Values pane. If you selected multiple assets, Deployer
displays the common properties but not source values.
5. In the boom of the Target Substitutions and Source Values pane, type the configuration
values to substitute.
6. Click Save Substitutions to save the substitutions, or Restore Defaults to clear the
changes you made.
12 Deploying a Project
■ Overview ..................................................................................................................................... 154
■ Preparing Integration Server to Stream Large Repository-Based Projects ................................ 154
■ Generating a Checkpoint ........................................................................................................... 155
■ Deploying a Project .................................................................................................................... 156
■ Post-Deployment Tasks .............................................................................................................. 159
■ Rolling Back Target Servers ...................................................................................................... 159
Overview
Deploying a project involves the following tasks:
Prepare Deployer to stream large repository-based projects (optional).
Generate a checkpoint. See "Generating a Checkpoint" on page 155.
Deploy or simulate the deployment of a project. See "Deploying a Project" on page
156.
Post-deployment tasks. See "Post-Deployment Tasks" on page 159.
Roll back the target servers. See "Rolling Back Target Servers" on page 159.
If you choose to stream repository-based projects from Deployer to the target server,
you must set certain server configuration seings on every target Integration Server
hosting the runtime and Deployer. The build size of a project containing Integration
Server packages and webMethods files can be up to 4GB.
You can stream assets from Deployer to target servers for the following runtime types:
Integration Server
Trading Networks
BPM process models
EDA
Event Server
2. Type the following server configuration parameters and values in the box. For
complete information about these server configuration parameters, see the
webMethods Integration Server Administrator’s Guide.
wa.server.SOAP.MTOMStreaming.enable=true
wa.server.SOAP.MTOMStreaming.cachedFiles.location=directory_path
wa.server.SOAP.MTOMStreaming.threshold=number_of_bytes
3. Click Save Changes and restart Integration Server.
Generating a Checkpoint
You generate a checkpoint for a project when you want the option of rolling back the
target server to the state it was in prior to deploying your project. The checkpoint
contains a copy of the assets on the target server that will be replaced by the assets in the
deployment sets. You can set Deployer to generate checkpoints automatically or you can
generate checkpoints manually for both runtime-based and repository-based projects.
Keep the following points in mind when working with checkpoints:
If you take multiple checkpoints for a deployment candidate, only the latest is
retained.
The target servers must be available for the checkpoint generation to be successful.
Deploying a Project
When you deploy a project, Deployer deploys the assets in the project to the target
servers.
You can simulate a deployment before you actually deploy. When you simulate a
deployment, Deployer generates a simulation report that scans the target servers and
alerts you to some potential problems before you deploy. You can address problems and
re-generate the simulation reports until all problems are resolved. A simulation report
contains information such as the following:
Assets that will be suspended during deployment.
Assets that will be enabled after deployment.
Changes that will occur on the target servers, such as the assets that will be added or
overwrien, and configuration values that will be substituted for Integration Server
assets.
Messages about problems, such as unresolved dependencies.
To deploy a project
1. If you chose to suspend triggers, ports, and scheduled tasks, but a service is
triggered by one of these assets before Deployer suspends them, and the service is
a long-running service, Deployer might overwrite the service during deployment.
Make sure long-running services have completed.
2. In Deployer, go to the Deployer > Projects page.
3. If locking is enabled, in the Lock Status column for the project, click to lock the
project.
4. In the Name column, click the project.
5. In the right-hand pane, click Deploy. Deployer displays the Projects > project >
Deploy page and lists all deployment candidates that exist for the selected project.
6. In the left-hand pane, click Create Deployment Candidate.
7. Set the Create Deployment Candidate parameters as follows:
Parameter Description
Project Build (Run-time based deployment only.) Click the project build
to deploy.
Deployment Map Click the deployment map that identifies the target servers
to which to deploy the assets.
If the words Missing referenced assets appear next to the map
name in the list, it means that you resolved an unresolved
dependency using the Exists option, but the referenced
asset does not exist on the target server. You can place
the referenced asset on the target servers, or you can
return to the project definition stage and re-resolve the
dependency in a different way. For more information, see
"Resolving Dependencies" on page 115 (for runtime-based
deployment) or "Resolving Dependencies" on page 122 (for
repository-based deployment).
If you do not address the problem during the mapping task,
Deployer will write a message about the problem to the
simulation report. If you deploy without addressing the
problem, Deployer will not deploy the deployment set.
8. Click Create.
In the candidate list in the left-hand pane, if the selected build and the current
project definition are in sync, the Status column shows . If the project definition has
changed since the build was created, the column shows .
9. If you want to see the progress report, click in the Progress Report column.
The progress report displays the updates for simulate, deploy, checkpoint and
rollback requests as they occur. This is useful in the case where the deployment build
is large and it takes a long time to complete the action.
Note: If you are deploying a runtime-based project, you can rebuild the project
build before proceeding. For instructions, see "Rebuilding a Build" on page
141.
10. If you want to simulate the deployment, in the Deployment Candidates list, click in
the Simulate column.
The simulation report appears in the right-hand pane in the Deployment
History area. Click next to Simulation in the Report Type column to display
the report. Read the report and address all problems. The report is also
available under the name project_name _previewReport_reportID .xml in the
Integration Server_directory\instances\instance_name \packages\WmDeployer\pub
\projects\project_name \targets\deployment_map \reports folder, where project_name
is the name of the project and deployment_map is the name of the deployment map.
Note: If you do not address all problems at this time, you will probably
experience errors during the deployment. For instructions on resolving
unresolved dependencies, see "Resolving Dependencies" on page 115 (for
runtime-based deployment) or "Resolving Dependencies" on page 122 (for
repository-based deployment).
11. Click in the Deploy column for the deployment candidate. Deployer does the
following:
Deploys the assets in the project to the target servers.
Creates a deployment report and lists the report in the Deployment History
area. Click next to Deployment Report in the Report Type column to display
the report. The report contains similar information to the simulation report,
except that the events have actually occurred at this point. The report is
also available under the name project_name _auditReport_reportID .xml
in the Integration Server_directory \instances\instance_name \packages
\WmDeployer\pub\projects\project_name \targets\deployment_map \reports
folder, where project_name is the name of the project and deployment_map is the
name of the deployment map.
If you are creating a runtime-based deployment project, Deployer performs the
following additional tasks:
If you chose automatic checkpointing or automatic rollback in the project
properties, Deployer automatically generates a checkpoint at this time. If
you chose manual checkpointing and no checkpoint exists, Deployer asks
whether you want to deploy anyway. If you deploy without a checkpoint,
you will not be able to roll back the target servers.
Post-Deployment Tasks
If you deployed JMS triggers, do the following:
1. Create the same JMS alias connections on the target Integration Servers that exist
on the source Integration Servers. Then reload the packages that contain the
triggers.
2. Enable the JMS triggers.
3. Configure the queue or topic for each JMS trigger on the message provider for
the target Integration Servers.
For instructions, see Using webMethods Integration Server to Build a Client for JMS.
If you deployed My webMethods Server rules, the order in which the deployed rules
are resolved with the existing rules on the target servers might need modification.
Review the rule order and modify as necessary.
If you deployed a process that uses e-forms with the project property Enable process
for execution set to No (see "Creating a Project" on page 87), the e-form listener
associated with the process cannot be enabled on the target server and therefore the
process cannot be triggered on the target server. To make the process triggerable on
the target server, enable it for execution and then enable the e-form listener.
project_name is the name of the project and deployment_map is the name of the
deployment map.
If you rolled back an IS & TN deployment set, the following apply:
If the Activate After Deployment option for a package was set to Inbound Only, the report
will warn that the package is not present on the target Integration Servers. You can
ignore this warning.
If the deployment set included webMethods files, the directory structure for those
files remains in the webMethods installation directory on the target servers. You can
delete the directories manually.
If you deployed Trading Networks document aributes, field definitions, binary
types, or profile security data, Deployer does not roll them back.
If you rolled back a ProcessModel deployment set, the rollback behavior varies, as
follows:
For process models you deployed that were versions of existing process models
on the target servers, Deployer rolled back the deployed versions from the target
servers.
For deployed process models that were new on the target servers, Deployer disables
the deployed process models but does not remove them from the target servers.
If you rolled back Universal Messaging assets, the rollback behavior is as follows:
Deployer will not roll back the assets if the port is already being used by another
existing interface.
Deployer does not roll back nested security groups. For example, if group1 contains
group2, the rollback will not restore the nested group2.
Overview
You can use the command line interface to enter commands at a command prompt. The
command line interface allows you to use many of the same features that are available in
the Deployer GUI.
File Location
Edit the Deployer.{bat|sh} file you copied to the local machine to point to the jar files
you copied and to a JDK or JRE 1.6 on the local machine.
For... Command
You can also call scripts from other automated procedures, such as other scripts.
The following sample script automates these tasks on a Windows system:
Imports a build that was exported from a test environment. Deployer automatically
creates the deployment project and deployment sets.
Displays the build contents on the console.
Imports the deployment map.
Imports substitute configuration values for Integration Server assets into the
deployment map.
Creates a deployment candidate.
Generates a checkpoint, simulates the deployment, and deploys the build.
:environment
set host=%1
set port=%2
set user=%3
set pwd=%4
set project=testProject
set build=DemoBuild
set depCandidate=DemoDC
set depMap=DemoMap
rem ----clear the ERRORLEVEL system variable to avoid any side effects of
previous executions cases
set ERRORLEVEL=
:importBuild
set importB=%proj ect%_ExportedBuild_%build%
IF "% ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Importing Build %ImportB%
ECHO ---------------------------------------------------------------------------
call Deployer.bat --import -buildFile %importB% -host %host% -port %port% -user
%user% -pwd %pwd%
@echo off
echo.
echo.
echo.
set importB=
set nextAction=describeBuild
GOTO verifyStatus
:describeBuild
IF "%ERROR LEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Describing %build%
ECHO ---------------------------------------------------------------------------
call Deployer. bat --describe -build %build% -project %project% -host %host% -port
set nextAction=checkpoint
GOTO verifyStatus
:checkpoint
IF "%ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO Performing CHECKPOINT operation of %depCandidate%
ECHO ---------------------------------------------------------------------------
echo %project%
echo %depCandidate%
call Deployer.bat --checkpoint -project %project% -dc %depCandidate% -host %host%
-port %port% -user %user% -pwd %pwd%
@echo off
echo .
echo .
echo .
set nextAction=deploy
GOTO verifyStatus
:deploy
IF "%ERRORLEVEL%" == "8" GOTO FINISH
ECHO ---------------------------------------------------------------------------
ECHO DEPLOYING %depCandidate%
:VerifyStatus
IF "%ERRORLEVEL%" == "8" ECHO "<<<ERROR>>>"
IF "%ERRORLEVEL%" == "4" ECHO "<<<WARNING>>>"
IF "%ERRORLEVEL%" == "0" ECHO "<<<SUCCESS>>>"
echo.
echo.
goto %nextAction%
:FINISH
echo.
echo.
echo Completed.
set host=
set port=
set user=
set pwd=
set project=
set build=
set depCandidate=
set ERRORLEVEL=
@echo on
Map the command line interface's client certificate to an Integration Server user that
has Administrator or Developer privileges.
For instructions on these tasks, see webMethods Integration Server Administrator’s Guide.
When you run Deployer commands, the log on parameters you provide depend on
whether you want to use HTTP or HTTPS, as follows:
The log on parameters for logging onto an HTTP port are as follows:
Deployer.{sh|bat} --command -host host -port port -user user -pwd password
The logon parameters for logging onto an HTTPS port are as follows:
Deployer.{sh|bat} --command -host host -port port -user user -pwd password
-useSSL -senderCert path_to_cert -privKey path_to_key -caCert path_to_cert
Parameter Description
-host host -port Host machine and port for the Integration Server
port to log on to.
Parameter Description
line interface, the
command will fail.
Save the file with the extension .cnf and store it in the
Integration Server_directory\instances\instance_name \packages\WmDeployer\bin
directory.
To point a command to the configuration file, specify the following on the command
instead of the log on parameters:
Deployer.{sh|bat} --command -configfile file
Parameter Description
Typical command line errors include required options that were not specified and
invalid parameter values. Execution errors can include connectivity and authentication
errors.
The maximum size for the CLI.log file is 100 KB. When it reaches the maximum size, it
archives the log by renaming the file CLI.log.old and creating a new CLI.log file.
About
The --about command displays the following details about Deployer:
JVM version number
Publisher information
Build number
Package name
Copyright information
Integration Server version number
Run the following command to see the project details:
Deployer.{sh|bat} --about -host host -port port -user user_name -pwd password
Deleting a Project
Run the following command to delete a project:
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --delete -project project
-host host -port port -user user_name -pwd password
For more information about deleting projects, see "Deleting a Project" on page 95.
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --getProjectProperties -project project
-host host -port port -user user_name -pwd password
Note: You must have Define ACL authorization to run this command.
Deployer.[sh|bat] --export -deleteSpec -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-overwrite If the project already contains a file with the same name,
this option tells Deployer to overwrite it. If you do not
overwrite, and a file with the same name exists, Deployer
issues an error and ends the command.
Note: You must have Define ACL authorization to run this command.
Deployer.{sh|bat} --import -deleteSpec definitions_ file -project project
-host host -port port -user user_name -pwd password
Parameter Description
Parameter Description
\instance_name \packages
\WmDeployer\replicate\inbound directory.
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --export -projectProperties project
-host host -port port -user user_name -pwd password
Parameter Description
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --setProjectProperties -project project
-projectFile properties_file
-host host -port port -user user_name -pwd password
Parameter Description
Help
Run the following command to view a list of Deployer commands you can use in the
command line interface:
Deployer.{sh|bat} --help -command command_string
Parameter Description
Note: You must have the correct authorizations to run this command depending on
whether you want to list builds, maps, or deployment candidates.
To list builds, you must have Build ACL authorization.
To list maps, you must have Map ACL authorization.
To list deployment candidates, you must have Deploy ACL authorization.
Deployer.{sh|bat} --list -candidate {Build|Map|DC} -project project
-host host -port port -user user_name -pwd password
Parameter Description
Locking Projects
Run the following command to lock a project:
Deployer.{sh|bat} --lockProject -project project
-host host -port port -user user_name -pwd password
Unlocking Projects
Run the following command to unlock a project:
Deployer.{sh|bat} --unlockProject -project project
-host host -port port -user user_name -pwd password
Build Commands
This section describes the commands to create, export, import, and display details about
a build.
Note: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --create -build build -project project
-host host -port port -user user_name -pwd password -reportFilePath report_path
Parameter Description
-build build Name of the build to create. The build name can
be up to 32 characters long and can include any
Parameter Description
characters that are valid for a file name in your
operating system.
Note: You must have View ACL authorization to run this command.
Deployer.{sh|bat} --list -candidate build -project project
-host host -port port -user user_name -pwd password
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -build build -project project
-host host -port port -user user_name -pwd password
Parameter Description
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -build build -project project -varsub
-host host -port port -user user_name -pwd password
Parameter Description
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -buildFile build_file -project project
-host host -port port -user user_name -pwd password
Parameter Description
Note: You must have Administrator ACL authorization to run this command.
Deployer.{sh|bat} --describe -buildFile build_file -project project -varsub
-host host -port port -user user_name -pwd password
Parameter Description
Parameter Description
the Integration Server_directory\instances
\instance_name \packages\WmDeployer\replicate
\outbound directory.
Note: You must have Build ACL authorization to run this command.
Deployer.[sh|bat] --export -build build -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-overwrite If the project already contains a build with the same name, this
options tells Deployer to overwrite it. If you do not overwrite,
and a build with the same name exists, Deployer issues an
error and ends the command.
Deployer creates a file that contains the build. The file is named project _build and
is stored in the Integration Server_directory\instances\instance_name \packages
\WmDeployer\replicate\outbound directory.
Note: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --import -buildFile build_file -project project
-overwrite -host host -port port -user user_name -pwd password
Parameter Description
-buildFile Full path to the build file that contains the deployment
build_file map to import. Build files are named project _build and
are located in the Integration Server_directory\instances
\instance_name \ packages\WmDeployer\replicate
\inbound directory.
Note: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --list -candidate buildReport -build build -project project
-host host -port port -user user_name -pwd password
Parameter Description
Note: You must have Build ACL authorization to run this command.
Deployer.{sh|bat} --showReport -candidate buildReport -build build
-id integerId -project project -host host -port port -user user_name
-pwd password
Parameter Description
id report_ Identifier for the report to display. Use the --list command
identifier (see "Listing Build Reports" on page 178) to display report
identifiers, as well as the date and time each report was
generated.
Note: When you follow this procedure to rebuild the index, the build script creates
only the index. To build the index, check out the asset sources, version the
assets, and build the composites and descriptors in the repository, you must
run the build script as described in "Running the Build Script and Rebuilding
the Index" on page 41.
Note: If you do not specify a path for -Drepo.dir, the build script indexes the
repository specified by the build.output.dir property. For more information
about the build.output.dir property, see "Seing the Properties for the Build"
on page 32.
Map Commands
This section describes the commands to list, import, export, edit, and delete deployment
maps.
Note: You must have Map ACL authorization to run the commands in this section.
Parameter Description
To specify an additional target server, target group, or deployment set in the same
deployment map, repeat the aribute for each addition. For example, a deployment set
that is mapped to multiple target servers is defined as follows:
<DeploymentMap>
<DeploymentSets>
<DeploymentSet name="deploymentsetA" pluginType="MWS">
<targetGroups>
<targetGroup alias="<targetGroupName>"/>
</targetGroups>
<targetServers>
<targetServer alias="server1"/>
<targetServer alias="server2"/>
<targetServer alias="server3"/>
</targetServers>
</DeploymentSet>
</DeploymentSets>
</DeploymentMap>
Parameter Description
-mapFile Full path to the map file that contains the deployment map to
map_file import. Map files are named project_map .map and are located
in the Integration Server_directory\instances\instance_name \
packages\WmDeployer\replicate\inbound directory.
-overwrite If the project already contains a map with the same name, this
options tells Deployer to overwrite it. If you do not overwrite,
and a map with the same name exists, Deployer issues an
error and ends the command.
Parameter Description
Deployer creates a file that contains the substitute configuration values. The file
is named project_map .vs and is stored in the Integration Server_directory\instances
\instance_name \packages\WmDeployer\ replicate\outbound directory.
If you exported substitute configuration values for scheduled tasks, open the
project_map .vs file in an XML editor and set the task ID for each scheduled task to the
task ID used on the target Integration Server.
Note: If no substitute configuration values are specified in the deployment map, the
Deployer creates a file with the complete structure but does not export any
values.
Parameter Description
-project project Project that contains the map into which to import the
values.
Parameter Description
Deployment Commands
This section describes the commands to create, display information about, deploy, and
delete deployment candidates and to generate checkpoints, simulate a deployment, roll
back a target server, and generate reports.
Note: You must have Deploy ACL authorization to run the commands in this
section.
Parameter Description
Parameter Description
Parameter Description
Generating a Checkpoint
Note: The target servers must be available for the checkpoint generation to be
successful. For more information about checkpoints, see "Checkpoint and Roll
Back" on page 20.
Parameter Description
Simulating a Deployment
When you run this command and simulate a deployment, Deployer generates a
simulation report. Display the simulation report as instructed in "Displaying a
Simulation, Rollback, or Deployment Report" on page 188 and address all problems.
Note: If you do not address all problems at this time, you will probably experience
errors during deployment.
Parameter Description
Deploying
When you run this command, Deployer deploys the assets in the candidate's project
build to the target servers in the candidate's deployment map. In addition, Deployer
generates a deployment report. Display the deployment report as instructed in
"Displaying a Simulation, Rollback, or Deployment Report" on page 188.
Parameter Description
Parameter Description
Parameter Description
Parameter Description
Overview
To configure automatic projects, you provide the necessary specifications for automated
project creation in an XML file. This chapter describes the tags you can specify in the file.
Only the root tag and the tag that identifies Deployer are required in the XML file.
Sample XML files are provided in the Integration Server_directory/
instances/instance_name /packages/WmDeployer/config directory. There are two files:
ProjectAutomatorSampleForRepository.xml provides an example of a repository-based
automated project, and ProjectAutomatorSampleForRuntime.xml shows a sample
runtime-based automated project. You can also export a project you created in the GUI
for use in Project Automator. For more information about exporting a project from the
GUI, see "Exporting Projects for Use in Project Automator" on page 190.
For complete contextual information about the features that each tag relates to, see the
GUI chapters in this guide.
Field Entry
Field Entry
definition set and all of the
associated assets.
Password handles are valid only when Project Automator is running on the same
host Integration Server on which the password handles are created.
When using password handles, Project Automator can connect only to a Deployer
installed in same directory as Project Automator itself.
Field Entry
4. Click Create.
3. In the right-hand pane, in the New Password field, enter the new password to
associate with the password handle.
4. Click Update.
For error messages, you can write a program to parse the aribute values and take
specified actions.
Root Tag
The root tag for Project Automator consists of the <DeployerSpec> tag and the
exitOnError aribute, as follows:
<DeployerSpec exitOnError="true or false"></DeployerSpec>
The following table describes the aribute you can specify in the <DeployerSpec> tag.
Attribute Description
Identifying Deployer
You identify the Deployer on which you will perform the project tasks in the
<DeployerServer> tag. The <DeployerServer> tag enables you to specify the values
required to log on to the Integration Server that hosts the Deployer.
The following example shows how to use this tag:
<DeployerServer>
<host>Integration
Server host name or IP address :port </host>
<user>user
name </user>
<pwd>password </pwd>
OR <pwdHandle>handle </pwdHandle>
</DeployerServer>
The following table describes the aributes you can specify in the <DeployerServer> tag.
Attribute Description
Note:
Project Automator encrypts
passwords the first time it
runs. If you must change
the passwords in the future,
change the passwords in
the XML file and run Project
Automator to encrypt the
passwords again.
The following sections describe each tag within the <Environment> tag in detail.
If Deployer already contains an alias with the same name as one you define, Deployer
overwrites the alias.
Note: The credentials for <user>, <pwd>, and <pwdHandle> asset tags must be those
for a user with Administrator ACL authorization or for a user that belongs
to a group that has Internal, Developer, and DeployerAdmin ACLs to create
Deployer runtime aliases and projects.
Note: You can set up aliases for source repositories for repository-based deployment
only.
<Repository>
<repalias name="name ">
<type>FlatFile</type>
<urlOrDirectory>directory_location </urlOrDirectory>
<Test>true or false </Test>
</repalias>
</Repository>
For more information about the values to supply for the following aributes, see
"Connecting to a Repository for Repository-Based Deployment" on page 73.
Attribute Description
Attribute Description
target server, it registers
an error and handles the
error according to the
exitOnError aribute of the
<DeployerSpec> tag. For more
information, see "Root Tag" on
page 194.
false to create the source
alias without testing the
connection to the target server.
For information on the values to supply for the following tags, see "Connecting to
AgileApps Servers" on page 67.
Attribute Description
Attribute Description
Note:
Project Automator encrypts
passwords the first time it
runs. If you must change the
passwords in the future, change
the passwords in the XML file and
run Project Automator to encrypt
the passwords again.
For information on the values to supply for the following tags, see "Connecting to
Application Platform Servers" on page 58.
Attribute Description
Attribute Description
must change the passwords in the
future, change the passwords in the
XML file and run Project Automator
to encrypt the passwords again.
Basic Authentication
The following example illustrates how to set up a Broker alias that uses basic
authentication.
<Broker>
<brokeralias name="alias name ">
<brokerName>Broker name </brokerName>
<clientGroup>client group </clientGroup>
<host>Broker server host </host>
<port>Broker Server port </port>
<useBasicAuth>true </useBasicAuth>
<user>basic authorization user name </user>
<pwd>basic authorization password </pwd> OR <pwdHandle>handle </pwdHandle>
<version>version_number </version>
<context>JNDI context </context>
<Test>true/false </Test>
</brokeralias>
</Broker>
For detailed information on the values to supply for the following aributes, see
"Connecting to Broker Servers" on page 63.
Attribute Description
Attribute Description
SSL Authentication
The following example illustrates how to set up a Broker alias that uses SSL
authentication.
<Broker>
<brokeralias name="alias name">
<brokerName>Broker name</brokerName>
<clientGroup>client group</clientGroup>
<host>Broker server host</host>
<port>Broker Server port</port>
<useSSL>true</useSSL>
<version>version_number</version>
<keyStoreType>Deployer keystore type</keyStoreType>
<keyStorePath>Deployer keystore path</keyStorePath>
<keyStorepassword>Deployer keystore password</keyStorepassword>
<trustStoreType>Deployer trust store type</trustStoreType>
<trustStorePath>Deployer truststore path</trustStorePath>
<context>JNDI context</context>
<Test>true/false</Test>
</brokeralias>
</Broker>
For detailed information on the values to supply for the following aributes, see
"Connecting to Broker Servers" on page 63.
Attribute Description
Attribute Description
No Authentication
The following example illustrates how to set up a Broker alias that does not use client
authentication.
<Broker>
<brokeralias name="alias name ">
For detailed information about the values to supply for the following aributes, see
"Connecting to Broker Servers" on page 63.
Attribute Description
Attribute Description
For detailed information about the values to supply for the following aributes, see
"Connecting to BPM Process Model Servers" on page 65.
Attribute Description
Attribute Description
Note:
Project Automator encrypts
passwords the first time it
runs. If you must change
the passwords in the future,
change the passwords in
the XML file and run Project
Automator to encrypt the
passwords again.
Attribute Description
For information on the values to supply for the following tags, see "Connecting to
Integration Servers and Trading Networks Servers" on page 56.
Attribute Description
Note:
Project Automator encrypts
passwords the first time it
runs. If you must change the
passwords in the future, change
the passwords in the XML file and
run Project Automator to encrypt
the passwords again.
Attribute Description
</excludeCoreTaskEngineDependencies>
<cacheTimeOut>time </cacheTimeOut>
<includeSecurityDependencies>true/false </includeSecurityDependencies>
<rootFolderAliases>folder,folder,folder... </rootFolderAliases>
<maximumFolderObjectCount>count </maximumFolderObjectCount>
<enableAddtionalLogging>true/false </enableAddtionalLogging>
<maxFolderDepth>number_of_assets </maxFolderDepth>
<useSSL>true/false </useSSL>
<version>version_number </version>
<Test>true/false </Test>
</mwsalias>
</MWS>
For information on the values to supply for the following tags, see "Connecting to My
webMethods Servers" on page 60.
Attribute Description
Note:
Project Automator encrypts
passwords the first time it
runs. If you must change
the passwords in the future,
change the passwords in
the XML file and run Project
Attribute Description
Automator to encrypt the
passwords again.
Attribute Description
Attribute Description
an MWS deployment set. This
aribute corresponds to the
Maximum Folder Depth field.
<Optimize>
<optimizealias name="alias name ">
<host>Integration Server host </host>
<port>Integration Server port </port>
<user>user name </user>
<pwd>password </pwd> OR <pwdHandle>handle </pwdHandle>
<useSSL>true/false </useSSL>
<version>version_number </version>
<Test>true/false </Test>
</optimizealias>
</Optimize>
For information on the values to supply for the following tags, see "Connecting to
Optimize Servers" on page 57.
Attribute Description
Attribute Description
For information on the values to supply for the following tags, see "Connecting to Event
Servers" on page 62.
Attribute Description
Attribute Description
For information on the values to supply for the following tags, see "Connecting to EDA
Deployment Endpoints" on page 69.
Attribute Description
Attribute Description
For information on the values to supply for the following tags, see "Connecting to
Business Rules Integration Servers" on page 70.
Attribute Description
rulesserver alias name Name to assign to the server. This aribute corresponds to the
Name field.
port Port for the server. This aribute corresponds to the Port field.
Attribute Description
<port>port_number </port>
<user>user_name </user>
<pwd>password </pwd>
OR <pwdHandle>$(PasswordHandle) </pwdHandle>
<useSSL>true/false </useSSL>
<version>version_number </version>
<rootContext>mws_root_context </rootContext>
<Test>true/false </Test>
</rulesmwsserveralias>
</RulesServerMWS>
For information on the values to supply for the following tags, see "Connecting to
Business Rules My webMethods Servers" on page 71.
Attribute Description
port Port for the server. This aribute corresponds to the Port
field.
Attribute Description
Basic Authentication
The following example illustrates how to set up a Universal Messaging server alias that
uses basic authentication.
<UniversalMessaging>
<universalmessagingalias name="server_target ">
<realmURL>URL </realmURL>
<useBasicAuth>true </useBasicAuth>
<version>version </version>
<user>basic authorization user name </user>
<pwd>basic authorization password </pwd> OR <pwdHandle>handle </pwdHandle>
<Test>true/false </Test>
</universalmessagingalias>
</UniversalMessaging>
For detailed information on the values to supply for the following aributes, see
"Connecting to Universal Messaging Servers" on page 67.
Attribute Description
Attribute Description
<DeployerSpec> tag. For more information,
see "Root Tag" on page 194.
false to create the source alias without
testing the connection to the target server.
SSL Authentication
The following example illustrates how to set up a Universal Messaging server alias that
uses SSL authentication.
<UniversalMessaging>
<universalmessagingalias name="server_target ">
<realmURL>URL </realmURL>
<useSSL>true </useSSL>
<version>version </version>
<keyStorePath>Deployer keystore path </keyStorePath>
<keyStorepassword>Deployer keystore password </keyStorepassword>
<trustStorePath>Deployer truststore path </trustStorePath>
<trustStorepassword>Deployer truststore password </trustStorepassword>
<Test>true/false </Test>
</universalmessagingalias>
</UniversalMessaging>
For detailed information on the values to supply for the following aributes, see
"Connecting to Universal Messaging Servers" on page 67.
Attribute Description
Attribute Description
No Authentication
The following example illustrates how to set up a Universal Messaging server alias that
does not use client authentication.
<UniversalMessaging>
<universalmessagingalias name="server_target ">
<realmURL>URL </realmURL>
<version>version </version>
<Test>true/false </Test>
</universalmessagingalias>
</UniversalMessaging>
For detailed information on the values to supply for the following aributes, see
"Connecting to Universal Messaging Servers" on page 67.
Attribute Description
For information on the values to supply for the following aributes, see "Creating Target
Groups" on page 74.
Attribute Description
Attribute Description
EDA
UniversalMessaging
Attribute Description
Creating Projects
You create projects in the <Projects> tag as follows:
<Projects
projectPrefix="string">
<Project overwrite="true" name="project_name"
description=project_description">
<ProjectProperties>
<Property name= "projectLocking">true/false </Property>
<Property name= "concurrentDeployment">true/false </Property>
<Property name= "ignoreMissingDependencies">true/false </Property>
<Property name= "isTransactionalDeployment">true/false </Property>
</ProjectProperties>
<{DeploymentSet|DeletionSet}>tags</{DeploymentSet|DeletionSet}>
<{Component|Composite}>tags</{Component|Composite}>
</Project>
</Projects>
Note: You can specify aributes in the <DeletionSet> tag for repository-based
deployment only.
Note: The <Component> and <Composite> tags define the components and
composites for repository-based deployment projects only. They are not used
for runtime-based deployment projects.
Attribute Description
The <Projects> tag can contain several <Project> tags, one for each project you want
Project Automator to create. You can specify the following aributes for the <Project>
tag:
Attribute Description
For repository-based projects, the <ProjectProperties> tag contains the individual project
properties that you can edit for the project. If no project properties are specified, the
project adopts the seings specified for all projects. For more information about seing
project seings for all projects, see "Seing Default Properties for All Projects" on page
81.
Attribute Description
Attribute Description
set to true , transactional deployment
is enabled. When transactional
deployment is enabled and activation
fails, Deployer triggers a roll back
automatically and restores the target
servers to the state of the prior
activation.
The following sections describe the tasks you can perform using tags of the parent
<Project> tag.
Attribute Description
Attribute Description
Attribute Description
sets). This aribute corresponds with the Name
field described for the runtime server type in
"Starting Deployer and Connecting to Servers"
on page 53.
The tags for each type of asset vary. See the sample XML file
ProjectAutomatorSample.xml in the Integration Server_directory/instances/instance_name /
packages/WmDeployer/config directory for examples for each type of asset. The
following additional notes are provided.
Assets Notes
Assets Notes
The <DeploymentSet> tag must include the autoResolve, description, name, and
srcAlias aributes. The following table describes each of these aributes.
Attribute Description
Attribute Description
The <Composite> tag describes composites that are part of the deployment set. You can
set the following aributes for the <Composite> tag.
Attribute Description
Attribute Description
IS
MWS
Optimize
RULES
TN
UniversalMessaging
You can use an asterisk (*) as a wildcard
character. For example, if you set type to
“*”, Project Automator adds composites
from all runtimes to the deployment set.
The <Component> tag describes the assets that are part of the deployment set. You can
set the following aributes for the <Component> tag.
Attribute Description
Attribute Description
name, you must add an escape
character (\) before the asterisk
in compositeName (example,
\*). For example, to add assets
from composites with the
name “project*”, you would set
compositeName to “project\**”.
To add all composites with the
name “*project”, you would set
compositeName to “\*project*”.
Note:
Deployer supports
deployment of assets to
Attribute Description
Event Servers of version
9.5 or earlier only.
IS
MWS
Optimize
RULES
TN
UniversalMessaging
You can use an asterisk (*)
as a wildcard character. For
example, if you set type to
“*”, Project Automator adds
assets from all runtimes to the
deployment set.
Note: Application Platform has different assets when deploying from a repository
and when defining a deletion set. Deletion set assets represent the entire
parent composite. This is because Application Platform cannot delete
individual assets. Therefore you must set name=compositeName and
type=compositeType. Thus there are only three types of deletion-time assets:
"bundle", "war", and "properties".
Note: For a description of the aributes for the <Component> tag, see "Defining a
Deployment Set for Repository-Based Deployment" on page 234.
Attribute Description
Attribute Description
dependent assets and adds them
to the deletion set. If autoResolve
is not supplied and Deployer finds
dependent assets, Deployer creates
the deletion set with unresolved
dependencies and deployment will
fail. For more information about the
autoResolve aribute, see "Defining
a Deployment Set for Repository-
Based Deployment" on page 234.
Note: If the project already has a build with the same name, Deployer overwrites it.
Attribute Description
Mapping a Project
You define a map to create for a project as follows:
<DeploymentMap
name="map name " description="map description "></DeploymentMap>
<MapSetMapping mapname="map name " setName="name of deployment or
deletion set ">
<alias>target
server alias </alias>
<alias>target
server alias </alias>
<group>target
group </group>
<group>target
group </group>
</MapSetMapping>
Note: If the project already has a map with the same name, Deployer overwrites it.
Attribute Description
Note: If the project already has a map with the same name, Deployer overwrites it.
The following table describes the aributes in the <DeploymentMap> tag. Each aribute
corresponds to a field in the GUI as described in "Mapping a Project to Target Servers
and Target Groups" on page 144.
Attribute Description
The <MapSetMapping> tag uses the following aributes to define the aliases contained
in each deployment map:
Attribute Description
Attribute Description
Note: If the project already has a map with the same name, Deployer overwrites it.
The following table describes the aributes in the <DeploymentMap> tag. Each aribute
corresponds to a field in the GUI as described in "Mapping a Project to Target Servers
and Target Groups" on page 144.
Attribute Description
The <MapSetMapping> tag uses the following aributes to define the aliases contained
in each deployment map:
Attribute Description
Attribute Description
Note: If the project already has a deployment candidate with the same name,
Deployer overwrites it.
The following table describes the aributes in the <DeploymentCandidate> tag when
creating a deployment candidate for runtime-based deployment. Each aribute
corresponds to a field in the GUI as described in "Deploying a Project" on page 156.
Attribute Description
Note: If the project already has a deployment candidate with the same name,
Deployer overwrites it.
The following table describes the aributes in the <DeploymentCandidate> tag when
creating a deployment candidate for repository-based deployment. Each aribute
corresponds to a field in the GUI as described in "Deploying a Project" on page 156.
Attribute Description
Before executing the specified XML file, Project Automator validates the XML
using the schema named ProjectAutomator.xsd in the Integration Server_directory/
instances/instance_name /packages/ WmDeployer/config directory.
If you are creating a ProcessModel deployment set, the e-forms might trigger process
steps in the process models. In this case, follow these instructions:
1. When you define the ProcessModel deployment set, JCR or CSP files will appear as
dependencies. You must include them in the ProcessModel deployment set unless
they already exist on the target server and they already specify the correct paths
to the e-form templates and e-form instances folders. For instructions on resolving
dependencies, see "Resolving Dependencies" on page 115.
Note: My webMethods Server assets (that is, the e-form templates and e-form
instances folders) do not appear as dependencies.
2. When you map the ProcessModel deployment set to the target servers, substitute
the password configuration values for the JCR or CSP files. These passwords, which
Process Engines use to connect to the My webMethods Server or Content Service
Platform that hosts e-forms, must be correct for the target environment. Also change
other JCR or CSP file configuration values to be correct for the target environment if
necessary.
Note: Configure the CSP in the target server with the same structure and content
as the source server.
3. If you are using e-forms with My webMethods Server, perform the following
additional tasks:
a. Define an MWS deployment set that contains the e-form templates and e-form
instances folders from the My webMethods Server that hosts e-forms in the
source environment. In the project seings for the project that contains this
deployment set, set the Export Content (Documents) property to Yes (see the Export
Content (Documents) property as described in "Creating a Project" on page 87).
Note: This seing is set to No by default. Since project seings affect all
deployment sets in the project, make sure that other MWS deployment
sets you include in the project can share this seing, or do not include
other MWS deployment sets in the project.
Overview
When you use Deployer to deploy Optimize assets, the process often requires
modifications to the Analytic Engine DB schema on the target server. The modifications
result from the automatic execution of Data Definition Language (DDL) statements on
the database. You can configure the Analytic Engine to run in Static DB Schema mode,
where the automatic execution of DDL statements is disabled. For more information, see
"Disabling Automatic Execution of DDL Statements" on page 254.
When the Analytic Engine runs in Static DB Schema mode, the deployment process
for Optimize assets runs through two stages. This ensures that no unauthorized
modification of the database schema is allowed.
First stage (DDL Recording) - during this stage, the deployment process carries out the
following actions:
1. Old versions of the Optimize assets are removed from the Analytic Engine cache.
2. Data Manipulation Language (DML) statements are executed.
3. DDL statements are collected but not executed.
After these procedures finish, you manually execute the Analytic Engine SQL scripts.
Second stage (Actual Deployment) - during this stage, the deployment process carries
out the following actions:
1. Determines if the database has been updated with the SQL scripts as described in
the first stage.
2. Creates the deployed Optimize assets.
2. On the Define Environments page, click the name of the environment with which
you want to work.
3. On the Edit Environment page, click the Configure Servers tab.
4. Under the appropriate Analytic Engine logical server node in the configuration tree,
click Database Settings.
5. In the Database Settings for Analytic Engine area, click Disable DDL Statements to disable
the automatic execution of DDL statements.
6. Click Save to save changes.
Note: If you click Finish without first clicking Save, any changes made to these
seings will be lost.
7. Click Deploy All to deploy all configuration files to all logical servers in an
environment, or click Deploy Updates to deploy only the modified configuration files
to the affected logical servers in the environment.
The status of the deployment operation appears after the operation is completed. The
status includes a list of the files that were deployed to the environment and also lists
any errors that occurred.
Note: If you edit a configuration and deploy only the updates, the logical servers
in the environment must be restarted for the new configuration seings to
take effect.
To deploy Optimize assets when Analytic Engine runs in Static DB Schema mode
1. Make sure you have deployed an environment with Analytic Engine running in
Static DB Schema mode as described in "Disabling Automatic Execution of DDL
Statements" on page 254.
2. In Integration Server: Solutions > Deployer.
3. On the Deployer > Settingspage, in the General Deployment Defaults area, make sure the
Batch Size property is set to 0 to avoid batching of the deployment set.
4. Go to the Deployer > Projectspage and configure an Optimize deployment candidate
as described in "Creating a Project" on page 87.
5. Click Deploy. Deployer displays the Projects > project > Deploy page and lists all
deployment candidates that exist for the selected project.
6. To deploy the project, click in the Deploy column for the deployment candidate.
Deployer does the following:
Removes older versions of the assets in the project build from the target servers
to prepare the servers for deployment.
Creates a deployment report and lists the report in the Deployment History area.
The deployment report contains the location of the .sql file that you need to
execute manually before continuing with the second deployment phase.
7. Locate and execute the SQL scripts.
You must have database administrator privileges on the database to be able to
execute the scripts. You will find the script(s) that must be executed in a .sql file
on the Analytic Engine host file system. The exact location is specified in the
deployment report in the Deployment History area.
8. Click in the Deploy column to complete the deployment.
If the Analytic Engine does not run in Static DB Schema mode and some assets cannot
be removed, Deployer aempts to update these assets at deployment time. This is not
supported by the Static DB Schema mode.
Potential Problems
When you deploy Optimize assets, it is possible to overlook seings, configure various
seings incorrectly, or aempt unsupported actions. As a result, the deployment fails or
other issues occur. This topic covers commonly encountered problems.
Note: For example, you might have two Optimize servers configured with
different names and the same host and port.
3. After you create a deployment candidate, click Create Checkpoint to activate the
Rollback buon.
4. Click Rollback to remove all assets in the deployment set created in step 1 from the
target Analytic Engine.
After all depended-on assets are removed, you can deploy the modified deployment set
from your original source.
Two or More Deployment Sets for the Same Analytic Engine Using One
Deployment Map
This is not supported. You can carry out either of the following supported methods as an
alternative:
Split the Optimize deployment sets into separate projects and complete both stages
consecutively for each project.
or
Remove the target Analytic Engine for all deployment sets. For each deployment set
with no target specified in the deployment map, do the following:
1. Add a target Analytic Engine in the deployment map.
2. Execute both deployment sets and the generated DDLs in the correct order, as
described in Step 1 in "Optimize Deployment Usage Notes" on page 256.
3. Remove the target Analytic Engine from the deployment map.
Overview
Deployer can deploy assets to clustered Integration Servers and to Trading Networks
and process models running on Integration Servers. Keep the following points in mind
when deploying to clustered Integration Servers:
Before you can deploy to a cluster, you must define the connections to the
Integration Servers in the cluster as remote servers and identify the Integration
Servers as part of a target group in Deployer. You can then map and deploy to the
target group as you would to any other target group. Since Trading Networks and
process models run on clustered Integration Servers, to deploy Trading Networks
assets and process models to a cluster, you must set up connections to the cluster
and create a target group that includes the servers in the cluster in the same way.
Before deploying Trading Networks assets to Trading Networks running on
clustered Integration Servers, make sure the tn.cluster.sync.remoteAliases property
is set for each Trading Networks server in the cluster. For instructions, see
webMethods Trading Networks Administrator’s Guide.
To deploy process models to Process Engines running on clustered Integration
Servers, you must configure each Integration Server hosting a process model in a
cluster to use the same alias name and port number as the remote alias defined for
the cluster.
Note: All remote servers should have the same port number as the remote alias
of the primary port of the cluster.
Integration Server or Go to Target Groups > IS & TN and click Create IS & TN
Trading Networks Target Groups.
2. In the Name box, type the name to use for the target group. The name can be up to 32
characters long and cannot contain spaces or the following illegal characters:
$~/\#&@^!%*:;,+=><‘’"
3. In the Description box, type a description for the target group. The description length
has no limit and can include any characters.
4. In the Version box, enter the version of the target group.
5. Click Create.
6. In the left-hand pane, click the name of the target group from the Group Name
column.
7. On the Configure Target Group pane, set Roll Back All on Failure to Yes.
Note: Roll Back All on Failure is valid for runtime-based deployment only.
Deployer ignores this seing for repository-based deployment.
8. The Available Servers list shows the cluster name as a top-level node in the tree, and
then all the servers in that cluster as child nodes under the cluster name. Select the
cluster name node, and then click Add. The entire cluster tree moves to the Selected
Servers list. Click Save.
Note: If you select individual nodes of the cluster and not the entire cluster,
when you deploy, the nodes in the cluster will no longer be identical.
Tasks will not run equally well on all servers in the cluster, which could
cause errors and failures.
Defined as a remote The child node for that server shows the remote
server alias server alias, and you can select it.
Not defined as a remote The child node shows the server host and port, but
server you cannot select it.
Not running That server does not appear in the list at all. Ensure
that every server in the cluster is defined as a remote
server and is up and running. For instructions
on defining remote servers, see "Connecting to
Integration Servers and Trading Networks Servers"
on page 56 and webMethods Integration Server
Administrator’s Guide.
9. You can add other clusters or individual servers to the target group.
10. Map the project to the target group.
11. Checkpoint, deploy, and, if necessary, roll back the project as you would in an
unclustered environment.
D Deployable Assets
■ AgileApps Assets ....................................................................................................................... 264
■ Application Platform Assets ....................................................................................................... 265
■ BPM Process Development Assets ........................................................................................... 267
■ Broker Assets ............................................................................................................................. 268
■ Business Rules Assets .............................................................................................................. 269
■ EDA Assets ................................................................................................................................ 270
■ Event Server Assets .................................................................................................................. 271
■ Integration Server Assets ........................................................................................................... 272
■ Mobile Support Assets ............................................................................................................... 323
■ My webMethods Server Assets ................................................................................................. 324
■ Optimize Assets ......................................................................................................................... 329
■ Trading Networks Assets ........................................................................................................... 330
■ Universal Messaging Assets ...................................................................................................... 333
■ Other Assets .............................................................................................................................. 336
AgileApps Assets
This section identifies the AgileApps assets that you can export as a package from
AgileApps, and deploy using Deployer. The assets that AgileApps supports for
exporting belong to the following asset types:
Application
Class
Mapping Profile
Object
Package Data Item
Page
Report
Resource
Site
Team
Team Data Sharing
Translation Workbench
Web Tab
Package
Web and REST Services
Assets of the following asset types can be exported only as dependent assets of the
above asset types. They cannot be exported as standalone asset types:
Widgets Page
Document
Function
Component
Class
Sidebar
Role
Mapping Profile
Business Hours Calendar
Note: When an AgileApps asset has a dependency on other assets, exporting that
asset will also export the corresponding dependent assets. For example, when
you export an Application asset, the dependent assets like Tasks, Agent, and so
on are also exported.
Broker Assets
Using Deployer, you can deploy your Broker assets and JNDI assets to another Broker,
and share the assets that you created in Broker with other applications.
webMethods Broker enables you to export the following assets to Deployer:
Broker assets such as clients, client groups, and document types.
JNDI assets such as JMS queues and JMS topics created by webMethods JNDI
providers.
Some Broker assets have dependencies on other Broker components. When you export
assets that have dependencies on other assets, the corresponding dependent assets
are also exported. For example, when you export a client group, the document types
belonging to that client group are also exported.
The following table lists:
The assets that you can export
The asset type ID for each asset
Asset dependencies
Note: You can deploy business rules assets in repository-based deployment only.
com.softwareag.rules.merge.project
When you deploy on My webMethods
Server, merge the rule project with the
existing rule project that has the same
name in the repository. Valid values are
true and false. By default, the value is
false
EDA Assets
This section identifies the assets that you can deploy to EDA deployment endpoints
using Deployer.
Note: You can deploy Event Server assets in repository-based deployment only. You
cannot deploy Event Server assets in runtime-based deployment.
The following table lists the dependencies and properties that you can substitute when
using Deployer to deploy assets to an Event Server.
Property Description
The assets Integration Server supports for exporting belong to the following asset group
types.
Integration Server administrative assets such as ACLs, extended seings, groups,
JMS alias, JNDI aliases, ports, scheduled tasks and users.
Note: Integration Server does not generate any assets for the Native Users, ACLs,
or Groups. This includes the following:
Native Users. Administrator, Default, Replicator, and Developer.
Native Groups. Everybody, Administrators, Anonymous, Developers,
and Replicators.
Native ACLs. Administrators, Anonymous, Replicators, Developers,
Default, and Internal.
In this example, you would define SRC_ROOT as the value of the build.source.dir
property in the build.properties file. For more information about the build.properties
file, see "Seing Build Properties" on page 32.
When run, the build script creates the following:
A composite named package_name .zip for each package included in the source
directory, where package_name is the name of the package (with a composite type
ID of ispackage). For this example, the files would be named packageA.zip and
packageB.zip.
A composite named isconfiguration.zip (with a composite type ID of isconfiguration)
that contains the administrative assets contained in the config directory.
For more information about building composites for repository-based deployment, see
"Building Composites for Repository-Based Deployment" on page 29.
The following table lists the files and directories that you must manually copy or check
in to the source directory in order to build Integration Server administrative assets for
deployment.
Client The Asset Build Environment extracts this asset from the
certificate database.
If you are using the embedded database, the
Asset Build Environment must have access to
Integration Server_directory\instances\instance_name \db
\embedded directory.
If you are using an external database, the Asset Build
Environment requires access to the JDBC configuration files.
IS Packages For all the assets contained in the IS package ACDL file,
you must check in the Integration Server_directory\instances
\instance_name \packages\package_name directory (where
package_name is the package for which the ACDL is required) to
the source directory.
The following files are required to retain ACL information for the
different assets in a package:
Integration Server_directory\instances\instance_name \config
\acls.cnf
Integration Server_directory\instances\instance_name \config
\aclmap_sm.cnf
Integration Server_directory\instances\instance_name \config
\acllist.cnf
Integration Server_directory\instances\instance_name \config
\aclread.cnf
For more information about these assets, see " Mobile Support
Assets" on page 323.
Note: The Asset Build Environment does not extract this file
if wa.net.proxySkipList is set to localhost. For more
information about wa.net.proxySkipList, see webMethods
Integration Server Administrator’s Guide.
Scheduled The Asset Build Environment extracts this asset from a database,
tasks and requires either of the following:
If you are using the embedded database, the
Asset Build Environment must have access to
Integration Server_directory\instances\instance_name \db
\embedded directory.
If you are using an external database, the Asset Build
Environment requires access to the JDBC configuration files.
ACLs
The following table lists the asset type ID and substitution values for ACL assets.
Substitution Values
None.
Broker Settings
The following table lists the asset type ID and substitution values for Broker seings
assets.
Substitution Values
Broker Configuration Settings:
Broker Name Name of the Broker to which the Integration Server connects.
brokerName
Client Prefix A string that identifies the Integration Server to the Broker.
CLIENTPREFIX
Keystore The full path to the keystore file for the target Integration Server.
certFile
Use Source Specifies whether the target Integration Server uses the keystore
Keystore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
BrokerKeystore keystore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different keystore file than the source Integration Server.
Encryption Settings:
Use Source Specifies whether the target Integration Server uses the truststore
Truststore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Broker truststore file from the source Integration Server. This is the
Truststore default.
False indicates that the target Integration Server will use a
different truststore file than the source Integration Server.
Cache Manager
Substitution Values
Note:
If a cache manager with the same
name exists in both the source
and target servers and if the
cache manager name is modified
while deploying to the target
server, the target server will
contain both the cache managers,
one with the old name as well
as the one with the name used
while deploying.
Note:
You must specify the Terracoa
Server Array URLs only if you
have distributed caches in the
cache manager.
Certificate Settings
Substitution Values
None.
Client Certificates
Substitution Values
Certificate The name of the file containing the certificate that you want to
Path import. You may specify the file name using an absolute path or
using a path that is relative to Integration Server_directory. The file
must contain an X.509 certificate in DER file format.
certificate
Path
Substitution Values
Excluded User A list of user agents for which Integration Server is not to apply
Agents CSRF guard. If CSRF guard is enabled, Integration Server
requires that HTTP requests coming from user agents that are
excludedUser
not specified as excluded must contain CSRF secure tokens.
Agents
Landing Pages A list of landing pages for the packages in your Integration
Server. A landing page is the home page for a package.
landingPages
Integration Server does not check for CSRF secure tokens in
the landing pages, but inserts a token for that page. Integration
Server guards all further requests from these landing pages with
CSRF secure tokens.
Unprotected The URLs for which Integration Server is not to check for CSRF
URLs secure tokens. If CSRF guard is enabled, Integration Server
requires that the requests coming from all URLs that are not
unprotected
specified as unprotected must contain CSRF secure tokens.
URLs
Denial Action Action that you want Integration Server to perform when it
detects that a request does not contain a CSRF secure token or
denialAction
contains an invalid CSRF secure token.
Error specifies that you want Integration Server to throw an
access denied error and terminate the request. This is the
default.
Redirect specifies that Integration Server is to redirect the user
to a confirmation page or the home page of Integration Server
Administrator.
Substitution Values
User Name Integration Server user ID to run the flow service that executes
when a request violates an Enterprise Gateway rule. This is the
userName
global value associated with the default alert option. Enterprise
Gateway Server uses this seing when a rule does not specify a
custom alert seing.
User Name Integration Server user ID to run the flow service that executes
when a request violates an Enterprise Gateway rule. This value is
rule_name _user
part of the custom alert options defined for an individual rule.
Name
Extended Settings
Substitution Values
Server configuration parameters that are set as visible. Allows users to specify
values for wa properties that are set as visible in the source Integration Server.
Substitution Values
Global Variables
Substitution Values
Groups
Substitution Values
None.
Substitution Values
None.
Substitution Values
Substitution Values
None.
Substitution Values
General Settings:
Client Group Name of the client group that you want the target Integration
Server to use when it acts as a JMS client.
nwm_client
Group
Broker List Comma delimited list of Broker Servers on which the connection
between the target Integration Server (acting as the JMS client)
nwm_brokerList
and the webMethods Broker (acting as a JMS provider) can exist.
Keystore The full path to the target Integration Server’s keystore file.
nwm_keystore
JNDI Alias
Substitution Values
Provider URL The primary URL of the initial context for sessions with the JNDI
provider. The URL specifies the JNDI directory in which the
providerURL
JNDI provider stores JMS administered objects.
Provider URL A list of URLs to which the target Integration Server can
Failover List connect if the connection to the primary JNDI provider becomes
unavailable. Separate the URLs with an ampersand, new line,
providerURL
carriage return, or horizontal tab.
FailoverList
Kerberos Settings
Substitution Values
Keystore Alias
Substitution Values
Location The full path to the keystore file for the target Integration Server.
ksLocation
Password Password associated with this alias that is used to protect the
contents of the keystore.
ksPassword
Key Alias Password for each key alias residing in the keystore.
Password
keyAlias.
keyAliasName
Use Source Specifies whether the target Integration Server uses the keystore
Keystore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Keystore keystore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different keystore file than the source Integration Server.
LDAP Configuration
Substitution Values
Directory URL The complete URL of the LDAP server. The URL has the format
protocol:\\hostname:portnumber\DistinguishedName , where:
directoryURL
protocol is ldap for standard connections or ldaps for secure
connections
Metadata
Note: Deployer extracts the metadata asset from the WmAssetPublisher package.
Make sure this package resides in the source folder before extracting the asset.
Substitution Values
User Name The name of the user account on CentraSite that will be used for
publishing and retracting metadata.
centraSiteUser
name
Enhanced Parser
Substitution Values
Use Cache Indicates if caching used with the enhanced XML parser.
useCache True indicates that during parsing of an XML document,
Integration Server moves partitions to an off-heap area on disk
when the on-heap partition space becomes full and retrieves the
partitions as needed during processing.
False indicates that Integration Server does not cache partitions
when parsing an XML document.
Maximum Maximum amount of heap space that the parser can allocate
Heap Bytes to process documents concurrently. Specify a suffix of “k” to
indicate kilobytes, “m” to indicate megabytes, “g” to indicate
maximumHeap
gigabytes, and “%” to indicate a percentage of the heap space.
Bytes
For example, 10k, 10m, 10g, or 10%.
Maximum Maximum amount of heap space that the parser can allocate to
Document process a single document. Specify a suffix of “k” to indicate
Bytes kilobytes, “m” to indicate megabytes, “g” to indicate gigabytes,
and “%” to indicate a percentage of the heap space. For example,
maximumDoc
10k, 10m, 10g, or 10%.
Bytes
Ports
Substitution Values
General values for all ports (email, file polling, FTP, FTPS, HTTP, HTTPS, and quiesce):
Note: Deployer extracts the Ports asset from the package in which the port is
configured. Make sure this package resides in the source folder before
extracting the asset.
Package Name The package name you want to associate with the port on the
target servers.
pkg
If the port is used as the quiesce port, the port alias should be
associated with either the WmRoot or WmPublic package.
Enable Specifies whether the port on the target servers are enabled or
(enable disabled after deployment.
True enables the port on the target servers after deployment.
False indicates that you do not want the port enabled on the
target servers after deployment.
None indicates that you want to use the global value specified
by the deployment options on the Deployment Map Properties >
Configure Builds by Assets screen and by the Enable Ports After
Deployment value in the project map file.
Hosts A comma delimited list that specifies the hosts allowed or not
allowed to connect to the target servers through this port.
hostList
Note: If the Access Mode is Global, the host list is ignored. If the
Access Mode is Allow, the host list represents the hosts that
are denied access to the port. If the Access Mode is Deny, the
host list represents the hosts that are allowed access to the
port.
IP access type Specify the access type of host that is allowed to connect to the
target servers through this port.
hostAccessMode
Allow indicates that you want Integration Server to allow access
by default and to deny the hosts specified in the hosts list.
Deny indicates that you want Integration Server to deny access
by default and allow only hosts specified in the host list.
Global indicates that you want to use the global access seings
specified on Integration Server.
For detailed information about IP access types and controlling IP
access, see webMethods Integration Server Administrator’s Guide.
Email port:
Host Name The name of the machine on which the POP3 or IMAP server
runs.
host
Port (Optional.) The port on the e-mail server to which the target
servers can connect.
server_port
User Name A user name that identifies the target servers to the e-mail server.
user
Password The password associated with the user name that identifies the
target servers to the e-mail server.
password
Run services The user name you want the target servers to use when running
as user the service.
runUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Monitor The directory on the target servers that you want to monitor for
Directory files.
monitorDir
Completion (Optional.) The directory on the target servers to which you want
Directory files moved when processing is completed in the Monitoring
Directory or Working Directory.
completionDir
Error Directory The directory on the target servers to which you want files
moved when processing fails.
errorDir
Run Services The user name you want the target servers to use when running
as User the service.
runUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Directories are For use on a UNIX system where the monitoring directory,
NFS mounted working directory, completion directory, and/or error directory
file system are network drives mounted on the local file system.
NFSDirectories No indicates that you want the listener to call the Java
File.renameTo() method and move the files from the
monitoring directory to the working directory, and from the
working directory to the completion and/or error directory.
This is the default.
Yes indicates that you want the listener to first call the
Java File.renameTo() method to move the files from the
monitoring directory. If this method fails, the listener will
copy the files from the monitoring directory to the working
directory and delete the files from the monitoring directory.
This operation will fail if either the copy action or the delete
action fails. The same behavior applies when moving files from
the working directory to the completion and/or error directory.
FTP port:
Port The port number you want to use for the FTP port on the target
servers. Select a number that is not already in use on the target
port
servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
FTPS port:
Port The port number you want to use for the FTPS port on the target
servers. Select a number that is not already in use on the target
port
servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
Secure Clients Specify whether you want to prevent the FTPS listener from
Only operating with non-secure clients.
secureclients True prevents the FTPS listener from operating with non-secure
clients.
False allows the FTPS listener to operate with non-secure
clients.
Port The port number you want to use for the HTTP port or HTTPS
port on the target servers. Select a number that is not already in
port
use on the target servers.
Bind address (Optional.) IP address to which to bind this port. Specify the
substitute bind address if the target servers have multiple IP
bindAddress
addresses and you want the port to use this specific address.
Quiesce port:
Quiesce Port The Integration Server port to use as the quiesce port on the
target servers.
quiesceport
Note: Ensure that the port alias is associated with either the
WmRoot or the WmPublic package and is of type HTTP or
HTTPS.
Substitution Values
Port Number The port on which this proxy server listens for requests.
port
User Name The user name Integration Server must use when accessing this
proxy server.
username
Password The password Integration Server must use to access this proxy
server.
password
Substitution Values
Addresses The fully qualified host and domain name of each server to
which you want the Integration Server to issue requests directly.
addresses
Type the host name and the domain name exactly as they appear
in the URLs the server uses. To enter multiple names, separate
each with commas.You can use the asterisk (*) to identify several
servers with similar names. The asterisk matches any number of
characters. For example, if you want to bypass requests made to
Substitution Values
Inactivity The length of time for which a reliable messaging source waits
Timeout for an acknowledgement from a reliable messaging destination
before the source stops retransmiing the SOAP message.
inactivity
Timeout
Inactivity The unit of measure for the inactivity Timeout property. You
Timeout can specify the unit of measurement as seconds, minutes, hours,
Interval or days. The default is 60 seconds.
inactivity
TimeoutMeasure
Sequence The length of time for which a reliable messaging source waits
Removal for an acknowledgement from a reliable messaging destination
Timeout before it terminates the sequence and removes the sequence
from the memory.
sequenceRemoval
Timeout
Note: Deployer does not export remote server aliases that use the alias name “local”.
Substitution Values
Host Name The host name or IP address of the remote server represented by
the alias.
host
Retry Server Host name or IP address of the remote server you want the target
Integration Server to connect to if the primary remote server is
retryServer
unavailable.
Port The port number that is used by the remote server specified by
the alias.
server_port
User Name User name the target server will use to access and invoke
services on the remote server.
user
Substitution Values
None.
Scheduled Tasks
Substitution Values
Run as User User name the target servers will use when running the service.
runAsUser The target servers run the service as if the user you specify is
the authenticated user that invoked the service. If the service is
governed by an ACL, be sure to specify a user that is allowed to
invoke the service.
Cluster Target Specifies whether you want the task to run on other target
Node servers in the cluster.
Target Any server indicates that you want the task to run on only one
server in the cluster, and it does not maer which one.
All servers indicates that you want the task to run on all servers
in the cluster.
Enter a specific server name in the cluster if the task needs to
run on only a specific server.
Suspend Specifies whether you want to suspend the existing task during
During deployment.
Deployment
True indicates that you want to suspend the task during
suspendDuring deployment.
Deploy
False indicates that you want the task to run as scheduled
during deployment.
None indicates that you want to use the global value specified
on the Deployment Map Properties > Configure Builds by Assets
screen and by the Suspend tasks during deployment value in the
project map file. The default value is None.
Activate after Specifies whether you want to activate the existing task after
deployment deployment.
activateAfter True indicates that you want the task to activate after
Deploy deployment.
False indicates that you want the task to suspend after
deployment.
None indicates that you want to use the global value specified
on the Deployment Map Properties > Configure Builds by Assets
screen and by the Activate tasks after deployment value in the
project map file.
The default value is True if the scheduled task is active (not
suspended) on the source server. The default is False if the
scheduled task is suspended on the source server.
Substitution Values
Port Number Port number of the SFTP server. The port number must be within
the range of 0 and 65535 (inclusive).
port
Preferred Key The algorithms that Integration Server presents to the SFTP
Exchange server for key exchange.
Algorithms
Preferred
Key
Exchange
Algorithms
Host Key Location of the public key file of the SFTP server. Integration
Location Server populates this field with the host key file of the source
Integration Server. You can change the value of this field to
hostKey
specify a different host key file for deployment.
Location
Note: The public key file must be present on the same machine in
which you have installed Integration Server.
Substitution Values
Password Password for the specified user to connect to the SFTP server if
you are using password authentication.
password
PassPhrase Passphrase for the private key file of the specified user if you
are using public key authentication and if the private key you
passPhrase
specified requires a passphrase.
Private Key The location of the private key file of the specified SFTP user
Location if you are using public key authentication. Integration Server
populates this field with the private key file of the source
privateKeyFile
Integration Server. You can change the value of this field to
Location
specify a different private key file for deployment.
Note: You can use compression only if the SFTP server that you
are connecting to supports compression.
SFTP Server The alias of the SFTP server to which you want the user specified
Alias using the User Name property to connect.
sftpServer
Alias
Truststore Alias
Substitution Values
Password Password associated with this alias that is used to protect the
contents of the truststore.
ksPassword
Use Source Specifies whether the target Integration Server uses the truststore
Truststore file from the source Integration Server.
useSource True indicates that the target Integration Server uses the
Truststore truststore file from the source Integration Server. This is the
default.
False indicates that the target Integration Server will use a
different truststore file than the source Integration Server.
Users
Substitution Values
None.
Substitution Values
Substitution Values
None.
Substitution Values
User Name The user name the on-premise Integration Server must use to
access Integration Cloud.
user
Substitution Values
Transport Properties:
Host Name Host name or IP address of the server on which the web service
resides. (Provider and consumer web service endpoint alias
host
only.)
Port Number Active HTTP or HTTPS type listener port defined on the host
server or proxy server. (Provider and consumer web service
port
endpoint alias only.)
User Name User name used to authenticate the consumer at the HTTP
or HTTPS transport level on the host server. (Consumer and
transportUser
message addressing web service endpoint alias only.)
Message Properties:
User Name The user name to include with the UsernameToken. (Consumer
web service endpoint alias only.)
messageUser
Partner's Path and file name of the file containing the provider's certificate.
Certificate (Consumer and message addressing web service endpoint alias
only)
partner
Certificate
FileName
Use Source Specifies whether the target Integration Server uses the partner
Partner's certificate file from the source.
Certificate
True indicates that the target server uses the partner certificate
useSource file from the source. During deployment, Deployer copies the
Partner partner’s certificate from the source machine to the location on
Certificate the destination machine specified in Partner’s Certificate. This is
the default value.
False indicates that the target server will use a different partner
certificate file than the source the source partner.
Kerberos Credentials:
JAAS Context The custom JAAS context used for Kerberos authentication.
jaasContext
Service The service that the Kerberos client wants to access. This can be
Principal Name obtained from the WSDL document published by the provider of
Kerberos service.
service
Principal
Service The format in which you want to specify the principal name of
Principal Name the service that is registered with the principal database, namely,
Form host-based or username.
service
PrincipalForm
Note: The reliable messaging properties apply only to consumer and provider
web service endpoint aliases of transport type HTTP and HTTPS.
Substitution Values
None.
Asset Dependencies
Client User
certificate
Note: Default users (for example, Administrator) are not listed as
dependencies.
LDAP Group
configuration
Note: Default groups are not listed as dependencies.
Asset Dependencies
Web service Keystore alias, truststore alias, JMS trigger name (provider
endpoint JMS), proxy alias (consumer HTTP and HTTPS), keystore alias
alias (consumer HTTPS), JNDI alias (consumer JMS), JMS alias
(consumer JMS), web service endpoint alias (provider HTTP,
HTTPS, and JMS)
Or:
Note: In order to retain ACL information for the package assets, you must add
ACL configuration files to the config folder.
In the example, you would define SRC_ROOT as the value of the build.source.dir
property in the build.properties file. For more information about the build.properties
file, see "Seing Build Properties" on page 32.
When run, the build script creates the following:
A composite named package_name .zip for each package included in the source
directory, where package_name is the name of the package (with a composite type
ID of ispackage). For this example, the files would be named packageA.zip and
packageB.zip.
A composite named isconfiguration.zip (with a composite type ID of
isconfiguration) that contains the administrative assets contained in the config
directory.
Build package composites separate from other administrative assets. If your source
directory contains several packages and you want to generate composites from only
a select number of those packages, you can use the build.source.project.dir property
to specify only those packages you want to include. For example, in the following
source directory there are three packages: packageA, packageB, and packageC:
You can generate a composite that contains only packageA and packageB by seing
the value of the build.source.project.dir property to:
SRC_ROOT/packageA;SRC_ROOT/packageB
In this example, since the config directory is not located in SRC_ROOT, you must
specify the location of config directory in the is.acdl.config.dir property of the
build.properties file.
When run, the build script creates a composite named package_name .zip for each
package defined for build.source.project.dir, where package_name is the name of the
package (with a composite type ID of ispackage).
Using the example, build.source.project.dir is set to “SRC_ROOT/
packageA;SRC_ROOT/packageB”. When the build script runs, it will generate
composites for packageA and packageB. Since packageC is not defined for
build.source.project.dir, the build script ignores it. Since the packages are named
“packageA” and “packageB” in the source directory, the build script names the
composites packageA.zip and packageB.zip.
For more information about seing properties in the build.properties file, see
"Seing Build Properties" on page 32. For more information about building
Value Description
Activate Specifies whether you want the Integration Server to activate the
Package on package immediately upon installation.
Install
True indicates that you want the server to activate the package
(activatePkgOn after it is installed.
Install)
False indicates that you do not want the server to activate the
package after it is installed.
The default value is True.
Value Description
Value Description
URL aliases isurlalias The URL Alias asset refers to the URL
aliases created for the server or a package.
The URL Alias asset does not refer to the
URL aliases created for services in Designer
or Developer. URL aliases for services are
deployed along with the service when a
package is deployed.
The URL aliases for a server are deployed to
the WmRoot package.
Adding Adapter Runtime and .NET Service Assets to the Source Directory
To include adapter runtime and .NET service assets in the composite for deployment,
you must manually copy or check in the Integration Server_directory\instances
\instance_name \packages folder to the source directory.
The build script creates a composite named package_name .zip, where package_name is
the name of the package. For example, if the package name is “adapter_service”, the
composite name is adapter_service.zip. For more information about building composites
for repository-based deployment, see "Building Composites for Repository-Based
Deployment" on page 29.
Immediate (notificationImmediate).
Whether to enable or disable polling
immediately.
True enables polling immediately.
False disables polling immediately.
Asset Dependency
Adapter None
Connections
Asset Dependency
.NET Asset
The following table lists the .NET asset that you export and deploy using Integration
Server and its values:
Note: The .NET service asset is not a dependent asset. However, ensure that the
values in the Assembly Path and Assembly Name fields that you provide for the
target Integration Server during variable substitution are valid.
Assembly Name
(assemblyName). The name
of the .NET assembly in
which the method called by
the .NET services resides.
These assets are deployed as assets within the isconfiguration composite when the
WmMobileSupport package is installed. The following table lists the dependencies for
these assets.
These assets should be deployed together. For details about adding these assets to the
source directory, see "Adding Administrative Assets to the Source Directory" on page
273.
Optimize Assets
webMethods Optimize enables you to export assets such as dimensions, event
maps, dimension hierarchies, data filters, process configurations, intelligent links, or
rules to Deployer. Using Deployer, you can deploy your Optimize assets to another
Optimize Analytic Engine and share the assets that you created in Optimize with other
applications.
This section lists the following:
Asset types that Optimize supports for exporting
Asset dependencies
Trading Networks logs the deployment activities as activity logs in My webMethods for
easy tracking and monitoring of deployment activities.
XA XAConnectionFactory
Connection
Factories
Other Assets
The following table describes additional user-created assets that you can include in
deployment projects. It includes:
Assets you can deploy
Asset dependencies