Vous êtes sur la page 1sur 8

How to find PATCH (BUG) Version >> Connect to database as user apps

SELECT FROM WHERE

* AD_BUGS BUG_NUMBER

'1238573'

How to find Db Version >> Connect to database as user apps SQL> select * from v$version; Output like Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production PL/SQL Release 11.1.0.7.0 - Production CORE 11.1.0.7.0 Production TNS for Linux: Version 11.1.0.7.0 - Production NLSRTL Version 11.1.0.7.0 - Production How to find APPS FILE Version >> Connect to database as user apps

SELECT

FROM WHERE AND ORDER

AF.APP_SHORT_NAME AP_SHORT ,AF.FILENAME ,AFV.FILE_VERSION_ID ,AFV.FILE_ID ,AFV.VERSION ,AFV.CREATION_DATE ,AFV.LAST_UPDATE_DATE AD_FILES AF ,AD_FILE_VERSIONS AFV AF.FILE_ID = AFV.FILE_ID AF.FILENAME LIKE 'PNQLEASE.fmb' BY AFV.LAST_UPDATE_DATE DESC

How to find Apps Version (11i/R12/12i) >> Connect to database as user apps SQL> select release_name from apps.fnd_product_groups; Output like 12.0.4 or 11.5.10.2 Web Server/Apache or Application Server in Apps 11i/R12 >> Log in as Application user, set environment variable and run below query $IAS_ORACLE_HOME/Apache/Apache/bin/httpd -version Output for 11i should be like Server version: Oracle HTTP Server Powered by Apache/1.3.19 (Unix) Server built: Jan 26 2005 11:06:44 (iAS 1.0.2.2.2 rollup 5) Output for R12 should be like Server version: Oracle-Application-Server-10g/10.1.3.0.0Oracle-HTTP-Server Server built: Dec 4 2006 14:44:38 Forms & Report version (aka developer 6i) in 11i >> Log in as Application user, set environment variable and run below query $ORACLE_HOME/bin/f60run | grep Version | grep Forms output like Forms 6.0 (Forms Runtime) Version 6.0.8.25.2 (Production) Check fourth character in version 25 which means Forms 6i patchset 16 (25-9) Forms & Report version in R12/12i >> Log in as Application user, set environment variable and run below query $ORACLE_HOME/bin/rwrun | grep Release Output should be like Report Builder: Release 10.1.2.2.0 You can safely ignore warnings Oracle Jinitiator in 11i/R12/12i >> Log in as Application user, set environment variable and run below query grep jinit_ver_comma $CONTEXT_FILE (Default is Java Plug-In for R12/12i ) Oracle Java Plug-in in 11i/R12/12i >>

Log in as Application user, set environment variable and run below query grep plugin $CONTEXT_FILE

File Version on file system >> adident Header <filename> or strings <file_name> | grep Header Here adident is AD Utility (Oracle Apps) and strings is Unix utility Version of pld file >> *.pld are source code of *.pll which are inturn source of *.plx. *.pll is in $AU_TOP/resource and to find its version check adident Header $AU_TOP/resource/<filename>.pll IGSAU012.pll: $Header IGSAU012.pld 115.1.115100.1 2004/04/01 05:40:18 appldev ship $ or strings $AU_TOP/resource/<filename>.pll | grep -i header FDRCSID($Header: IGSAU012.pld 115.1.115100.1 2004/04/01 05:40:18 appldev ship $); OA Framework Version >> http:// hostname.domainName:port/OA_HTML/OAInfo.jsp (Only for 11i); Log in as Application user, set environment variable and run below query adident Header $FND_TOP/html/OA.jsp adident Header $OA_HTML/OA.jsp output for both should look like $Header OA.jsp 115.60 2006/03/31 00:47:28 atgops1 noship $ 120.21 means 115.60 means 115.56 means 115.36 means 115.27 means 115.26 means OA OA OA OA OA OA Framework Framework Framework Framework Framework Framework Version (coming soon..) Version (coming soon..) Version (coming soon..) Version 5.7 Version 5.6E Version 5.5.2E

