globalsecurity jacl script error with modify command.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > globalsecurity jacl script error with modify command.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    globalsecurity jacl script error with modify command.  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register