Automating application deployment on Weblogic Server.

In this article we will demonstrate three ways of deployment and undeployment on Weblogic Server 1. Using WLST 2. Using JMX 3. Using build script. Application Deployment using WLST connect(‘weblogic’,’weblogic’,’t3://localhost:7001′) edit() startEdit() deploy(‘CookieApp’,’D:/Replications/CookieApp’,targets=’AdminServer’) save() activate() exit() Application Undeployment using WLST connect(‘weblogic’,’weblogic’,’t3://localhost:7001′) edit() startEdit() undeploy(‘CookieApp’) save() activate() exit() Application Deployment using

Continue reading

weblogic.Deployer usage

Below article provides some sample usages of the weblogic.Deployer utility. weblogic.Deployer is a Java-based deployment tool that provides administrators and developers command-line based deployment operations. Deploy application on admin server: java weblogic.Deployer -adminurl url -username username -password password -name myapp -deploy c:/myapps/myapp.ear Deploy individual modules in application to different targets:

Continue reading