Tag Archives: weblogic

Get target(s) of deployed application in weblogic server (WLST)

Given the AdminServer (weblogic). We would like get target(s) of deployed application in weblogic (AdminServer) Connect to AdminServer using t3 protocol. Get list of targets of deployed application. Disconnect from AdminServer. Program: Get target(s) of deployed application in weblogic (WLST) def getApplicationTargets(appName): newTargets = [] try: cd(‘AppDeployments/’+appName) for t in cmo.getTargets(): newTargets.append(t.getName()) cd(‘/’) except Exception,… Read More »

List deployed applications in weblogic Admin Server (WLST/example)

Given the AdminServer (weblogic). We would like list deployed applications in weblogic (AdminServer) Connect to AdminServer using t3 protocol. Get list of applications deployed in AdminServer Disconnect from AdminServer Program: List deployed applications in weblogic Admin Server: def listDeployments(): listAppDeployments = cmo.getAppDeployments() for appDeployed in listAppDeployments: print appDeployed.getName() connect(“myAdmin”,”mypassword”,”myAdminServer:7001″) #Enter the Application name appName =… Read More »

SSL (t3s) connection to Weblogic AdminServer – WLST (example)

Given the AdminServer (weblogic) We would like to connect to AdminServer using t3s (secure) protocol. We can make the SSL connection by using any of the following truststores: JavaStandardTrust (default truststore for SSL communication) DemoTrust CustomTrust We will use default truststore to make SSL (t3s) connection to AdminServer. To Initiate the SSL connection, the JavaStandardTrust should… Read More »