Anyone tried the new Weblogic Scripting Tool (WLST)?

Has anyone tried using the new WebLogic Scripting Tool (WLST) that was recently
posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
It looks to be a handy tool that is built upon jython and enables you to easily
navigate, inspect and manipulate the WebLogic MBean tree on a running server.
It also has a nice scripting tool which allows you to convert a config.xml file
into a script that can be run to recreate a domain or specific resources within
the domain. This is exactly something I have been looking for because we occasionally
recreate domains or subsets of a domain for testing and POC purposes.
The utility is fairly well documented and works well for the most part. The only
issue I have run into so far is that is does not seem to understand JMS Distributed
Destinations. When I try to convert a config.xml that contains a DD to a script
it throws a null pointer exception. I have not tried a cluster yet.
I noticed the utility was authored by someone at BEA. Is there potential that
BEA will support this in the future if it catches on? Has anyone had experience
with WLST or jython that would cause you to reccomend (or not) using it?
Thanks.

Darryl,
Thanks for the valuable feedback. My comments are inline.
Darryl Stoflet wrote:
As a fairly long time wlshell user who recently started testing wlst there are
few features I have found lacking in wlst.
1. For monitoring purposes I am frequently using the -g and -r options to wlshell's
get command for graphing and repeating respectivelyI haven't looked at -g and -r options in wlshell, but will do so.
Although there is no graphical monitoring of attributes in wlst, but
there is certainly some monitoring capability (which will be enhanced
further in the coming version). Please take a look at the
monitorAttribute() function.
wls:/(offline)> help('monitorAttribute')
Description:
Monitors the specified attribute every by polling every interval.
Syntax:
monitorAttribute(attributeName, interval, monitorFile)
attributeName = Name of the attribue that you would like to monitor.
interval = Time (in seconds) to wait before the next fetch
monitorFile=[optional] File path where the monitored data will be
written to.
Example:
wls:/mydomain/runtime/ServerRuntimes/myserver/ExecuteQueueRuntimes/weblogic.kernel.Default>
monitorAttribute("ServicedRequestTotalCount",10)
Press Return to quit monitoring
Monitoring started for attribute ServicedRequestTotalCount
wls:/(offline)>
>
2. wlshell 2.0 adds the option when connecting to the admin server to also connect
to all managed servers in that domain. This is a nice feature for monitoring because
you then have access to all the runtime mbeans in each managed serverYes, this indeed seems to be a very nice feature. We will consider this
for our next release.
>
3. There is not a good way to pass cmd line options(variables) to wlst. In wlshell
I can send cmd line options via -v. I have tried something similar with wlst using
-loadProperties but this is a little laborious because I do not necessarily want
to create a properties file when a passing in only one or two variables. Also
I find loadProperties lacking somewhat (see 4 below)ok, I just realised that there is indeed a bug in wlst where the command
line arguments are not being honored. In Jython one can access the
command line arguments from the sys.argv variable. For example,
java weblogic.WLST -i foo.py var1 var2 var3
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to Weblogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> print sys.argv
['foo.py', 'var1', 'var2', 'var3']
wls:/offline>
But this isn't working properly, please keep using the loadProperties
untill this has been fixed.
>
4) loadProperties treats all created variables as strings. While this is understandable
from the perspective that getProperty returns a string, it would be nice if wlst
was smart enough that when a property is numbers only its an int, otherwise a
string etc.
wlshell does this logic/conversion for you which really simplifies calling methods
that expect the particular datatype. To get around this problem you can create a script file say,
variables.py which would look like,
# variables that will be used
theInterpreter.set('var1',10)
theInterpreter.set('var2','i am a string')
java weblogic.WLST variables.py
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to Weblogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/(offline)> print var1
10
wls:/(offline)> print var2
'i am a string'
>
5. I'd like to be able to send cmd output etc to a file while running within wlst.
In wlshell its a simple as adding >> filename to the end of the command. In wlst it is not as simple as doing >>, it is more than that. You can
choose any output stream to direct your output to. In your case you can
create a FileOutputStream and route the output to this stream for any
particular command.
Example,
# create a file output stream say fos
from java.io import FileOutputStream
fos = FileOutputStream("output.txt")
# save the default output stream to a variable to
# switch it back
sys.stdout=fos
# Now all output for any function will go to output.txt
ls()
cd('foo')
# after done with your functions switch it back
sys.stdout=origOutput
This is the right Jython way to do it. This works for all output streams
, very useful when you embed an interpreter in a servlet and would like
to display the output via a PrintStream etc.
>
>
All in all wlst is a nice tool. Personally if the above features were added it
would be much easier to transistion to wlst for good.
Also I really like the wlst offline tool. Its nice to be able to do the whole
create and configure domain process with one tool. Will this be supported. Yes indeed. We are working on merging both the tools into one.
I do
not want to rely on it too much if it will not work in future weblogic versions.It will be supported in future release of weblogic.
Thanks,
-satya
>
Thanks,
Darryl
"Steve Hess" <[email protected]> wrote:
Hello,
I am the BEA Product Manager behind WLST.
WLST, as it appears today on dev2dev, is an early release version of
a tool that
BEA does intend to support as part of our next major release. We decided
to issue
early versions of the tool because of the demand for a supported scripting
solution,
and to generate feedback from our user community. I encourage you to
work with
WLST, and assure you that this tool represents our current direction
in management
scripting.
Also note, this newsgroup can be used to issue questions, concerns and
feedback
about WLST. The engineering and PM team will monitor this group and
respond to
your questions as quickly as we can. While we will not be able to respond
to
every feature request, we really value your suggestions, and will endeavor
to
improve the tool in ways that meet your real-world needs.
Cheers,
Steve Hess
Director, WLS PM
"George Lupanoff" <[email protected]> wrote:
Has anyone tried using the new WebLogic Scripting Tool (WLST) that was
recently
posted on the dev2dev WebLogic Utilities site: http://dev2dev.bea.com/resourcelibrary/utilitiestools/adminmgmt.jsp
It looks to be a handy tool that is built upon jython and enables you
to easily
navigate, inspect and manipulate the WebLogic MBean tree on a running
server.
It also has a nice scripting tool which allows you to convert a config.xml
file
into a script that can be run to recreate a domain or specific resources
within
the domain. This is exactly something I have been looking for because
we occasionally
recreate domains or subsets of a domain for testing and POC purposes.
The utility is fairly well documented and works well for the most part.
The only
issue I have run into so far is that is does not seem to understandJMS
Distributed
Destinations. When I try to convert a config.xml that contains a DDto
a script
it throws a null pointer exception. I have not tried a cluster yet.
I noticed the utility was authored by someone at BEA. Is there potential
that
BEA will support this in the future if it catches on? Has anyone had
experience
with WLST or jython that would cause you to reccomend (or not) using
it?
Thanks.

