ページの先頭行へ戻る
Interstage Application Server アプリケーション作成ガイド(CORBAサービス編)

3.4.1 インプリメンテーションリポジトリへの登録

  インプリメンテーションリポジトリにサーバアプリケーション情報を登録するため、OD_impl_instコマンドを使用します。OD_impl_instコマンドでの登録処理の例と指定する情報について以下に示します。



インプリメンテーションリポジトリへの登録

OD_impl_inst -a -r IDL:ODdemo/calculator:1.0 -t S -f D:\server\simple_s.exe

  -a

  サーバアプリケーション情報を登録します。

  -r IDL:ODdemo/calculator:1.0

  インプリメンテーションリポジトリIDを指定します。

  -t S

  サーバタイプを英大文字1字で指定します。指定できるタイプには、“P”(persistent),“S”(shared), “U”(unshared)があります。

  -f D:\server\simple_s.exe

  サーバアプリケーションのパス名を指定します。



インプリメンテーションリポジトリへの登録

OD_impl_inst -a -r IDL:ODdemo/calculator:1.0 -t S -f /home/guest/simple_s -u user -g group

  -a

  サーバアプリケーション情報を登録します。

  -r IDL:ODdemo/calculator:1.0

  インプリメンテーションリポジトリIDを指定します。

  -t S

  サーバタイプを英大文字1字で指定します。指定できるタイプには、“P”(persistent),“S”(shared), “U”(unshared)があります。

  -f /home/guest/simple_s

  サーバアプリケーションのパス名を指定します。

  -u user

  サーバアプリケーション実行時のユーザIDを指定します。

  -g group

  サーバアプリケーション実行時のグループIDを指定します。