WebSphere Application Server - globalsecurity jacl script error with modify command.

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > November 2005 > globalsecurity jacl script error with modify command.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author globalsecurity jacl script error with modify command.

2005-11-18, 5: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 $cacheTimeoutAttr $protocolAttr]

$AdminConfig modify $aSec $attrs


I issued all above commands in sequence using wsadmin, got following error while running above command on command line as
wsadmin>$AdminConfig modify $aSec $attrs
WASX7015E: Exception running command: "$AdminConfig modify $aSec $attrs"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7080E: Invalid attributes specified 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: {1}
Explanation: An error occurred during the interactive execution of the specified command.
User Response: Examine the accompanying exception information to determine the appropriate action.

Am i doing something wrong..?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com