0
對於下面的線我收到無差錯JACL腳本爲主題連接工廠收到錯誤
我行創建主題連接工廠:
set aMQJMSProvider [$AdminConfig getid "/JMSProvider:Default messaging provider/"]
set aMQTopicCF [$AdminConfig getid "/Node:vistaNode/MQTopicConnectionFactory:vistaCCTopicFactory/"]
set nameAttr [list name vistaCCTopicFactory]
set jndiAttr [list jndiName jms/vista/vistaCCTopicFactory]]
set mappingModuleAttr [list mapping [list [list authDataAlias vistaNode/DefaultSSLSettings] [list mappingConfigAlias DefaultPrincipalMapping]]]
set attrs [list $nameAttr $jndiAttr $mappingModuleAttr]
set aMQTopicCF [$AdminConfig create MQTopicConnectionFactory $aMQJMSProvider $attrs]
錯誤:
[執行] COM .ibm.ws.scripting.ScriptingException:WASX7444E:命令「create」上參數「parent config id」的參數值「」無效「」
[執行]執行
[exec] "$AdminConfig create MQTopicConnectionFactory $aMQJMSProvider $attrs"
[exec] invoked from within
[exec] "set aMQTopicCF [$AdminConfig create MQTopicConnectionFactory $aMQJMSProvider $attrs]"
[exec] (file "C:/proj/deploy/vista/application.jacl" line 112)
[exec] (file line 112)
[exec] invoked from within
[exec] "source $APPLICATION_DEPLOY_SOURCE/application.jacl"
[exec] Loading of application failed. Please make sure application.jacl exists and syntax is correct.
[exec] A failure occurred while installing the application onto the Deployment Manager.
[exec] Return code = 1
[exec] WASX7341W: No "save" was performed before the interactive scripting session exited; configuration changes will not be saved.
我已經嘗試了所有在該步驟創建TCF被提到的IBM的聯繫,而且我做相同的,但沒有能夠解決。請提供寶貴的意見來解決這個問題。
在此先感謝。 Deepal
Yeahh!我有默認消息提供程序可用,因爲它的默認,所以我想每個WAS配置文件有這個默認消息提供程序。這是根據我的理解,如果你認爲這只是你請讓我知道我必須檢查什麼的原因? – deepal
基於我可以執行$ AdminConfig列表'JMSProvider'和'默認消息傳遞提供程序'的事實,即使我可以在管理控制檯中看到它,也可能有意讓getid不會給你一個配置您可以在這些命令中使用它的id。您是否嘗試過使用-type主題的createSIBJMSConnectionFactory? https://www.ibm.com/support/knowledgecenter/was_beta/com.ibm.websphere.base.doc/ae/rjn_jmscf_create.html – njr
感謝使用createSIBJMSConnectionFactory命令我能夠配置所需的東西,但面臨問題與設置範圍的主題連接工廠。你能爲此建議嗎? – deepal