using Jython in Websphere 6.0

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alfa1234

    #1

    using Jython in Websphere 6.0

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

    AdminApp.instal lInteractive('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.d estination
    d:/WebSphere/AppServer/profiles/profileStandAlo ne/installedApps/TESTND1Network
    -distributeApp -nouseMetaDataFr omBinary -nodeployejb -appname
    SGSProcedure -createMBeansFor Resources -noreloadEnabled -nodeployws
    -validateinstall warn -noprocessEmbedd edConfig -MapModulesToSer vers
    [["SGS Wizard" sgs-procDist.war,WE B-INF/web.xml
    WebSphere:cell= TESTND1Network, node=IIS,server =webserver+WebS phere:cell=TEST ND1Network,clus ter=SGSProcedur e]]
    -MapWebModToVH [["SGS Wizard" sgs-procDist.war,WE B-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.instal l 'z:/Builds_test/sgs/sgs-procDist.ear' '[
    -preCompileJS
    Ps -installed.ear.d estination
    d:/WebSphere/AppServer/profiles/profileStandAlo ne/
    installedApps/TESTND1Network -distributeApp -nouseMetaDataFr omBinary
    -nodeployej
    b -appname SGSProcedure -createMBeansFor Resources -noreloadEnabled
    -nodeployws -
    validateinstall warn -noprocessEmbedd edConfig -MapModulesToSer vers
    [["SGS Wizard
    " sgs-procDist.war,WE B-INF/web.xml
    WebSphere:cell= TESTND1Network, node=IIS,server
    =webserver+WebS phere:cell=TEST ND1Network,clus ter=SGSProcedur e]]]'
    ^
    SyntaxError: invalid syntax
    wsadmin>

Working...