zoukankan      html  css  js  c++  java
  • How to Find the Self Service Related File Location and Versions

    

    In this Document

    Goal


      Solution



    Applies to:

    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***


    Goal


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


    Solution


    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


    1. Navigate to $JAVA_TOP
    2. Do a find command by starting with a back slash
    3. 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
    4. 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 $

    5. 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'
    6. 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.





  • 相关阅读:
    《Programming in Lua 3》读书笔记(十)
    《Programming in Lua 3》读书笔记(九)
    《Programming in Lua 3》读书笔记(八)
    [原]NYOJ-括号匹配-2(java)
    [原]NYOJ-字符串替换-113
    [原]NYOJ-小光棍数-458
    [原]NYOJ-公约数和公倍数 -40
    [原]NYOJ-开灯问题-77
    [原]NYOJ-数的位数-69
    [原]NYOJ-大数阶乘-28
  • 原文地址:https://www.cnblogs.com/wanghang/p/6299332.html
Copyright © 2011-2022 走看看