wlst

Can NovellAuthenticators (LDAP) be add to Weblogic using WLST Offline?

I would like to create a WLST script to create my Weblogic domain. However I'm having problems adding the LDAP config. cd("/SecurityConfiguration/myDomain") cmo.createRealm("myrealm") cd("/SecurityConfiguration/myDomain/Realms/myrealm") cmo.createAuthenticationProvider("myLDAP", "weblogic.security.providers.authentication.NovellAuthent...

WLST Best Practices: Shell vs MBeans?

Are there any admins out there who use WLST? On our project we are in the process of automating many of our day-to-day tasks such as deployments and domain settings. We're also building scripts that will create domains based on our baseline configurations, JDBC, FNJDI, etc. One of the features offered through WLST is the navigation of ...

Using WLST to bounce a managed server?

Is there a way to bounce/restart a managed server using WLST? The ServerRuntime MBean seems to have the correct functions to do this but as far as I can tell, you can only access this MBean for the server WLST is connected to ie the admin server. Is there a way to access this MBean for each Managed Server? ...

How to specify "Copy this application onto every target of me" option while deploying using WLST deploy() command?

I want to remove dependency on the location of EAR file while deploying it into WebLogic Server using WLST scripts. While doing manually we can select the radio button - Copy this application onto every target for me in the Source accessibility section of Install Application Assistant. Now the question is: how to achieve the same usin...

ALSB automation

One of the elegant things about WebLogic is WLST (Weblogic Scripting). Is it possible to script actions done in ALSB (Aqualogic Service Bus)? For example: Exporting resources from the bus. ...

WebLogic 10 WLST command to stop a deployment

Is there a WLST command to stop a Weblogig deployment? (i.e. the opposite of the nmStart() command) If so, what is it? I am changing database passwords and I want to shutdown all deployments so all connections will close. Currently I have to log into the console to shut everything down and I am looking for a quicker way. ...

Weblogic domain and cluster creation with WLST

I want to create a cluster with 2 managed servers on 2 different physical machines. I have following tasks to be performed (please correct me if I miss something) Domain creation. Set admin server properties and create AdminServer under SSL Create logical machines for the physical ones Create managed servers create cluster with the m...

WLST: deploy application but do not start it -- how?

Hello. I need to script an EAR deployment to Weblogic 9.2. Extra requirements I have though are: Application Name shall be the one I provide, not just EAR name Application is deployed in Prepared state, not Running one As far as I can tell, when I use deploy(), the name is got assigned by me (good!), but application starts right aw...

Is there a comprehensive guide for Weblogic Scripting Tool (WLST)

I'm unsuccessfully using WLST to modify a jmsmodule.xml file online. I have to achieve this programatically rather than using the Weblogic Console. However, I've "recorded" the commands while in the console. However the recorded commands when put into the online python WLST script don't work. These are the commands that fail: cmo.setPri...

Developing WLST scripts with Eclipse

We are in the process of developing several WLST (WebLogic Scripting Tool) scripts and we would like to setup a development environment. Has anybody managed to configure Eclipse PyDev (or another plugin) to support it? Do you know any other alternative? Thank you for your answers. ...

Weblogic WLST classpath

When I run the WLST script .sh script to set the env as follows why can't I see the updated path when I do echo? [linbox2 bin]$ ./setWLSEnv.sh CLASSPATH=/directory/ols_wls/patch_wlss1032/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/directory/ols_wls/patch_wls1032/profiles/default/sys_manifest_classpath/weblogic_patch.ja...

weblogic scripting

How can I write a script to change the minimum password length to 4 characters using WLST Home >Credential Mappings >Users and Groups >weblogic >Users and Groups >Summary of Security Realms >myrealm >Providers >DefaultAuthenticator>ProviderSpecific How can I find the appropriate mbeans information to modify this using weblogic scriptin...

weblogic setting log filename pattern for rotation

I have written a wlst script to change the log file rotation strategy from BySize to ByTime which works correctly but the names of the rotated files are still fileName.log000n where n is a number. I would like to have a datestamp in the rotated filenames instead. I didn't find any way to do this. Neither from the admin console nor with ...

How to check if application was deployed on a specific managed server?

I use following wlst command in order to check if application was already deployed before: oldApplication = find(name=d['name'], type='AppDeployment') But it does not show that application was deployed on a specific server. How can I find that application was deployed on a specific managed server? ...

Weblogic starts old version of an application after redeployment.

We deploy our enterprise application(exploded) on Weblogic using WLST: oldApplication = find(name=d['name'], type='AppDeployment') if oldApplication: print "Undeploying application " + d['name'] + " on server " + target progress = undeploy(appName=d['name'], targets=target) progress.printStatus() if cmd == "deploy" or cm...