主题连接工厂的JACL脚本出错

时间:2016-04-28 12:19:02

标签: ibm-was 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]

错误:

[exec] com.ibm.ws.scripting.ScriptingException:WASX7444E:参数值无效"" for参数" parent config id"在命令"创建"

执行时

[exec]

[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.

我已经尝试过所有IBM链接,其中提到了创建TCF的步骤,我正在做同样但无法解决的问题。请提供有价值的评论以解决此问题。

先谢谢。 Deepal

1 个答案:

答案 0 :(得分:0)

错误消息表明

$AdminConfig getid "/JMSProvider:Default messaging provider/"
第一行中的

返回一个空字符串。 您的配置中是否存在名为“Default messaging provider”的JMSProvider?