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

349 questions
0
votes
2 answers

run java.exe with arguments from powershell

I'm trying to call wlst/jython/python from powershell set classpath with setWLSEnv.cmd is not set in the right session? so I have tried to set -cp as argument & C:\bea\tpc\weblogic1033\server\bin\setWLSEnv.cmd;…
ReneHH
  • 25
  • 2
  • 7
0
votes
3 answers

while loop in python gives syntax error

I am very new to python, this is my first program that I am trying. This function reads the password from the standard input. def getPassword() : passwordArray =[] while 1: char = sys.stdin.read(1) if…
user1731553
  • 1,887
  • 5
  • 22
  • 33
0
votes
1 answer

Error while creating datasource using WLST

I am trying to create a datasource using wlst. I am using the jython script and created a file named createDataSource.py. when i try to run this file from ant script i am getting the below error. [wlst] Creating JDBCSystemResource with name…
rbhawsar
  • 805
  • 7
  • 25
0
votes
1 answer

Weblogic caching problems

I'm writing a WLST script to deploy an application with WebLogic 11g. The problem is that when I deploy an application (version A), undeploy it, then deploy version B, it deploys version A. If I try to solve this by deleting the…
iank
  • 800
  • 3
  • 10
  • 32
0
votes
2 answers

Starting weblogic with startWebLogic.cmd

I am using WLST script to create a domain in Weblogic 10.3.4. Then starting the Admin Server and deploying a war file.All in the script. In this WLST I am also updating the setDomainEnv.cmd file to add certian jars at the beginning of the classpath.…
Skyler Hays
  • 279
  • 1
  • 5
  • 14
0
votes
1 answer

All applications on a Weblogic server

Possible Duplicate: Find name of all application running on a WebLogic server through a java web application I am writing a java web application that needs to know the name of all applications running on the same server on which the application…
Shehryar Farooq
  • 115
  • 3
  • 13
0
votes
1 answer

Package importing issue in jython file

I have a function(say method1) imports hashmap in a python file (say file1.py) and it invokes another method (say method2) in another py file (file2.py) not having the import but method2 uses hashmap. When method1 is invoked inside WLST.sh, no…
Ashok
  • 461
  • 2
  • 5
  • 23
-1
votes
0 answers

Class cast exception : weblogic domain creation

The readTemplate() is failing and no domain or no domain template has been read error coming up while creating weblogic domain after weblogic installation. WLST Interpretor encountered an exception , InvocationTargetException
-1
votes
1 answer

How to get IP address of weblogic managed server using WLST

I have a weblogic admin server and managed server. I am able to fetch the managed server name , its heap utilization etc from admin server using wlst. Now i would like to know if there is any way we can get the IP address of managed server using…
Jijo John
  • 61
  • 1
  • 7
-1
votes
2 answers

Weblogic work manager Stuck Thread Action wlst.sh

In Weblogic, how can I change Work Manager's Stuck-Thread-Action using WLST and python.
Emrahall
  • 47
  • 6
-1
votes
1 answer

how to start/stop weblogic set of managed servers from a given list using wlst

First I will create a list of servers which are up and running and write them to a text file after that I want bring down all the servers in list at once and then restart all the servers at once
-1
votes
1 answer

Suspend/Resume MDBs deployed in Weblogic 12c using WLST script

In weblogic 12c, I have deployed EAR file that contains couple of JAR and WAR files I want to list down only the deployed MDBs and Suspend/Resume MDB using WLST
Praveen
  • 29
  • 2
-1
votes
1 answer

NameError: X while executing WebLogic Scripting Tool (WLST) script

I am trying to execute a wlst script as below,but have no idea why i get that error. DEV3_INTF_Domain$ ./stopDomain.sh "DEV3_INTF_Domain" Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting…
-1
votes
1 answer

Weblogic 12c WLST Create User offline

I want to create New User (admin/admin123) and Domain (myapp) offline using WLST Script. I want to use template common/templates/wls/wls.jar to create the Domain Please share me sample scripts to do the same
Praveen
  • 29
  • 2
-1
votes
1 answer

Weblogic deployment using ant tasks

I came to know that weblogic provides some ant tasks to deploy our application with build.xml. I need to create a weblogic user for existing domain whenever I deploy the application into my one of the server instances. Is there any task available…
Varun Kumar
  • 1,015
  • 2
  • 9
  • 17
1 2 3
23
24