Friday, February 5, 2010

Using WLST with Oracle Fusion Middleware Products

WebLogic Scripting Tool (WLST) is the standard command-line and scritping solution for administering WebLogic Server. Now with WebLogic Server (WLS) being the core application server for the Oracle Fusion Middleware (OFMW) components, WLST is also being extended for configuring and monitoring OFMW coponents. For example now you can use WLST for configuring Oracle SOA Suite, Oracle Web Center etc. WLST can be started by invoking the corresponding Java class or using wlst.cmd/sh script under the WL_HOME/common/bin folder for WLS environments. But when WLST is being used with other OFMW components it requires additional libraries and modules.

So instead of starting WLST from the WLS folders, it should be started from the respective component folders (E.g ORACLE_HOME_for_SOA/common/bin/wlst.sh). That way all the required additional libraries and modules are loaded and you can use the extended command to configure OFMW components like Oracle SOA suite, Oracle Web Center etc. If in case you started WLST from WLS folders or by directly invoking the Java command then you might see an error similar to the following:

wls:/wl_S3001/serverConfig> deleteConnection(appName, conn-name)
Traceback (innermost last):
File "", line 1, in ?
NameError: deleteConnection


The above is an example of a general Oracle WebCenter custom WLST command deleteConnection. If the command is not recognized by WLST then you would receive a NameError. This is the indication that WLST did not understood that command. As the OFMW component specific command are exention to the basic WLST they work only when the proper libraries and modules are loaded. You can find more information about this here - http://download.oracle.com/docs/cd/E12839_01/core.1111/e10105/getstart.htm#ASADM10692





6 comments:

Unknown said...

Good site! I guess whether it is friendly to my eyes it really is. | I was wondering how to be notified when a new post is made. I can do the trick you are subscribed to your feeds? ! Have a great day
Oracle SQL

oracleappsdba said...

Thanks for this blog post, I was trying to configure ODI Console running Weblogic(following oracle walkthrough) and when updating the credentials was getting the NameError Message.

After reading your post I went back and launch WLST from the ODI ORACLE_HOME and had no problems.

Cheers.

Le Mystique said...

Hi! I am a digital marketer. The previous seo guy working for my client left a spammy comment at your blog with the username Rosemarie Rana which links to my client's site.
Such comments are or might cause serious damage to my client's site with respect to SEO which is why I am request you here by to remove it asap.
If you don't remove it by 11:59 pm, Pacific Standard Time, 3rd January 2014, we will have use Google's Disavow Tool to get back-link removed and, sorry to say this, but Google may not look too nicely upon you either for not having removed the comment. Thanks in advance for your cooperation.

Unknown said...

Really something grate in this article Thanks for sharing this. We are providing MIDDLE-WARE TECTNOLOGIES courses training online. After reading this slightly am changed my way of introduction about my training to people. And also refer my website for MIDDLE-WARE TECTNOLOGIES Training and solutions of MIDDLE-WARE TECHNOLGIES applications. Please Visit Us @ MIDDE-WARE TECHNOLOGIES training courses online

Unknown said...

We are offering website in affordable price for your business or your product......

Buzz Applications

Softgen Infotech said...

such a great word which you use in your article and article is amazing knowledge. thank you for sharing it.

Become an Expert In SAP BASIS Training! The most trusted and trending Programming Language. Learn from experienced Trainers and get the knowledge to crack a coding interview, @Softgen Infotech Located in BTM Layout.