3

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

Here are the steps i take set cell [$AdminConfig getid /Cell:cell/] $AdminConfig create StringNameSpaceBinding $cell { {name bindname} {nameInNameSpace Bindings/string} {stringToBind "This is the String value that gets bound"} }

But when i run this last step i get an error like this: WASX7015E: Exception running command: "$AdminConfig create StringNameSpaceBinding $cell { {name bindname} {nameInNameSpace Bindings/string} {stringToBind "This is the String value that gets bound"} }"; exception information: com.ibm.ws.scripting.ScriptingException: WASX7444E: Invalid parameter value "" for parameter "parent config id" on command "create"

Any idea what could be up with this?

Thanks Damien

armstrhb
  • 4,054
  • 3
  • 20
  • 28
Damien
  • 4,081
  • 12
  • 75
  • 126

2 Answers2

4

I'm betting that the following command:

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

Doesn't work. Most likely, cell is not the name of your cell. You don't need to specify a cell name; there's only one cell in the WAS topology. I would change this to:

set cell [$AdminConfig getid /Cell:/]

Good luck.

Isaac
  • 16,458
  • 5
  • 57
  • 81
1

I have faced a similar issue and it is now resolved after removing both node and cell name from the following line:

cell = AdminConfig.getid('/Cell:/Node:/Server:WebSphere_Portal/')
simont
  • 68,704
  • 18
  • 117
  • 136
jitendra
  • 11
  • 1