天天看點

How to Find the Self Service Related File Location and Versions



How to Find the Self Service Related File Location and Versions

How to Find the Self Service Related File Location and Versions (文檔 ID 781385.1)

In this Document

Goal

Solution

Oracle Self-Service Human Resources - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]

Oracle Talent Management - Version 11.5.10.2 to 12.1.2 [Release 11.5.10 to 12.1]

Oracle Performance Management - Version 11.5.10.2 to 12.1.3 [Release 11.5.10 to 12.1]

Information in this document applies to any platform.

***Checked for relevance on 20-FEB-2013***

How to Find the Self Service Related File Location and Versions?

Review the Following for an Example of How to Find the Self Service Related File Location and Versions

Let us take for example the following file name:      UpdatePMPageButtonBarCO.java file

Navigate to $JAVA_TOP

Do a find command by starting with a back slash

Important: You will search for .class and not .java

\

> find . -name UpdatePMPageButtonBarCO.class

The output will be like this:

./oracle/apps/per/wpm/perfmgmtplans/webui/UpdatePMPageButtonBarCO.class

After Then you need to grep it's Header to get the .java version

> strings -a \

> ./oracle/apps/per/wpm/perfmgmtplans/webui/UpdatePMPageButtonBarCO.class \

> | grep Header

The output would be like this:

Q$Header: UpdatePMPageButtonBarCO.java 115.8 2008/04/10 13:14:43 rvagvala noship $

There is one more way to get the file version:

Click on Diagnostics Link on top of the page >

Show Pool Monitor >

Click on AMs >

Versions >

In the Class Name field pass: oracle.apps.per.wpm.perfmgmtplans.webui.UpdatePMPageButtonBarCO

and then click on 'Go'

Sometimes you would like to know which patch delivered which version of a specific file, for that you can use the following example:

select distinct app_short_name,b.bug_number,

version,f.filename,

to_char(prb.creation_date,'dd-mon-yyyy, hh24:mi:ss') Patch_date

from

ad_file_versions v,

ad_files f,

ad_patch_run_bug_actions prba,

ad_patch_run_bugs prb,

ad_bugs b

where

v.file_id=f.file_id

and f.file_id=prba.file_id

and prba.patch_run_bug_id = prb.patch_run_bug_id

and prb.bug_id=b.bug_id

and prba.patch_file_version_id=v.file_version_id

and f.filename='UpdatePMPageButtonBarCO.class'

The output will list each of the patches which updated the file version.