using Jython in Websphere 6.0

alfa1234 heliflyer at hotmail.com
Mon Jul 24 16:57:33 EDT 2006


Used the following command to extract correct commandLine arguments to
Automate deployment:

AdminApp.installInteractive('z:/Builds_test/sgs/sgs-procDist.ear')

Got the following Args to use for deployment..

install 'z:/Builds_test/sgs/sgs-procDist.ear'  '[  -preCompileJSPs
-installed.ear.destination
d:/WebSphere/AppServer/profiles/profileStandAlone/installedApps/TESTND1Network
-distributeApp -nouseMetaDataFromBinary -nodeployejb -appname
SGSProcedure -createMBeansForResources -noreloadEnabled -nodeployws
-validateinstall warn -noprocessEmbeddedConfig -MapModulesToServers
[["SGS Wizard" sgs-procDist.war,WEB-INF/web.xml
WebSphere:cell=TESTND1Network,node=IIS,server=webserver+WebSphere:cell=TESTND1Network,cluster=SGSProcedure]]
-MapWebModToVH [["SGS Wizard" sgs-procDist.war,WEB-INF/web.xml
default_host]]]'


When trying to execute command below via "wsadmin -lang jython"
commanfpromt I got the error below..??? Can anyone HELP ??

Traceback (innermost last):
  (no code object) at line 0
  File "<input>", line 1
        AdminApp.install 'z:/Builds_test/sgs/sgs-procDist.ear' '[
-preCompileJS
Ps -installed.ear.destination
d:/WebSphere/AppServer/profiles/profileStandAlone/
installedApps/TESTND1Network -distributeApp -nouseMetaDataFromBinary
-nodeployej
b -appname SGSProcedure -createMBeansForResources -noreloadEnabled
-nodeployws -
validateinstall warn -noprocessEmbeddedConfig -MapModulesToServers
[["SGS Wizard
" sgs-procDist.war,WEB-INF/web.xml
WebSphere:cell=TESTND1Network,node=IIS,server
=webserver+WebSphere:cell=TESTND1Network,cluster=SGSProcedure]]]'
                         ^
SyntaxError: invalid syntax
wsadmin>




More information about the Python-list mailing list