Discoverer Version for 11i (3i or 4i) >> Log in as Application user, set environment variable and run below query $ORACLE_HOME/bin/disc4ws | grep -i Version Discoverer Version for 11i or R12 (10g AS) >> Check under Application Server Section as 10g AS Discoverer is on standalone Workflow Version with Apps >> Connect to Database as apps user SQL> select TEXT Version from WF_RESOURCES where NAME = WF_VERSION; Output like 2.6.0 means workflow version 2.6.0 Oracle Single Sign On >> Connect to database which holds SSO repository SQL>select version from orasso.wwc_version$; Oracle Internet Directory >> There are two component in OID (Software/binaries & Schema/database)

To find software/binary version


$ORACLE_HOME/bin/oidldapd -version output should look like oidldapd: Release 10.1.4.0.1 - Production on thu sep 11 11:08:12 2008 Copyright (c) 1982, 2006 Oracle. All rights reserved.

To find Schema Version/ database use


ldapsearch -h <hostname> -p <port> -D cn=orcladmin -w <password> -b \ -s base objectclass=* orcldirectoryversion

and output should be like version: 1 dn: orcldirectoryversion: OID 10.1.4.0.1 or run following query in database SQL> select attrval from ods.ds_attrstore where entryid = 1 and attrname = orcldirectoryversion; Output should be like OID 10.1.4.0.1 Application Server >> Oracle Application Server (Prior to Oracle WebLogic Server) If application server is registered in database (Portal, Discoverer) check from database SQL> select * from ias_versions; or SQL>select * from INTERNET_APPSERVER_REGISTRY.SCHEMA_VERSIONS; AOC4J (Oracle Container for J2EE) Set ORACLE_HOME cd $ORACLE_HOME/j2ee/home java -jar oc4j.jar -version Oracle Portal >> SQL> select version from portal.wwc_version$; Database Component I) Oracle Database To find database version SQL> select * from v$version; or All component version in database $ORACLE_HOME/OPatch/opatch lsinventory -detail Oracle Enterprise Manager >> Metalink Note 605398.1 How to to find the version of the main EM components Unix Operating System Solaris -> cat /etc/release Red Hat Linux -> cat /etc/redhat-release

==================================================================

Version of Oracle Applications You may never need this but in case you are looking at a new environment then the simplest way to figure out your application version is by navigating to Help-> About Oracle Applications from any of the forms sessions. Or Connect as apps user select release_name from apps.fnd_product_Groups; Version of Applications Forms (fmb,fmx) or reports (rdf)

To find the version of any oracle applications files strings -a ICQTYED.fmx | grep Header Alternatively you can also use the adident command adident Header ICQTYED.fmx Version of a Java class File To find the version of a java class file $ strings | grep '$Header' Version of JDBC In your middle tier, edit the jserv.properties file located in the iAS_ ORACLE_HOME/Apache/Jserv/etc directory Locate the wrapper.classpath that is pointing to the jdbc zip file /u01/oracle/viscomn/java/jdbc14.zip Or http://.:port/OA_HTML/jsp/fnd/aoljtest.jsp Look for String JDBC driver version under Connection String Version of Apache Go to the $iAS/Apache/Apache/bin directory and enter the following command: $ httpd -version Version Of The OA Framework To find out the version of your Oracle appplication Framework Option 1 http://.:port/OA_HTML/OAInfo.jsp Option 2 adident Header %FND_TOP%/html/OA.jsp adident Header %OA_HTML%/OA.jsp Note: OA.jsp should be of the same version in both the places Version of Application Product or Patch Set Level. One of the most common things you will asked by your support engineer is the version or commonly known as the patch set level of your Oracle Applications product, while or after raising your service request. You can query this by logging on to your application database as the apps user. select patch_level from fnd_product_installations where patch_level like '%AD%';

Version of Discoverer cd $APPL_TOP/admin grep -I s_disco_ver_comma **xml


Version of OJSP Log in to the application server as the applmgr user cd $OA_HTML edit the jtflogin.jsp file to add the following line

OJSP Version: clear your cache and bounce your apache server soruce the jtflogin.jsp from your browser http://vis.oneapps.com:8000/OA_HTML/jtflogin.jsp OJSP Version: 1.1.3.5.2 Version of JSP

Log on to your HTTP Server node, and change to the OA_HTML directory. Using a text editor, create a file called test.jsp with only the following line:

Access this JSP from a web browser, using the URL: http://[your web server]:[your port]/OA_HTML/test.jsp <!--[if !supportLineBreakNewLine]--><!--[endif]--> Version of Portal select fnd_oracle_schema.getouvalue(PORTAL) from dual; FND_ORACLE_SCHEMA.GETOUVALUE(PORTAL) PORTAL30 <= to retrieve the portal user select version from PORTAL30.wwc_version$; VERSION 3.0.9.8.1
or

