print 'deploying jar…' connect('weblogic','weblogic123','t3://localhost:7001') try: undeploy('app') print 'Redeploying' except Exception: print 'Deploy' status = deploy(appName='app', path='app.jar',targets='AdminServer,', libraryModule='true') print status
Continue readingTag: wlst
WLST Script to rotate server log file
You can use the script below to rotate server log files using WLST connect('weblogic','weblogic123','t3://localhost:7001') serverRuntime() cd('LogRuntime/AdminServer') cmo.forceLogRotation() print 'Log file
Continue readingWLST Script to start and stop Datasource
Script to start Datasource connect('weblogic','weblogic123','t3://localhost:7001') domainRuntime() cd('ServerRuntimes/AdminServer/JDBCServiceRuntime/AdminServer/JDBCDataSourceRuntimeMBeans/PegaRULES') objArray = jarray.array([], java.lang.Object) strArray = jarray.array([], java.lang.String) invoke('start', objArray, strArray) exit()
Continue readingConfiguring SSL on Weblogic Server using WLST Script
Create a certs folder in your C Drive and copy the setWLSEnv.cmd from your WL_HOMEbin to this location. Run the
Continue readingAll Server States using WLST
This is an extension to my earlier post which gives the runtime attributes about the alive servers. https://weblogic-wonders.com/weblogic/2011/03/16/weblogic-server-runtime-using-wlst/ However there
Continue readingApplication State Monitoring using WLST
There are scenarios when you would want to monitor the Application state of the currently deployed applications in the Domain
Continue readingMonitoring WebLogic Server Runtime using WLST
There are scenarios when you would want to monitor the properties of your alive servers in the Domain using the
Continue readingAutomating 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
Continue readingMonitoring JDBC Datasource Runtime Attributes using WLST
Step 1 :- Set the environment C:bea103user_projectsdomainsprpc612bin>setDomainEnv.bat Step 2:- Connect to server and browse to the JDBCDataSourceRuntime MBean C:bea103user_projectsdomainsprpc612>java weblogic.WLST
Continue readingRemote Administration Of Domain Through WLST
For administration of the whole domain and all the servers in the domain, we can use WLST commands. This is
Continue reading