Oracle Application Server 10g Administrator's Guide 10g (9.0.4) Part Number B10376-01 |
|
This appendix describes how to view Oracle Application Server release numbers.
It contains the following topics:
Oracle recommends you keep a log of all one-off patches applied to your Oracle Application Server installations.
Note:
To understand the release level nomenclature used by Oracle, examine the example of an Oracle release number shown in Figure H-1.
This is the most general identifier. It represents a major new edition (or version) of the Oracle database server, Oracle Application Server, or Oracle9iDS, and indicates that the release contains significant new functionality.
This digit represents a maintenance release level. Some new features may also be included.
This digit reflects the release level of Oracle Application Server.
This digit identifies a release level specific to a component. Different components can have different numbers in this position depending upon, for example, component patch sets or interim releases.
This digit identifies a platform specific release.
All Oracle Application Server installations have a release number. This number is updated when you apply a patch set release or upgrade the installation.
You can view the release number of an Oracle Application Server installation using Oracle Universal Installer, as follows:
ORACLE_HOME
/oui/bin/runInstaller.sh
All Oracle Application Server components have a release number and many contain services that have release numbers. These numbers may be updated when you apply a patch set release or upgrade the installation.
You can view the release number of components and their services in the following ways:
You can view component release numbers as follows:
cd
ORACLE_HOME
/inventory
ls -d Components*/*/*
If you installed Oracle Application Server using Oracle Universal Installer, you can view component release numbers as follows:
ORACLE_HOME
/oui/bin/runInstaller.sh
Oracle Internet Directory has a server release number, which is the version of the binaries. It also has schema and context versions. All of these numbers correspond to the Oracle Application Server installation release number up through the third digit. These numbers may be updated when you apply a patch set release or upgrade the installation.
The Oracle Internet Directory server release number is the version of the binaries. You can view the Oracle Internet Directory server release number as follows:
ORACLE_HOME
environment variable is set.
ORACLE_HOME
/bin/oidldapd -version
You can view the Oracle Internet Directory schema and context versions in this file:
ORACLE_HOME
/ldap/schema/versions.txt
The contents of this file are kept up-to-date, however, you can also query the schema and context release from Oracle Internet Directory, just to be sure.
To view the schema version:
ORACLE_HOME
environment variable is set.
ORACLE_HOME
/bin/ldapsearch -hoid_host
-poid_port
-D "cn=orcladmin" -worcladmin_password
-b "cn=base,cn=oracleschemaversion" -s base "objectclass=*" orclproductversion
The output will be in this form:
cn=BASE,cn=OracleSchemaVersion orclproductversion=90400
To view the context version:
ORACLE_HOME
environment variable is set.
ORACLE_HOME
/bin/ldapsearch -hoid_host
-poid_port
-D "cn=orcladmin" -worcladmin_password
-b "cn=oraclecontext" -s base "objectclass=*" orclversion
The output will be in this form:
cn=oraclecontext orclversion=90400
Metadata Repositories have the following release numbers:
This is the Oracle9i database release number.
This is the release number for the Metadata Repository--this number is equal to the Oracle Application Server installation release number.
The Oracle Application Server schemas in the Metadata Repository have release numbers. These numbers do not necessarily correspond to Oracle Application Server release numbers or database release numbers.
The Metadata Repository is an Oracle9i database that has a release number. This number is updated when you apply a patch set release or upgrade the database.
You can view the Metadata Repository release number using SQL*Plus as follows (you can be connected to the database as any user to issue these commands):
SQL> COL PRODUCT FORMAT A35 SQL> COL VERSION FORMAT A15 SQL> COL STATUS FORMAT A15 SQL> SELECT * FROM PRODUCT_COMPONENT_VERSION; PRODUCT VERSION STATUS ----------------------------------- --------------- ---------------- NLSRTL 9.0.1.5.0 Production Oracle9i Enterprise Edition 9.0.1.5.0 Production PL/SQL 9.0.1.5.0 Production TNS for Solaris: 9.0.1.4.0 Production
You can view the Metadata Repository Container release number, as well as schema release numbers, using SQL*Plus as follows (you must log in as a user with SYSDBA privileges):
SQL> COL COMPONENT_NAME FORMAT A35 SQL> COL ID FORMAT A15 SQL> COL VERSION FORMAT A15 SQL> SELECT * FROM IAS_VERSIONS; COMPONENT_NAME ID VERSION ----------------------------------- --------------- ---------------- Metadata Repository Container mrc 9.0.4.0.0 Oracle Ultrasearch ultrasearch 9.0.4 Oracl9i Workflow workflow 2.6.3
IAS_VERSIONS
is a public synonym to a view owned by the INTERNET_APPSERVER_REGISTRY
user. If the above query returns an error, it may be because:
Either case indicates that the database is not properly seeded to be a Metadata Repository.
To get the same result by querying the underlying table:
SQL> SELECT * FRIM INTERNET_APPSERVER_REGISTRY.SCHEMA_VERSIONS;
|
![]() Copyright © 2002, 2003 Oracle Corporation. All Rights Reserved. |
|