NameSpaceBinding and wsadmin

I am trying to create a StringNameSpaceBinding using the wsadmin tool for Websphere 6.1

Here are the steps I'm doing set cell [$ AdminConfig getid / Cell: cell /] $ AdminConfig create StringNameSpaceBinding $ cells {{name bindname} {nameInNameSpace Handcuffs / string} {stringToBind "This is the value of the String that gets bound"}}

But when I run this last step, I get this error: WASX7015E: Exception launching the command: "$ AdminConfig create StringNameSpaceBinding $ cells {{name bindname} {nameInNameSpace Handcuffs / string} {stringToBind" This is the value of the String that gets bound " }} "; exception information: com.ibm.ws.scripting.ScriptingException: WASX7444E: invalid parameter value for "parent config id" parameter in the create command

Any idea what could be wrong with this?

Thanks Damien

+3
source share
2 answers

I am sure the following command:

set cell [$AdminConfig getid /Cell:cell/]

Does not work. Most likely, cellthis is not the name of your cell. You do not need to specify a cell name; there is only one cell in the WAS topology. I would change this to:

set cell [$AdminConfig getid /Cell:/]

.

+4

, node, :

cell = AdminConfig.getid('/Cell:/Node:/Server:WebSphere_Portal/')
+1

Source: https://habr.com/ru/post/1697721/


All Articles