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.





  • 相关阅读:
    日志框架之Slf4j整合Logback
    使用SLF4J和Logback
    Java日志框架SLF4J和log4j以及logback的联系和区别
    docker部署apollo
    mysql8.0设置忽略大小写后无法启动
    将项目迁移到kubernetes平台是怎样实现的
    kubectl port-forward
    linux服务器安全配置最详解
    CentOS7.3下部署Rsyslog+LogAnalyzer+MySQL中央日志服务器
    统计linux 下当前socket 的fd数量
  • 原文地址:https://www.cnblogs.com/wanghang/p/6299332.html
Copyright © 2011-2022 走看看