uCosminexus 電子フォームワークフロー システム構築ガイド
CSCIWManagementServerは,ワークフローシステムの運用を支援する機能です。Web帳票アプリケーションを実行するには,CSCIWManagementServerの設定が必要です。CSCIWManagementServerの設定は,CSCIWManagementServerの属性ファイルを使用します。
なお,開発クライアントを構築する場合,この項の作業は不要です。
CSCIWManagementServerで使用するセキュリティロールを設定します。セキュリティロールは,セキュリティロールの登録,ユーザの登録,セキュリティロールとユーザの関連づけという手順で設定します。
"%COSMINEXUS_HOME%\CC\admin\bin\cjaddsec" J2EE_SERV -type role -name csciwdef |
KDJE37400-I Connecting to J2EE_SERV... KDJE37406-I Adding csciwdef... KDJE37503-I Role has been added successfully. (name = [csciwdef]) |
"%COSMINEXUS_HOME%\CC\admin\bin\cjaddsec" J2EE_SERV -type user -name admin -password admin |
KDJE37400-I Connecting to J2EE_SERV... KDJE37406-I Adding admin... KDJE37503-I User has been added successfully. (name = [admin]) |
"%COSMINEXUS_HOME%\CC\admin\bin\cjmapsec" J2EE_SERV -role csciwdef -user admin |
KDJE37400-I Connecting to J2EE_SERV... KDJE37401-I Searching csciwdef... KDJE37401-I Searching admin... KDJE37415-I Mapping admin... KDJE37514-I User has been mapped successfully. (name = [admin]) |
次のコマンド(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] |
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]) |
取得したCSCIWManagementServerの属性ファイルを次のとおり編集します。
表7-12 CSCIWManagementServerの属性ファイルの設定値
| 設定項目 | 設定値 |
|---|---|
| 開始順位 | 0 |
| セキュリティロール名 | csciwdef |
| リソース参照のリンク先 | DB_Connector_for_Manager (リソースアダプタの表示名) |
CSCIWManagementServerの属性ファイルの編集例については,「付録D.2 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]) |
次のコマンド(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] |
All Rights Reserved. Copyright (C) 2010, 2014, Hitachi, Ltd.