Configuring and Managing Advanced Registration Flows

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Monitoring and Managing Events

This section contains information on the following subjects:

 


Overview

This document discusses how to use the administrative tools that are shipped as part of ALER3.0. The Advanced Registration Flow administrative tools are used to

The administrative tools are installed under the following directory:

<BEA Home>/repository30/core/workflow-tools

Figure 7-1 Location of Workflow Tools

Location of Workflow Tools

 


Monitoring Events

The Event Manager has a tool for monitoring the events that are generated by the Event Manager. The tool peeks into the event traffic and prints information, such as the Event Body and Event Properties, as shown in this section.

Prerequisites

The following prerequisites apply before starting the monitoring tool:

For more information, see Configuring Connectivity Properties for External JMS Servers.

Usage

From a command prompt, run the Event Monitoring tool as follows:

> event_monitor.bat <Path of WEB-INF\classes>

For example, if ALER is deployed to a domain named alerdomain under: D:\bea816\user_projects\domains\alerdomain

Then the <Path of WEB-INF\classes> is: D:\bea816\user_projects\domains\alerdomain\applications\aler\aler-app\WEB-INF\classes

This path is needed to get the JMS configuration from the eventing.properties file so that the tool can connect to the JMS server.

Figure 7-2 Event Monitor Console

Event Monitor Console

 


Cleaning Up Stored Events

Sometimes it may be required to remove all the events that are stored by the Event Engine and also unsubscribe the durable subscription. The Event Cleanup tool can be used for this purpose.

Prerequisites

The following prerequisites apply before starting this tool:

Usage

From a command prompt, run the Event Cleanup tool as follows:

 > event_clean.bat <Path of WEB-INF\classes> <Name of Durable Subscriber> <Message Selector> 

For example, if ALER is deployed to a domain named alerdomain under: D:\bea816\user_projects\domains\alerdomain

Then the <Path of WEB-INF\classes> is: D:\bea816\user_projects\domains\alerdomain\applications\aler\aler-app\WEB-INF\classes

This path is needed to get the JMS configuration from eventing.properties so that the tool can connect to the JMS Server.

The <Name of Durable Subscriber> can be found in the name attribute inside the endpoint that requires event cleanup within the EndPointEventSubscription.xml as follows:

  <sub:eventSubscription>
<!--The name should be unique within this file since
<sub:endPoint name="ALBPMEndpoint">

The <Message Selector> can be found in the expression attribute inside the endpoint that requires cleanup within the EndPointEventSubscription.xml

Note: The parameter can be omitted if the Message selector is not set or empty.

Sample Event Cleanup

Using the example above, navigate to the workflow-tools directory:

  > cd D:\bea816\repository30\core\workflow-tools>

From the command prompt, type:

  > event_clean.bat D:\aler\alerbuild2\aler-app\WEB-INF\classes ALBPMEndpoint

The following is the output printed by the Event Cleanup tool to the console.

Figure 7-3 Event Cleanup Console

Event Cleanup Console

 


Generating the Workflow Config File

The Generate Workflow Config tool is used to generate the Workflow Configuration file (workflow.xml) by connecting to ALER. The tool populates the workflow.xml with configuration for asset types, categorizations, etc. by reading these entities from ALER. The Workflow Config file can then be customized as per your requirements. For example, you may need to configure and customize flows to add new asset types, projects, categorizations, etc.

For more information about configuring Advanced Registration Flows, see Configuring Advanced Registration Flows.

From a command prompt, run the Generate Workflow Config tool as follows:

> config_gen.bat URI User Password ConfigDir

where:

URI = ALER URI (for example: http://localhost:7001/alerbuild/services/FlashlineRegistry)
User = ALER user name
Password = ALER password
ConfigDir = the directory where the Config XML file will be created. If the file exists, it will be renamed to workflow.xml.bak.

Figure 7-4 Generate Workflow Configuration Tool

Generate Workflow Configuration Tool

The workflow.xml file needs to be generated to the following directory:

<ALER Enterprise Edition Path>/server/<ALER Workflows Project>/workflow.xml

 


Refreshing the Workflow Config File

The Refresh Workflow Config XML tool lets you to refresh a Workflow Config file without restarting the ALBPM Engine. For example, if the Workflow Config XML file is updated during development, running this tool allows the ALBPM Engine to use the updated version without restarting the engine.

Note: The ALBPM Engine must be running when running this tool.

From a command prompt, run the Refresh Workflow Configuration tool as follows:

> refresh_workflows.bat URI User Password

where:

URI = ALBPM URI (for example, http://localhost:9000/fuegoServices/ws/RefreshConfigServiceListener)
User = ALBPM user name (for example, aler_workflow_user)
Password = ALBPM password (for example, aler_workflow_user)

Note: aler_workflow_user is created by the BEA Products Installer and is the default user that can be used with this tool.
Figure 7-5 Refresh Workflow Configuration Tool

Refresh Workflow Configuration Tool

 


Encrypting Your Passwords

For enhanced security, the Security Encrypt Password tool (runWfSecurity.bat) allows you to encrypt passwords that are stored in the Workflow Configuration and Subscription Service files.

From a command prompt, run the Security Encrypt Password tool as follows:

> runWfSecurity.bat srcFileName destFileName

where:

srcFileName = source config file with clear password.

destFileName = destination config file with decrypted password.

Figure 7-6 Security Encrypt Password Tool

Security Encrypt Password Tool


  Back to Top       Previous  Next