7.5.7 CSCIWManagementServerの設定

CSCIWManagementServerは,ワークフローシステムの運用を支援する機能です。Web帳票アプリケーションを実行するには,CSCIWManagementServerの設定が必要です。CSCIWManagementServerの設定は,CSCIWManagementServerの属性ファイルを使用します。

なお,開発クライアントを構築する場合,この項の作業は不要です。

<この項の構成>
(1) セキュリティロールの設定
(2) CSCIWManagementServerのインポート
(3) CSCIWManagementServerの属性ファイルの取得
(4) CSCIWManagementServerの属性ファイルの編集
(5) CSCIWManagementServerの属性ファイルの反映
(6) CSCIWManagementServerの開始

(1) セキュリティロールの設定

CSCIWManagementServerで使用するセキュリティロールを設定します。セキュリティロールは,セキュリティロールの登録,ユーザの登録,セキュリティロールとユーザの関連づけという手順で設定します。

(2) CSCIWManagementServerのインポート

次のコマンド(cjimportapp)を実行して,CSCIWManagementServerをインポートします。

"%COSMINEXUS_HOME%¥CC¥admin¥bin¥cjimportapp" J2EE_SERV -f "%CSCIW_HOME%¥lib¥csciw.ear"

コマンドを実行すると,次の実行結果が表示され,CSCIWManagementServerのインポートが完了します。

KDJE37048-I Connecting to J2EE_SERV...
KDJE37050-I Importing CSCIWManagementServer...
KDJE37041-I Application has been imported successfully. Name=[CSCIWManagementServer]

(3) CSCIWManagementServerの属性ファイルの取得

CSCIWManagementServerの属性ファイルを「MyCSCIW_Attr.xml」という名前でカレントディレクトリに取得します。次のコマンド(cjgetappprop)を実行します。

"%COSMINEXUS_HOME%¥CC¥admin¥bin¥cjgetappprop" J2EE_SERV -name CSCIWManagementServer -type all -c MyCSCIW_Attr.xml

コマンドを実行すると,次の実行結果が表示され,CSCIWManagementServerの属性ファイルの取得が完了します。

KDJE37400-I Connecting to J2EE_SERV...
KDJE37401-I Searching CSCIWManagementServer...
KDJE37408-I Acquiring CSCIWManagementServer...
KDJE37505-I Application has been obtained successfully. (name = [CSCIWManagementServer])

(4) CSCIWManagementServerの属性ファイルの編集

取得したCSCIWManagementServerの属性ファイルを次のとおり編集します。

表7-12 CSCIWManagementServerの属性ファイルの設定値

設定項目設定値
開始順位0
セキュリティロール名csciwdef
リソース参照のリンク先DB_Connector_for_Manager
(リソースアダプタの表示名)

CSCIWManagementServerの属性ファイルの編集例については,「付録D.2 CSCIWManagementServerの属性ファイル」を参照してください。

(5) CSCIWManagementServerの属性ファイルの反映

次のコマンド(cjsetappprop)を実行して,編集したCSCIWManagementServerの属性ファイルの内容を反映します。

"%COSMINEXUS_HOME%¥CC¥admin¥bin¥cjsetappprop" J2EE_SERV -name CSCIWManagementServer -type all -c MyCSCIW_Attr.xml

コマンドを実行すると,次の実行結果が表示され,反映が完了します。

KDJE37400-I Connecting to J2EE_SERV...
KDJE37401-I Searching CSCIWManagementServer...
KDJE37409-I Setting CSCIWManagementServer...
KDJE37506-I Application has been set successfully. (name = [CSCIWManagementServer])

(6) CSCIWManagementServerの開始

次のコマンド(cjstartapp)を実行して,CSCIWManagementServerを開始します。

"%COSMINEXUS_HOME%¥CC¥admin¥bin¥cjstartapp" J2EE_SERV -name CSCIWManagementServer

コマンドを実行すると,次の実行結果が表示され,CSCIWManagementServerが開始されます。

KDJE37048-I Connecting to J2EE_SERV...
KDJE37049-I Searching CSCIWManagementServer...
KDJE37054-I Starting CSCIWManagementServer...
Creation of the configuration for the J2EE application "CSCIWManagementServer" is in progress.Verification of the EJBs is in progress.
Verification of the EJB "CSCIWDefinitionServer" is in progress.
Verification of the EJB "CSCIWAuthenticationManager" is in progress.
Verification of the EJB "IDStoreEJB" is in progress.
Loading of the EJB-JAR deployment descriptors in the J2EE application "CSCIWManagementServer" is in progress.
Generation of the IIOP stubs/classes for the J2EE application "CSCIWManagementServer" is in progress.
The deployment environment will now be set.
Deployment of the EJB "CSCIWDefinitionServer" is in progress.
Instantiating home for CSCIWDefinitionServer
Deployment of the EJB "CSCIWAuthenticationManager" is in progress.
Instantiating home for CSCIWAuthenticationManager
Deployment of the EJB "IDStoreEJB" is in progress.
Instantiating home for IDStoreEJB
Deployment of all the web components for the J2EE Application "CSCIWManagementServer" is in progress.
Exporting of the client files is in progress.
Starting CSCIWDefinitionServer
Binding Home interfaces for CSCIWDefinitionServer
Creating Environment Naming Context for CSCIWDefinitionServer
CSCIWDefinitionServer started
The home interface for CSCIWDefinitionServer will now be published.
Starting CSCIWAuthenticationManager
Binding Home interfaces for CSCIWAuthenticationManager
Creating Environment Naming Context for CSCIWAuthenticationManager
CSCIWAuthenticationManager started
The home interface for CSCIWAuthenticationManager will now be published.
Starting IDStoreEJB
Binding Home interfaces for IDStoreEJB
Creating Environment Naming Context for IDStoreEJB
IDStoreEJB started
The home interface for IDStoreEJB will now be published.
The Web component CSCIWManagementServer will now be started.
KDJE37045-I Application has been started successfully. Name=[CSCIWManagementServer]