ページの先頭行へ戻る
Interstage Business Application Server チュートリアルガイド
FUJITSU Software

3.2.5 クライアント環境(IJServer)の構築

IJServerクラスタの作成

asadminコマンドで、IJServerクラスタを作成してください。

asadmin create-cluster ibascl
asadmin create-local-instance --cluster ibascl ibasinstance

/opt/FJSVisje7/glassfish/bin/asadmin create-cluster ibascl
/opt/FJSVisje7/glassfish/bin/asadmin create-local-instance --cluster ibascl ibasinstance

JVM設定の変更

asadminコマンドでクラスパスおよびシステムプロパティの設定をしてください。

asadmin set ibascl.java-config.isjee-classpath-suffix=C\:\\Interstage\\BAS\\lib\\apfwibscm.jar;C\:\\Interstage\\BAS\\lib\\apfwibssc.jar
asadmin create-system-properties --target ibascl ^
com.fujitsu.interstage.apfw.server.host=192.168.0.10:com.fujitsu.interstage.apfw.server.port=8002:com.fujitsu.interstage.apfw.msync.ins=yes

LD_LIBRARY_PATH=/opt/FJSVibs/lib:$LD_LIBRARY_PATH;export LD_LIBRARY_PATH
/opt/FJSVisje7/glassfish/bin/asadmin stop-domain
/opt/FJSVisje7/glassfish/bin/asadmin start-domain
/opt/FJSVisje7/glassfish/bin/asadmin set ibascl.java-config.isjee-classpath-suffix=/opt/FJSVibs/lib/apfwibscm.jar:/opt/FJSVibs/lib/apfwibssc.jar
/opt/FJSVisje7/glassfish/bin/asadmin create-system-properties --target ibascl \
com.fujitsu.interstage.apfw.server.host=192.168.0.10:com.fujitsu.interstage.apfw.server.port=8002:com.fujitsu.interstage.apfw.msync.ins=yes

hostは自ホストのIPアドレスまたはホスト名です。

クライアントアプリケーションの配備

asadminコマンドで以下のWebアプリケーションを配備してください。

cd C:\Interstage\BAS\sample\acceptance\APL\COBOL\client\symfo\sync
asadmin deploy --target ibascl AcceptWEBCBL.war
asadmin deploy --target ibascl PaymentWEBCBL.war
asadmin deploy --target ibascl StockWEBCBL.war

cd /opt/FJSVibs/sample/acceptance/APL/COBOL/client/symfo/sync
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl AcceptWEBCBL.war
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl PaymentWEBCBL.war
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl StockWEBCBL.war

cd /opt/FJSVibs/sample/acceptance/APL/COBOL/client/oracle/sync
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl AcceptWEBCBL.war
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl PaymentWEBCBL.war
/opt/FJSVisje7/glassfish/bin/asadmin deploy --target ibascl StockWEBCBL.war

クライアントアプリケーションの起動

asadminコマンドでクライアントアプリケーションを起動してください。

asadmin start-cluster ibascl

/opt/FJSVisje7/glassfish/bin/asadmin start-cluster ibascl