|
この節では、Oracle Business Process Management Process Engine で機能するようにコンフィグレーションされているバンドル済みの Oracle Business Process Management Web サービス エンドポイントを使用して Advanced Registration Flow 機能をすぐに利用する場合に役立ちます。ただし、この機能は拡張性が高く、環境に合わせて調整できます。
Event Manager は、Oracle Enterprise Repository に組み込まれたコンポーネントであり、イベント サブスクリプション、イベントの永続性、イベントのフィルタ処理、およびイベントの配信を管理します。Web サービス エンドポイントでは、Event Manager の Subscription Manager をサブスクライブできます。Oracle Enterprise Repository 内で生成されるイベントは、Web サービス エンドポイントに配信されます。

Event Manager では、デフォルトで有効な組み込みバージョンの Apache ActiveMQ JMS サーバを使用します。組み込みの JMS サーバは、追加のコンフィグレーションを行わずにすぐに実行できるようにコンフィグレーションされています。ただし、Weblogic Server JMS や IBM MQSeries などの外部の Java ベースのメッセージ ブローカを使用するように Event Manager をコンフィグレーションすることもできます。
Event Manager のコンフィグレーションの詳細については、「Oracle Enterprise Repository Event Manager のコンフィグレーション」を参照してください。
Oracle Enterprise Repository をインストールしたら、次の手順で Event Manager をコンフィグレーションします。
<OER ドメイン>\WEB-INF\classes ディレクトリにある eventing.properties ファイルの cmee.eventframework.enabled=true プロパティを有効にします。 cmee.eventframework.delivery.sleep と cmee.eventframework.store.sleep のデフォルト値を調整して、Oracle Enterprise Repository と Web サービス エンドポイントの全体的なパフォーマンスを制御することもできます。この 2 つのプロパティは、Event Manager で 1 秒あたりにトリガされるイベント数に直接影響します。たとえば、テスト目的で迅速な応答が必要な場合は、cmee.eventframework.store.sleep のデフォルト値 7200 秒を、テストに適した値に変更する必要があります。<OER ドメイン>\WEB-INF\classes ディレクトリにある log4fl.properties ファイルに以下のカテゴリを追加してデバッグ文を作成する必要があります。 # eventing subsystem
log4j.category.com.bea.infra.event.core= debug,eventingLog,stdout
log4j.category.com.bea.infra.event.dm= debug,eventingLog,stdout
log4j.category.com.bea.infra.event.facade= debug,eventingLog,stdout
log4j.category.com.bea.infra.event.notifier= debug,eventingLog,stdout
log4j.category.com.bea.infra.event.store= debug,eventingLog,stdout
log4j.category.com.bea.infra.event.sub= debug,eventingLog,stdout
| 注意 : | デフォルトでは、Oracle Business Process Management Process Engine が Oracle Enterprise Repository と同じマシンで実行されている場合に、その Process Engine で Subscription Manager をすぐに使用できるようにコンフィグレーションされています。デフォルト設定が実行されている場合は、この手順を省略できます。 |
要件によっては、<OER ドメイン>\WEB-INF\classes ディレクトリにある EndPointEventSubscription.xml ファイルで、次の情報を変更する必要がある場合があります。
<OER Web アプリケーション パス>/WEB-INF/lib にある eventNotifier.jar 内の WSDL を参照してください。
Event Manager のコンフィグレーション後にイベントがトリガされるようにするには、次の手順に従います。
Oracle Enterprise Repository Asset Editor を使用する方法については、『Oracle Enterprise Repository Registrar Guide』を参照してください。
| 注意 : | アセットの種類は [Service] にしてください。 |
Oracle Enterprise Repository のインストール時には、Oracle Business Process Management のインストールとコンフィグレーションを求められます。この節では、Oracle Business Process Management が正常にインストールされていることを前提としています。
イベントを送信するように Event Manager を設定したら、Oracle Business Process Management Process Engine をコンフィグレーションしてイベントを処理できるようにする必要があります。Oracle Enterprise Repository をインストールすると、Process Engine をインストールしてコンフィグレーションするためのオプションを使用できます。この節では、以下で説明する手順を実行する前に Process Engine が正常にインストールされていることを前提としています。
Oracle Business Process Management Admin Center を起動するには、<OBPM Enterprise ホーム>\bin ディレクトリにある albpmadmcenter ファイルをダブルクリックします。
Oracle Enterprise Repository には、Process Engine にデプロイされる、バンドル済みの Advanced Registration Flow が用意されています。Oracle Enterprise Repository 内でトリガされたイベントは、Process Engine に配信され、Oracle Enterprise Repository プロセス (アセットの送信、受け入れ、登録、その他の管理プロセスなど) の自動化を試行する Advanced Registration Flow を実行します。
使用可能な Advanced Registration Flow の詳細については、「Advanced Registration Flow のコンフィグレーション」を参照してください。
Oracle Business Process Management Process Engine がインストールされたら、次の手順に従います。
config_gen.bat) を使用してワークフロー コンフィグレーション (workflow.xml) ファイルを生成します。このツールは、Oracle Enterprise Repository に接続し、カスタマイズ可能なブートストラップ ファイルを作成します。workflow.xml ファイルの生成の詳細については、「ワークフロー コンフィグレーション ファイルの生成」を参照してください。 workflow.xml ファイルを <OBPM Enterprise Edition>/enterprise/server/aler_engine ディレクトリにコピーします。workflow.xml ファイルを開きます。<alerconnection>
<uri>http://server01.amer.bea.com:7005/aler/services/FlashlineRegistry </uri>
<registrar>
<user>admin</user>
<password>admin</password>
</registrar>
</alerconnection>
URI は次の形式にする必要があります。http://<ホスト>:<ポート>/<OER Web アプリケーション名>/services/FlashlineRegistry
workflow.xml ファイル内で、次に示すように、アセットの種類が「Service」の assetType の設定を探します。<assetType name=”Service” community=”_CHANGE_COMMUNITY_” id=”154”>
<allTabs>
<allTabs>
<tab name=”Oveview”/>
<tab name=”UDDI: Business Entity”/>
<tab name=”Taxonomy”/>
<tab name=”Architecture”/>
</allTabs>
<assetType name=”Application” community=”_CHANGE_COMMUNITY_” id=”154” autoAccept=”true”>
<allTabs>
<allTabs>
<tab name=”Oveview”/>
<tab name=”UDDI: Business Entity”/>
<tab name=”Taxonomy”/>
<tab name=”Architecture”/>
</allTabs>
これで、種類が「Service」のアセットを自動的に受け入れるように Oracle Business Process Management Process Engine がコンフィグレーションされました。
workflow.xml に対する最新の変更をロードします。workflow.xml ファイルを更新できます。workflow.xml ファイルの更新の詳細については、「ワークフロー コンフィグレーション ファイルの更新」を参照してください。
Oracle Business Process Management Process Engine をコンフィグレーションして実行したら、次の手順に従ってアセット送信イベントを処理します。
Oracle Enterprise Repository Asset Editor を使用する方法については、『Oracle Enterprise Repository Registrar Guide』を参照してください。
| 注意 : | アセットの種類は [Service] にしてください。 |
<OBPM Enterprise ホーム>\bin ディレクトリにある albpmlogviewer ファイルをダブルクリックします。
|