# S366JDBC.def: Collects Oracle Java DB Connectivity (JDBC) Information # $Id: S366JDBC.def,v 1.2 2009/08/07 15:32:33 mschenke Exp $ # ARCS: $Header: /u02/webapps/workbench/cvs/RDA_4/src/scripting/lib/modules/S366JDBC.def,v 1.2 2009/08/07 15:32:33 mschenke Exp $ # # Change History # 20090713 JJU Initial version. =head1 NAME S366JDBC - Collects Oracle Java DB connectivity (JDBC) Information =head1 DESCRIPTION This module collects Oracle Java DB Connectivity (JDBC)-related diagnostic information. The following reports can be generated and are regrouped under C: =cut echo tput('bold'),'Processing JDBC module...',tput('off') # Initialization var $ORACLE_HOME = getSetting('ORACLE_HOME','') var $JDBC_LIB = catDir($ORACLE_HOME,'jdbc','lib') var $TOC = '%TOC%' var $TOP = '[[#Top][Back to top]]' pretoc '1:Oracle JDBC' =head2 manifest - Manifest Information Extracts the manifest from F<$ORACLE_HOME/jdbc/lib/ojdbc14dms.jar> when F is available. =cut if testFile('f',catFile($JDBC_LIB,'ojdbc14dms.jar')) {if findCommand('unzip') {var $cmd = last report manifest debug ' Inside JDBC module, extracting the manifest' var $cmd = concat($cmd,' -p ',lastCommand(),' META-INF/MANIFEST.MF') prefix write '---++ Manifest Information' call writeCommand($cmd) if isCreated(true) toc '2:[[',getFile(),'][rda_report][Manifest Information]]' } } =head2 lib - lib Directory Contents Lists the contents of F<$ORACLE_HOME/jdbc/lib> directory. =cut debug ' Inside JDBC module, listing the lib directory contents' report lib prefix write '---+ Contents of the lib Directory' call statDir('n',$JDBC_LIB) if isCreated(true) toc '2:[[',getFile(),'][rda_report][lib Directory Contents]]' unpretoc =begin credits =over 10 =item RDA 4.17: Anjani Sankar, Miguel Hernandez =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