excellent tutorial! As usual with James Bayer!
In a nutshell:
cd C:\beawli\user_projects\domains\JCRMIntegration_Domain\bin
setDomainEnv.cmd
java weblogic.WLST
connect( 'weblogic', 'weblogic', 't3://localhost:7001')
stopApplication('ACME_INTEG_EAR')
undeploy('ACME_INTEG_EAR')
deploy('ACME_INTEG_EAR', 'C:/TEMP/WORKSHOP_ACME_INTEG_EAR.ear', targets='AdminServer')
startApplication('ACME_INTEG_EAR')
disconnect()
The complete script is:
connect( 'weblogic', 'weblogic1', 't3://localhost:7001') try: stopApplication('MQParserEAR') except: print 'unable to stop' try: undeploy('MQParserEAR') except: print 'unable to undeploy' deploy('MQParserEAR', '/path/to/MQParserEAR/1.1.0-SNAPSHOT/MQParserEAR-1.1.0-SNAPSHOT.ear', targets='AdminServer') startApplication('MQParserEAR') disconnect()
No comments:
Post a Comment