11-18-05 10:54 PM
I am trying to use wsadmin for the first time to configure the WAS 6.0 base.
but not able to use it properly. for example-
###globalsecurity.jacl ###
set aSec [$AdminConfig getid /Security:/]
set enableAttr [list enable true]
set java2SecurityAttr [list enforceJava2Security true]
set domainAttr [list useDomainQualifiedUserNames true]
set cacheTimeoutAttr [list cacheTimeout 500]
set protocolAttr [list activeProtocol CSI]
set attrs [list $enableAttr $java2SecurityAttr $domainAttr $cacheTimeout
Attr $protocolAttr]
$AdminConfig modify $aSec $attrs
I issued all above commands in sequence using wsadmin, got following error w
hile running above command on command line as
wsadmin>$AdminConfig modify $aSec $attrs
WASX7015E: Exception running command: "$AdminConfig modify $aSec $attrs"; ex
ception information:
com.ibm.ws.scripting.ScriptingException: WASX7080E: Invalid attributes speci
fied for type "Security" -- "enable"
Ireferred to explanation given in IBM DOCS about these error codes, but I am
not able to understand:
WASX7015E: Exception running command: "{0}"; exception information:
23;1}
Explanation: An error occurred during the interactive execution of the speci
fied command.
User Response: Examine the accompanying exception information to determine t
he appropriate action.
Am i doing something wrong..?
[ Post a follow-up to this message ]
|