You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/04/04 07:37:12 UTC
[Ws Wiki] Update of "ja/axis/StaticDeployment" by ToshiyukiKimura
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by ToshiyukiKimura:
http://wiki.apache.org/ws/ja/axis/StaticDeployment
The comment on the change is:
Axis Wiki in Japanese
New page:
##language:ja
'''質問: どのようにして Axis サーバを起動せずにサービス (例えば server-config.wsdd を更新する) をデプロイしますか?'''
回答: Axis サーバを起動せずにサービスディスクリプタをデプロイするには、org.apache.axis.utils.Admin クラスを使用します。
{{{
cd webapps/axis/WEB-INF
java -cp $AXIS_CLASSPATH org.apache.axis.utils.Admin server deploy.wsdd
}}}
プログラムは現在のディレクトリに/の server-config.wsdd を作成/更新し、deploy.wsdd ファイルからサービスをデプロイします。server-config.wsdd を作成する必要がある場合は、axis.jar にある server-config.wsdd のコピーがデフォルトの起動設定として使用されます。
Ant からは以下のようにします。
{{{
<java classname="org.apache.axis.utils.Admin"
fork="true"
dir="${webapp.install}/WEB-INF">
<arg value="server" />
<arg value="${webapp.install}/wsdd/deploy.wsdd" />
<classpath>
<pathelement location="${build.dir}/classes"/>
<path refid="axis.classpath"/>
</classpath>
</java>
}}}