# S301WLS.def: Collects Oracle WebLogic Server Information # $Id: S301WLS.def,v 1.3 2009/01/14 10:12:36 ldens Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S301WLS.def,v 1.3 2009/01/14 10:12:36 ldens Exp $ # # Change History # 20090114 LDE Change the copyright notice. =head1 NAME S301WLS - Collects Oracle WebLogic Server Information =head1 DESCRIPTION This module collects Oracle WebLogic Server-related information. The module covers Oracle WebLogic Server Release 9.x and 10.x. =cut echo tput('bold'),'Processing Oracle WebLogic Server module ...',tput('off') # Initialization var $ORACLE_HOME = getSetting('MW_ORACLE_HOME','') var $WLST_DIR = catDir(getSetting('WLS_HOME',''),'common') # Set the middleware environment if length($ORACLE_HOME) var $env = setEnv('MW_ORA_HOME',$ORACLE_HOME) # Execute the collection based on WLST availability if grepDir(catDir($WLST_DIR,'bin'),'^wlst\.(cmd|sh)$','f') {var $typ = uc(getSetting('WLS_TYPE','OFF')) if compare('eq',$typ,'ALL') run WLSm($typ) else run WLSs($typ,true) } else run WLSs('OFF',false) # Restore the previous environment if length($ORACLE_HOME) call setEnv('MW_ORA_HOME',$env) =head1 SEE ALSO L, L =begin credits =over 10 =item RDA 4.13: Greg Cook, Andrew Salt. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002-2009, Oracle. All rights reserved. =head1 TRADEMARK NOTICE Oracle, JD Edwards, PeopleSoft, and Siebel are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. =cut