0

对于以下几行,我遇到了错误-

我创建主题连接工厂的线路:

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: 命令“create”上的参数“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.

我已经尝试了所有提到创建 TCF 的步骤的 IBM 链接,我也在做同样的事情,但无法解决。请提供宝贵意见以解决此问题。

提前致谢。迪帕尔

4

1 回答 1

0

错误消息表明

$AdminConfig getid "/JMSProvider:Default messaging provider/"

在您的第一行中,返回一个空字符串。您的配置中是否存在名称为“默认消息传递提供程序”的 JMSProvider?

于 2016-04-29T16:27:41.027 回答