Wednesday, December 15, 2010

WebLogic Scripting Tool Tip – relax the syntax with the easy button

This blog was originally posted on when I worked for Oracle.

s0105150_sc7[1] I stumbled on to this feature in WLST tonight called easeSyntax. Apparently it’s a hidden feature that one of the WebLogic support engineers blogged about that allows you to simplify the commands in the interactive mode to have fewer parentheses and quotes. For example, see how some of the commands instead of typing “ls()” I can type '”ls” or “cd(“/somepath”)” can become “cd /somepath”. It’s not going to save the world, but it will help cut down on some extra typing.

The example I was researching when stumbling into this was for how to print the runtime status of deployed application named “hello” on the “AdminServer”. See the below output.

wls:/base_domain/domainConfig> easeSyntax()


You have chosen to ease syntax for some WLST commands.

However, the easy syntax should be strictly used in

interactive mode. Easy syntax will not function properly in

script mode and when used in loops. You can still use the

regular jython syntax although you have opted for easy


Use easeSyntax to turn this off.

Use help(easeSyntax) for commands that support easy syntax

wls:/base_domain/domainConfig> domainRuntime


wls:/base_domain/domainRuntime> ls

dr--   AppRuntimeStateRuntime

dr--   CoherenceServerLifeCycleRuntimes

dr--   ConsoleRuntime

dr--   DeployerRuntime

dr--   DeploymentManager

dr--   DomainServices

dr--   LogRuntime

dr--   MessageDrivenControlEJBRuntime

dr--   MigratableServiceCoordinatorRuntime

dr--   MigrationDataRuntimes

dr--   PolicySubjectManagerRuntime

dr--   SNMPAgentRuntime

dr--   ServerLifeCycleRuntimes

dr--   ServerRuntimes

dr--   ServerServices

dr--   ServiceMigrationDataRuntimes


-r--   ActivationTime                               Wed Dec 15 22:37:02 PST 2010

-r--   MessageDrivenControlEJBRuntime               null

-r--   MigrationDataRuntimes                        null

-r--   Name                                         base_domain

-rw-   Parent                                       null

-r--   ServiceMigrationDataRuntimes                 null

-r--   Type                                         DomainRuntime


-r-x   preDeregister                                Void :

-r-x   restartSystemResource                        Void : WebLogicMBean(


wls:/base_domain/domainRuntime> cd AppRuntimeStateRuntime/AppRuntimeStateRuntime

wls:/base_domain/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> ls


-r--   ApplicationIds                               java.lang.String[active-cache#1.0@1.0, coherence-web-spi#, coherence#3.

-r--   Name                                         AppRuntimeStateRuntime

-r--   Type                                         AppRuntimeStateRuntime


-r-x   getCurrentState                              String : String(appid),String(moduleid),String(subModuleId),String(target)

-r-x   getCurrentState                              String : String(appid),String(moduleid),String(target)

-r-x   getCurrentState                              String : String(appid),String(target)

-r-x   getIntendedState                             String : String(appid)

-r-x   getIntendedState                             String : String(appid),String(target)

-r-x   getModuleIds                                 String[] : String(appid)

-r-x   getModuleTargets                             String[] : String(appid),String(moduleid)

-r-x   getModuleTargets                             String[] : String(appid),String(moduleid),String(subModuleId)

-r-x   getModuleType                                String : String(appid),String(moduleid)

-r-x   getRetireTimeMillis                          Long : String(appid)

-r-x   getRetireTimeoutSeconds                      Integer : String(appid)

-r-x   getSubmoduleIds                              String[] : String(appid),String(moduleid)

-r-x   isActiveVersion                              Boolean : String(appid)

-r-x   isAdminMode                                  Boolean : String(appid),String(java.lang.String)

-r-x   preDeregister                                Void :


wls:/base_domain/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> cmo.getCurrentState('hello','AdminServer')


wls:/base_domain/domainRuntime/AppRuntimeStateRuntime/AppRuntimeStateRuntime> cd /



Unknown said...

This tip is really helped me in my WebLogic. Wifi password hacker

Unknown said...

aws training in chennai with placement| aws authorized training partner in chennai|aws solution architect training in chennai

Juliana Kho said...



Juliana Kho said...


Juliana Kho said...

Juliana Kho said...

Juliana Kho said...

Juliana Kho said...


Juliana Kho said...



Alex Martin said...
This comment has been removed by the author.
Alex Martin said...

7 Best Money Saving Black Friday Braun Series 9 Deals 2019

7 Best Money Saving Black Friday Braun Series 9 Deals 2019

beryltryphosa said...

snowflake interview questions
riya sold her car
zensoft interview questions
top 10 political websites
difference between vb and
tp link wifi hack
power bi resume samples

Indhu said...

Hardware and Networking Training in Chennai
CCNA Training in Chennai
AWS Training in Chennai
SAP Training in Chennai
Software Testing Training in Chennai
Java Training in Chennai
QTP Training in Chennai
iOS Training in Chennai
Oracle Training in Chennai
Pearson Vue Exam Center in Chennai

Indhu said...

Great Post..
SAP Training in Chennai
SAP ABAP Training in Chennai
SAP Basis Training in Chennai
SAP FICO Training in Chennai
SAP MM Training in Chennai
SAP PM Training in Chennai
SAP PP Training in Chennai
SAP SD Training in Chennai
SAP SRM Training in Chennai
SAP Success Factors Training in Chennai

John Ruth said...


yanmaneee said...

jordan 6
supreme new york
nike sb
supreme hoodie
moncler coat
nike sb dunks
curry 7
lebron shoes
golden goose sneakers

Slot Bonus New Member 100 said...

REPUBLIKSLOT ialah situs slot online terbaik 2022 yang menyediakan ribuan mesin slot gacor mudah menang jackpot terbesar dan Slot Pulsa di Indonesia melalui link alternatif resmi di bawah:

ccmiq45jj7 said...

To recruit a target of 10 individuals, 452 people have been emailed, yielding a response rate of two.2%. These sample sizes have been prearranged with the funding company and based on pragmatic selections about what was achievable within the project timelines and finances. Ideally, sample size should be adjusted throughout data assortment to succeed in saturation. This was not potential as in the present research the funding 토토사이트 company required definitive sample sizes prematurely of the analysis.