Friday, August 16, 2013

Websphere Portal / Websphere Application Server


IBM WAS Administrator scripts sample

http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html#download


WAR Export Script...
http://wpcertification.blogspot.co.uk/2010/06/updating-wpsear-using-wsadmin-script.html

WPS Export script...

[root@wput-1 bin]# ./wsadmin.sh -conntype none -host localhost -user wpadmin -password gr\!n.baR1t -port 20033 -lang jython
WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode.
WASX7031I: For help, enter: "print Help.help()"
wsadmin>AdminApp.export('PA_MoodleEntryPoint','/tmp/PA_MoodleEntryPoint.ear')
''
wsadmin>AdminApp.export('PA_WCMLRingPortJSR286','/tmp/PA_WCMLRingPortJSR286.ear')
''

No comments: