主题连接工厂的 JACL 脚本出错
JACL Script for Topic Connection Factory getting errors
对于以下几行我收到错误-
我创建主题连接工厂的行:
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 链接,我也在做同样的事情但无法解决。请提供宝贵意见以解决此问题。
提前致谢。
深渊
错误信息表明
$AdminConfig getid "/JMSProvider:Default messaging provider/"
在您的第一行中,返回一个空字符串。
您的配置中是否存在名称为 "Default messaging provider" 的 JMSProvider?
对于以下几行我收到错误-
我创建主题连接工厂的行:
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 链接,我也在做同样的事情但无法解决。请提供宝贵意见以解决此问题。
提前致谢。 深渊
错误信息表明
$AdminConfig getid "/JMSProvider:Default messaging provider/"
在您的第一行中,返回一个空字符串。 您的配置中是否存在名称为 "Default messaging provider" 的 JMSProvider?