Question : to perform save after app deploy using jython scripts

i have a WebSphere Application Server 6.0.2.41, i was experimenting with jython scripts to update the deploy ear/war/files, using below commands, have issue to run the AdminAoo.save() command which i got WebSphere info center.

AdminApp.update('WC_comm', 'file', '[-operation addupdate -contents /tmp/index.jsp -contenturi Stores.war/mystore/index.jsp]')

wsadmin>AdminApp.save()
WASX7015E: Exception running command: "AdminApp.save()"; exception information:
 com.ibm.bsf.BSFException: exception from Jython:
Traceback (innermost last):
  File "<input>", line 1, in ?
AttributeError: save

wsadmin>


Answer : to perform save after app deploy using jython scripts

It's AdminConfig.save()

not AdminApp.save()
Random Solutions  
 
programming4us programming4us