Questions tagged [wlst]

WLST (WebLogic Scripting Tool) is a command-line scripting environment that can be used to create, manage, and monitor WebLogic domains. It is based on the Java scripting interpreter, Jython.

WLST (WebLogic Scripting Tool) is a command-line scripting environment that can be used to create, manage, and monitor WebLogic domains. It is based on the Java scripting interpreter, Jython. In addition to supporting standard Jython features such as local variables, conditional variables, and flow control statements, WLST provides a set of scripting functions (commands) that are specific to WebLogic Server. To expertise in this you might need basic knowledge of any programming language is must. Most of the tricks are useful from Python and Jython scripting.

Satya Gattu started developing this WLST Project for WebLogic 8.1 in while working in BEA Systems (acquired by Oracle on April 29, 2008). Its usage and popularity increased from WebLogic 9 version onwards. It has wide scope for not using WebLogic Administration console for various configuration and monitor various System resources performance.

Oracle Fusion Middleware 11g provided a wonderful IDE for WLST developers. It is having full scope for MBean navigation, introspection to classes which you are going to use. Every IDE provides SyntaxHighlighting.

Write your questions on WLST, Python, Jython related System administration tasks. Keep getting the responses around the world from the best scripting experts.

Helpful References

339 questions
3
votes
3 answers

Determine if EAR Has Been Deployed in WebLogic Server Using WLST?

I am trying to create a simple python script that deploys my EAR file to the AdminServer of Weblogic. I have searched the internet and the documentation provided by Oracle, but I cannot find a way to determine if the application has been previously…
JPM
  • 1,452
  • 4
  • 17
  • 25
3
votes
1 answer

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…
awithrow
  • 1,101
  • 8
  • 16
3
votes
2 answers

How to start and stop multiple weblogic managed servers at one go through WLST

I am writing a code to start , stop, undeploy and deploy my application on weblogc. My components need to be deployed on few managed servers. When I do new deployments manually I can start and stop the servers in parallel, by ticking multiple boxes…
Asanke
  • 489
  • 1
  • 11
  • 28
3
votes
1 answer

Embedded WLST minimal file set

I'm using Eclipse to write a small Java application that uses WLST to manage a few development servers. I want to be able to give this application to our developers who do not have Weblogic installed. We are using Weblogic version 9.2. When I add…
Jon Strayer
  • 1,986
  • 2
  • 22
  • 36
3
votes
0 answers

Ant script for osb 12c deployment

I am creating OSB 12c ant script for deployment. I need it to integrate it with hudson. scripts that I have created is as follow:
Sarvesh
  • 471
  • 1
  • 8
  • 27
3
votes
2 answers

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…
Mark Sailes
  • 1,224
  • 15
  • 17
3
votes
1 answer

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…
fglez
  • 7,964
  • 4
  • 43
  • 75
3
votes
1 answer

Activate tracing using WLST for OSB

I can manually enable tracing for a proxy service on Oracle Service Bus Console. I would like to do that same action using WLST. I've been able to write scripts that enable or disable the service, but not the tracing feature so far? Any ideas on how…
Tor
  • 143
  • 8
3
votes
2 answers

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…
rangalo
  • 4,910
  • 8
  • 42
  • 65
3
votes
1 answer

Use WLST to Retrieve Local Application Path

I am currently automating a process of moving Weblogic applications from old servers to new servers. I was unable to find a way to list the local application path for a deployed Weblogic application using WLST. The closest I found…
ratnapper
  • 65
  • 1
  • 6
3
votes
2 answers

Trying to get the name of a cluster in WLST

Im trying to get the string value name of the first cluster of a datasource in wlst cd("/JDBCSystemResources/") targets = get('Targets') mytarget = targets[0] This works fine. If I use a viewMBean command "viewMBean(mytarget)" I…
Dunderklumpen
  • 1,746
  • 3
  • 14
  • 26
3
votes
2 answers

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.
Matthieu Cormier
  • 2,135
  • 20
  • 31
3
votes
1 answer

Change an attribute in a mbean using wlst.

I am working with Oracle Service Bus and I want to create a script that will change an attribute in a specific mbean. I have located the mbean:…
Alexandros
  • 81
  • 2
  • 3
  • 6
3
votes
2 answers

How to run WLST in windows?

I tried to run WLST (on Windows XP) but i always get java.lang.NoClassDefFoundError: Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/wlst Caused by: java.lang.ClassNotFoundException: weblogic.wlst at…
mykola
  • 1,466
  • 5
  • 24
  • 34
3
votes
2 answers

WLST vs Jython Weblogic 10.3.3

I have a few questions concerning WLST and Jython: OS: Unix/Linux Situation: 1) Unable to include wlst-file created by using writeIniFile automatically 2) using org.python.util.jython without caching message Information: 1) wlst.py generated by…
ShadowFlame
  • 1,971
  • 2
  • 19
  • 35
1
2
3
22 23