LoadRunner報錯vuser_init.c(18): Error: nca_connect_server: cannot communicate

tolywang發表於2013-10-10

在LoadRunner 錄製指令碼回放時,提示以下錯誤:
Virtual User Script. started at : 2013-10-09 22:51:13
Starting action vuser_init.
vuser_init.c(12): nca_set_connect_opt("INITIAL_DISP_SIZE")
vuser_init.c(14): nca_set_connect_opt("FONT_FACE")
vuser_init.c(16): nca_set_connect_opt("SCALE_INFO")
vuser_init.c(18): Error: nca_connect_server: cannot communicate with host nkgtsoserp01-vlx.huw.com on port 8005
Abort was called from an action.



R12安裝後Form服務預設是Serverlet模式,且禁用Socket模式;只要按如下基本簡單改動即可改成Socket模式,並允許Socket模式。
1. Source the environment on the application tier.
2. Stop all the application tier services:
$INST_TOP/admin/scripts/adstpall.sh
3. Run the following command to enable Forms Socket Mode:
$FND_TOP/bin/txkrun.pl -script=ChangeFormsMode \
-contextfile=$INST_TOP/appl/admin/.xml \
-mode=socket \
-port=9095 \
-runautoconfig=No
4.修改$INST_TOP/appl/admin/.xml,將appserverid_authentication修改為off
5.執行autoConfig
$INST_TOP/admin/scripts/adautocfg.sh
6. Start all the application tier services:
$INST_TOP/admin/scripts/adstrtal.sh
7 Socket模式訪問:

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-774058/,如需轉載,請註明出處,否則將追究法律責任。

相關文章