Raja Reddy
1. set class path (./setWLSEnv.sh)
2.java weblogic.WLST path_of_scriptfile.py file
(or)
1. set class path (./setWLSEnv.sh)
2.java weblogic.WLST
3. exec(path_of_scriptfile)
Example::
1. opt/Apps/Oracle/Middleware/wlserver_10.3/server/bin/setWLSEnv.sh
2. java weblogic.WLST /opt/Apps/Files/deploy.py
(or)
1. opt/Apps/Oracle/Middleware/wlserver_10.3/server/bin/setWLSEnv.sh
2. java weblogic.WLST
3. exec('/opt/Apps/Files/deploy.py')
deploy.py:
print "connecting to server.........."
connect('weblogic','weblogic1','t3://localhost:7001')
appname='benefits'
appLoc='/opt/Apps/Files/benifits.war'
target='MS1'
deploy(appname, appLoc, target)
print "application Deployed"
1. set class path (./setWLSEnv.sh)
2.java weblogic.WLST path_of_scriptfile.py file
(or)
1. set class path (./setWLSEnv.sh)
2.java weblogic.WLST
3. exec(path_of_scriptfile)
Example::
1. opt/Apps/Oracle/Middleware/wlserver_10.3/server/bin/setWLSEnv.sh
2. java weblogic.WLST /opt/Apps/Files/deploy.py
(or)
1. opt/Apps/Oracle/Middleware/wlserver_10.3/server/bin/setWLSEnv.sh
2. java weblogic.WLST
3. exec('/opt/Apps/Files/deploy.py')
deploy.py:
print "connecting to server.........."
connect('weblogic','weblogic1','t3://localhost:7001')
appname='benefits'
appLoc='/opt/Apps/Files/benifits.war'
target='MS1'
deploy(appname, appLoc, target)
print "application Deployed"