begin execute immediate 'select fnd_oracle_schema.getouvalue(''PORTAL'') from dual' into portal_user; begin execute immediate 'select user_name from fnd_user where user_name like upper('''||portal_user||''')' into portal_user_name; if portal_user is not null then execute immediate 'select version from '||portal_user||'.wwc_version$' into portal_ver; check_message := ' [PASS] Your Applications database contains Portal version: '||portal_ver; dbms_output.put_line(check_message); end if; exception when no_data_found then null; end; exception when others then

null ; end;
Version of XML Parser

You can find out the version of your XML Parser using the following query SQL> select WF_EVENT_XML.XMLVersion() XML_VERSION 2 from sys.dual; XML_VERSION -------------------------------------------------------------------------------Oracle XDK Java 9.0.4.0.0 Production Version of XML Publisher To check weather XML publisher is installed or not you can query the FND_PRODUCT_INSTALLATIONS table or you can lookup the reports in Oracle Applications Manager. You can find out the version for your XML publisher from the output of your report or from MetaInfo.class file. $OA_JAVA/oracle/apps/xdo/common/MetaInfo.class. Version of WorkFlow
You can find out the version of your workflow using the following query SQL> select TEXT Version from WF_RESOURCES 2 where TYPE = 'WFTKN' and NAME = 'WF_VERSION'; VERSION -------------------------------------------------------------------------------2.6.0

Version of Oracle Login Server begin execute immediate 'select fnd_oracle_schema.getouvalue(''LOGINSERVER'') from dual' into sso_user; begin execute immediate 'select user_name from fnd_user where user_name like upper('''||sso_user||''')' into sso_user_name; if sso_user is not null then execute immediate 'select version from '||sso_user||'.wwc_version$' into sso_ver; check_message := ' [PASS] Your Applications database contains Login Server version: '||sso_ver; dbms_output.put_line(check_message); end if; exception when no_data_found then null; end; exception when others then null ; end;

================================================================================================

How To Find Oracle Application File Versions.


In this post, sharing the way of finding the correct version of Oracle Applicatins file version of different component. This should be helpful while patching the applications. Use the following information for the appropriate file type. FORM adident cd $AR_TOP/forms/US Ex. adident Header ARXTWLIN.fmx strings -a form.frm | grep Revision Ex. cd $AU_TOP/forms/US strings -a POXPOVCT.fmb | grep Revision Use \Help Version Or Help, About Oracle Applications

REPORT cd $AR_TOP/reports adident adident Header report.rdf Ex. adident Header ARBARL.rdf strings -a report.rdf | grep Header Ex. strings -a ARBARL.rdf | grep Header SQL more sqlscript.sql Ex. more ARTACELO.sql The version will be in a line that starts with 'REM $Header', and should be one of the first lines in the .sql file. grep '$Head' sqlscript.sql Ex. grep '$Head' ARTACELO.sql BIN or EXECUTABLE An executable in the bin directory will contain numerous C code modules, each with its own version. All of the following examples use ident or strings, but the difference is what you grep for. 1. Get ALL file versions contained in the executable. adident Header executable (Ex. adident Header RACUST) strings -a executable | grep Header (Ex. strings -a RACUST | grep Header) 2. Get ALL of the product specific file versions. adident Header executable (Ex. adident Header RACUST) strings -a executable | grep Header (Ex. strings -a RACUST | grep Header) 3. Get only the version of a specified module. strings -a executable | grep module (Ex. strings -a RAXTRX | grep raaurt) 4. A Collection of class file versions from the directory where the classfile exists in a command prompt run the following: strings -a Classname.class | grep Header Get ALL of the product specific file versions. strings -a executable | grep 'Header: product_short_name' cd $FND_TOP/bin strings -a WFLOAD | grep 'Header: afspc' Get only the version of a specified module. strings -a executable | grep module ORACLE REPORTS From the form, select Help, About Oracle Reports.

RDBMS 1. Use \Help Version 2. Or Help, About Oracle Applications 3. Get into SQL*Plus using any userid/password. You will get a string that tells you the PL/SQL version and data

Vous aimerez peut-être aussi