using Jython in Websphere 6.0

A

alfa1234

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,224
Latest member
BettieToom

Latest Threads

Top