Similar Messages

  • Anyone tried the new BIOS 1.4 for K8N Neo4 Plat?

    Has anyone tried the new 1.4 BIOS for nVidia K8N Neo4 Platinum? Does it fix the 220Mhz bug? Does it worth it at all? I am currently with ver.1.1 and running at 2453Mhz at HTT=4, Multi=11, FSB=223, V.Core 1.375v +3.3%, Memory 2.7v at 2-3-3-6-1T
    AMD 64 3500+ Winchester
    K8N Neo4 Platinum
    Corsair Twinx 2x512
    NEC ND-3520a
    Sapphire Radeon X850XT
    Enermax 485W
    WD Raptor 74GB

    Bios 1.4 Final Works fine on my system....
    HTT=2, Mult=11, FSB=237, VCore 1.425 + 9.9%, Memory 2.8V at 2.5-3--3-7-2T 4x 512 (2 x 512 Corsair C2Pros)+(2 x 512 Crucial Ballistix Tracer) 2 Gig Total....
    Psygnosi

  • Has anyone tried the new MS Oracle DataProvider ?

    Hi all.
    Has anyone tried the Microsoft issued Oracle .Net data provider? I am not fond of switching horses in midstream (have been struggling with ODP for a few weeks). I do not like the ODP for these reasons...
    1) Documentation is really non-existant/useless especially where hueristics and 'gotchas' are concerned
    2) it is a HUGE install (why I have no idea)
    3) some things simply do not work (like my recent rants on trying to return varchar2's from stored procs and functions).
    Is the MS any better ?
    Thanks

    Hi,
    1) There is a pdf doc and integrated help which comes with the ODP.NET. There are a few gotchas which could cause some hair-pulling moments. Sometimes it helps to read the same doc several times to really know what to do.
    But instead of wasting time reading the doc, the samples cover most of the typical cases. (i think it includes your varchar2 output bind case).
    2) The huge install is due to Oracle Client 9. The provider needs several dlls beyond Oracle.DataAccess.dll and OraOps9.dll. There are some other oracle standard dependencies also. MS provider for oracle will have the same issue (I think they need oracle client install also).
    There a few post where the `Instant client install` is going to solve that.
    But the thin client (like JDBC thin driver for oracle) is still (IMHO) the best solution for the huge install problem.
    3) See my reply in the other post. (try the sample also)
    Finally, which some other posters have mentioned before: Good luck looking for help for MS's provider when you are stuck.
    Arnold

  • Anyone tried the new ARD Client just released today (2-1-2012)

    Has anyone tried installing and running the new ARD Client released today, Feb. 1, 2012?  The info provided by Apple about this update seems to be kind of thin in exactly what was changed.3.5.2,  It lists only screen sharing and controlling a computer with two displays.  If you have installed it what have you found as both improved or degraded.  What OS do you have installed on your client systems?  Any changes specific to Lion or Snow Leopard?

    Today I connected to a remote server running Mac OS X Server 10.6.8 and ran the updater for Apple Remote Desktop 3.5.2.
    It successfully completed and I was able to re-connect. Unfortunately I can no longer "drag and drop". When I pick up an icon, for example, I cannot release it (drop). My controlling computer is running OS X 10.7.3.
    I may try to revert to the earlier version of ARD if possible. This is a pretty big problem for me; so I'm trying to figure out what is wrong with this updater. It may be that a reboot will fix the problem; but I have to wait for a convenient time to reboot my server. I need to also test connecting from a 10.6.8 workstation instead of 10.7.3, as this may be a "Lion controlling Snow Leopard" issue.
    Either way, I would be wary of this updater.

  • Has anyone tried the new OWC 8 GB RAM?

    Anyone? They're still a little pricey for me.

    I've just received the Quicken version for Lion and it crashed on four of my five files.  The 5th file didnot show all the quotes.  I searched the web and found that the new version is having problems with the Quote file.  I tried the suggestion from Intuit. See following URL.
    http://quicken.intuit.com/support/help/quicken-mac-2007-for-lion-crashes-on-lion /SLN59495.html
    With the above you loss all your security quotes and need to repopulate the data file.  I suggest that you try the following process on a Snow Leopard system.
    To avoid a corrupt Quote file perform the following before moving to Lion.  This process will give the Lion version a fresh Quote file.
    1. Start Quicken with you data file
    2. Open File > Export > Selected Items to QIF...
    3. Check only the box for Securities
    4. Quick Quicken
    5. Hold down the Control key and single-click (or right-click) your data file
    6. Select Show Package Contents from the pop-up menu
    7. Control + click on the Quotes file, select Move to Trash
    8. Start Quicken with you data file
    9. Open File > Import > From QIF...
    10. Quick Quicken
    Now all my files run on the Lion version with all the quote values.

  • Has anyone tried the new retina display MBP with a projector?

    I bought a new MacbookPro with retina display online the other day (hasn't arrived yet).  I use this primarily for business doing presentations etc.  Has anyone tried connecting a projector using the Thunderbolt VGA adapter?  Just curious if it'll work.
    Thanks

    Similar problem. I used my macbook Pro Retina with my Thunderbolt to VGA adapter all through the fall, and never had any trouble with it. Just before Christmas I got a Thunderbolt display.
    Since that time, whenever I connect the projector, I get a black screen. I can see and move the mouse, but nothing else. Other computers still work with the projector.
    I'm not certain if the Thunderbolt Display has anything to do with this or not, but it's just the timing that it happened.
    Grateful for anyone that can offer help!

  • Anyone tried the new Security Update (12/19/06)?  Is it safe?

    Has anyone ventured to install this yet? I'm only asking cause I've been burned a couple of times with these 'maladjusting" my machine. Just wondering if anyone has taken the plunge yet?
    TIA,
    Peter

    It's okay for me. The update seems to be for Quartz Composer and Quicktime, so hopefully it won't cause as many problems as before...

  • Has anyone tried the new Netscape browser 9.0

    I am using it now and I do have to say I love Safari but without anymore updates for it and it freezing on some web pages it is looking more like Netscape may be my replacement . Safari is best by far from the others in being smooth and blend so well with the OS . Opera, Camino , Firefox , and iCab all are good but some are just to buggy or hog up the resources or are like just a patch of a browser . Netscape is smooth in scroll , web page rendering and just looks great and is fast . What do you think.

    Instead of Netscape, you should try it's almost identical twin, SeaMonkey. SeaMonkey used to be called the Mozilla Internet Suite, from which the recent versions of Netscape are based. The difference is that there is no Netscape branding, and it's updated more frequently. Otherwise, they look and work the same. It even uses the same user files from the same location.
    http://www.mozilla.org/projects/seamonkey/
    I've been using the Safari 3 beta. The most recent update is pretty solid. As an alternative I use Camino. There are some web sites that specifically look for FireFox or IE, so I keep FireFox in the mix for that purpose.

  • I am trying to use the new iwork beta tools on iCloud.  I currently have 10.8.4 OSX on my iMac and 6.0.5 version of Safari, but when I try to open documents on my iphone in the cloud it tells me my browser isn't supported

    I am trying to use the new iwork beta tools on iCloud.  I currently have 10.8.4 OSX on my iMac and 6.0.5 version of Safari, but when I try to open documents on my iphone in the cloud it tells me my browser isn't supported

    Note that iWork for iCloud is only designed for PCs and Macs > http://support.apple.com/kb/HT5779
    To access to your iWork documents on the iPhone, install Keynote, Numbers or Pages from the App Store

  • How to create a server through WLST  ( Weblogic Scripting Tool ) ?

    How to create a server through WLST ( Weblogic Scripting Tool ) ?
    Thanks in advance...
    Sanjay

    Hi Murugesh,
    Thanks a lot for you reply..
    I was able to create a server using create(). Is it possible to clone a server ?
    When i create a server following tags is added to config.xml
    <server>
    <name>testServer_lab1</name>
    <listen-port>43000</listen-port>
    </server>
    And if i do a clone through admin console, following is added to config.xml
    <server>
    <name>testServer2_lab1</name>
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    </server>
    If incase, cloning is not possible through WLST, can i add following
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    under <server> tag which is created through WLST ?
    I am using 9.2 version.
    Regards
    Sanjay

  • Has Anyone Found the New Version of the  iPod Radio Remote?

    Hi,
    Per iLounge, Apple released an updated ipod radio remote that has the most current version of Apple's ipod headphones as opposed to the shortened ones. I've checked on-line, Best Buy, Circuit City Compu World, Micro Center with no luck. I aslo tried the bricks-and-mortar Apple store...they looked at me like I had ten heads. Apparently they have the same sku as the old set.
    I posted a question to Apple Support, but no response yet. Has anyone found the new version anywhere?
    Thanks

    Thanks. I've submitted requests to Apple to find out if or when they will be shipping the new remote, but they have not responded within their promoted 24-hour timeframe. I'll try to order from Apple directly and hope I get the new headphones too!
    Thanks

  • Has Anyone tried this new plug in WooWave Sync Pro?

    Hi there
    Has anyone tried this new plugin Woowave Sync pro?
    They claim to offer better results than you can get with the built in synchronizing engine.
    I downloaded the trial but can't figure out how to enable it in fcp.
    I got this crappy footage.. hours of it and I really need something to sort it out , hate manual syncing
    fcp tries and does some of it, but I got hours left unsynced.

    there are four episodes from MacBreak Studio avail for free, which explains MultiCam in FCPX
    http://youtu.be/gNOfgBClIvQ
    http://youtu.be/qKhmZbVgywk
    http://youtu.be/eeQzOycTlOU
    http://youtu.be/RS5Ct3I8Yrs
    … in there, you'll find some not-so-known 'tricks' to fasten the process of synching, such as using Markers (not 'on beat' just 'approx').
    I tried with my multicam soccer-recordings = no music (aside the referee's whistle ), and FCPX managed indeed to synch this stuff - impressive!

  • HAS ANYONE TRIED THE BELKIN LEATHER CASE FROM THE APPLE STORE?

    Hey I was wondering if anyone had tried the new Belkin case from the apple store?Most of the reviews were good but does this case have a belt clip?Does it scratch the screen?How good is it?Worth buying?
    Any feedback will be greatly appreciated.

    Here's what Apple recommends:
    http://support.apple.com/kb/ht3226#iphones
    Especially this part:
    Keep liquids away from the product.

  • Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.   I still can't get my contacts to open

    Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.
    I still can't get my contacts to open in Numbers like they used to do. I have a group of five addresses in a test folder in Mail called "untitled group." But no amount of pasting, dragging, etc can get them to open up in Numbers. My "real" folder has almost 100 addresses so I can't do it one by one.
    Thoughts?
    Thanks again.
    Bob

    Bob,
    You can place contacts in a table In Numbers by the following methods:
    Numbers 2.3:
    drag from contacts
    Numbers 3.2
    copy from contacts, then paste into Numbers
    In both cases you need to open System preferences, then select the "Security & Privacy panel and allow Numbers aaccess your contacts information.

  • Has anyone tried the Normalizer app?

    Has anyone tried the Normalizer app?  We are looking for something that will normalize job level for us.  The only app I have found was the normalizer and a lot of the links on their website don't work and it doesn't look like they have has any activity on their site for over 6 months.

    Great!! Thanks LB
    From: Leigh Burke
    Sent: Sunday, January 04, 2015 2:14 PM
    To: Thomas Reyto
    Subject: You have been mentioned by Leigh Burke in Re: Has anyone tried the Normalizer app? in Topliners
    http://topliners.eloqua.com/
    You have been mentioned
    by HYPERLINK "http://topliners.eloqua.com/people/lburke?et=notification.mention"Leigh Burke in Re: Has anyone tried the Normalizer app? in Topliners - HYPERLINK "http://topliners.eloqua.com/message/56819?et=notification.mention#56819"View Leigh Burke's reference to you

Maybe you are looking for

  • How to populate data in dynamic internal table

    Hi Expert, fyi. My dynamic internal table field is created base on data selected. Eg. select table qpcd has 5 records.  These 5 recods will become fieldname to my dynamic internal table. My dynamic internal table will be ...itab       01       02    

  • How to get the information of the log related to t.code generated by basis.

    In the log generated by the basis personnel we found the details of user and corresponding t.code used details.  How to get the information reg. which document he went into using this t.code? For example me29 t.code used by 'x' user.  The log is show

  • Dvd to ipad

    Is there any way to transfer dvd to ipad. Thanks

  • Urgent plz...CHanging project/maintenance cycle phase

    i have implementation project and activated ChaRM for it. the task list and project cycle has been created scuccessfully. i created change request and assigned to that task list. when i set status "Development Complete" i need to import the TRs manua

  • Full Browser in AS3 - Error #1009

    Please Help... I'm learning AS3 and Flash CS4 right now and I'm trying to do what I have been doing in AS2 for years and I'm having some problems.  I'm trying to make a Full-Browser Flash site and upon resizing the screen I get an error #1009. I am a