Edit D:\app\Administrator\product\11.2.0\dbhome_1\OPatch\jlib\oracle\opatch\opatchutil\OUSession.class
?? 0? ?? ? ? ? ? ? ? ?? ? ?? .? ?? ???? ? ? ? ? ?? ?? ?? ? ? ? !? . *? ! ! ! ! < ! >" ># !$% .&'( )*+, ?-. ?/0 12 345 67 389 S: S; <= >?@ ABC ?DE ?F GH IJK ILM ANO APQ RSTU VSW XYZ X[\ X]^ _`ab _c _def _g hijk hl hmno hp ?qrstuv ?wxy ?z{ j? |} ?~ ??? ???? ????? ????? ? ??? ???? ?? ?? ?? ??? ? ?? ?? ??? ?? ?? ?? ??? ???? ? ?? ??? ?? ?? ??? ?????????? ?? ?? ?? ?? ? 6? ?? ?? ?? ??? ???? ??? ?? ??? ?2??? ?? ?? ???? ???? ?? .?? ??? ?&? ?? ?? ??? ??? ?? ??? ?? ?? ?? ??? ?S???? ???? |? |? |?? ? |???? ?? ?? | | | patchBaseDir Ljava/lang/String; patchBaseFile baseDir Z phBaseFile cachePatchLocs [Ljava/lang/String; <init> ()V Code LineNumberTable LocalVariableTable this $Loracle/opatch/opatchutil/OUSession; isPatchBaseDirProvided ()Z getPatchBaseDir ()Ljava/lang/String; isPatchBaseFileProvided getPatchBaseFile parseBaseDirListFile ()[Ljava/lang/String; re Ljava/lang/RuntimeException; extractLoc topLevelDir fullPath sid pLoc pFile Ljava/io/File; i I fBuff Ljava/lang/StringBuffer; sList Ljava/util/ArrayList; count extPath tBuff al phBaseDir patchDir selectedList entry eachSubEntry eachEntry absolutePath pDir subDirs hasEtc hasFile patchFile fr Ljava/io/FileReader; br Ljava/io/BufferedReader; line e Ljava/io/FileNotFoundException; Ljava/io/IOException; patchLocs tmpPatchLocs isBaseDirZipFile Exceptions defaultOption (Ljava/lang/String;)V oracleHomePath buff defaultArgument arg installocm curWorkDir Ljava/lang/Exception; loadxml lsinvrac updateopatchversion msg applysql rollbacksql lsfiles lsinvfiles napply #Loracle/opatch/ExitOPatchException; nrollback runlocalmake runremotemake runanycommand copylistedfilestest copylistedfiles copylisteddirstest copylisteddirs removelistedfilestest removelistedfiles removelisteddirstest removelisteddirs cleanup reportMsg ee sizeBefore J sizeAfter pStorage patchStorage psDir promptMsg proceed cookedPatchID t Ljava/lang/Throwable; enableonlinepatch tbuf notInstalledPatchIDs Ljava/util/Vector; installedPatchIDs pRes )Loracle/opatch/opatchprereq/PrereqResult; pObj Loracle/opatch/PatchObject; pID filteredSet patchID inPatchIDs inSystem resObj disableonlinepatch sidInfo Ljava/util/HashSet; dbSids dbNodes localNode onlineProp Ljava/util/Properties; onlineFilePath prereqBuff restoreoh fs Ljava/io/FileInputStream; tmpPObj j found patchIDs mPo !Loracle/opatch/MergedPatchObject; pBuff [Loracle/opatch/PatchObject; pObjsList triggered tPatchIDs tPobjs pObjs propertiesPath prop sessionName sessionID triggeredPatchID updateremotenodes verify patchLoc ok xmlinput cmd command cmd_end ps fp "Ljava/lang/IllegalAccessException; fpFile dp dpFile dr mp phbasedir a fDir phbasefile fFile <clinit> SourceFile OUSession.java893401542167?@AB java/io/File8s@ .zipB java/lang/RuntimeException java/lang/StringBuffer !"1#B$@ $Could not extract the given zip file <The patch base location should be a directory or a zip file.%&s Invalid patch zip file.'F Process only patch IDs given by -id option.(s java/util/ArrayList Patch doesn't exist under ' ' ,)* $ Please specify a list of patch IDs #separated by commas without spaces. java/io/FileNotFoundException+,-. java/lang/String/01F234 The location " 0" is not a valid patch zip file. Its extraction did not create a directory.+56@ Ignoring file " " in the patch directory. 0" is not a directory or a valid patch zip file. Invalid patch location.DB java/io/FileReader87 java/io/BufferedReader889B:5 ;5 etc files<B java/io/IOException Unknown option on Oracle Home " "=Q $OUSession::defaultArgument(), arg = >? OPatch.RUNNING_DIR@ABCDE - OPatch is not bundled with OCM install bits.FGsHs java/lang/ExceptionIBJKLM : Please refer log file for details of this util operation.NOs UtilSession: XML file is OK.P|s UtilSession: lsInvRac done.Q@ OUI-67311RBSTsUVs UtilSession: applySql done.Ws UtilSession: rollbackSql done.?s UtilSession: lsFiles done.?s UtilSession: lsInvFiles done.XYs UtilSession: N-Apply done. !oracle/opatch/ExitOPatchExceptionZ UtilSession: N-Rollback done.[\s UtilSession: runLocalMake done.]s UtilSession: runRemoteMake done.^s UtilSession: runAnyCommand done._`s *UtilSession: Files copied to remote nodes. 2UtilSession failed to copy files to remote nodes. asbs 0UtilSession: Directories copied to remote nodes. 1UtilSession failed to copy dirs to remote nodes. csdes +UtilSession: Files removed on remote nodes. 4UtilSession failed to remove files on remote nodes. fsgs 1UtilSession: Directories removed on remote nodes. 3UtilSession failed to remove dirs on remote nodes. hsi@ OUI-67325 OUI-67323 java/lang/Object restore.sh,make.txt rac,scratch,backupRj OUI-67057 [y|n]k +UtilSession stopped cleaning up on request.lmBnBopq Size of directory " " before cleanup is r bytes. %Unable to get info on total size of " " in bytes.stu " after cleanup is No patch storage directory " " for given Oracle Home.ts OUI-67324 UtilSession java/lang/Throwable8vwB java/util/Vector enableonlinepatch() on Oracle Home xyC@ baseDir or baseFile providedEF Failed to parseBaseDir(): z@ use supplied patch IDs{|}~???? 9None of the given patches are present in the Oracle Home. 5Following patches are not installed and are skipped: ??? ? # is not present in the Oracle Home. + get patchLoc from OPatchEnv.getPatchLoc()?B patchLocs[0] is null or empty Util "enableOnlinePatch" failed.???? oracle/opatch/PatchObject8u?B 7Calling UpdateRemoteNodes.enableOnlinePatch() on patch ??? ! Util "enableOnlinePatch" failed. LUnable to create Patch Object. Check if the given patch location is correct. "disableonlinepatch on Oracle Home baseDir or baseFile provided. Fail to parseBaseDir(): "Util "disableOnlinePatch" failed: patchLoc is either null or empty java/util/HashSet?F?F?B???B java/util/Properties?? Patch ID: ?? # Util "disableOnlinePatch" failed. OUSession::restoreOH()?B java/io/FileInputStream?? SessionName SessionID PatchID TriggeredPatchID?????B?B 4No patch location specified. Restore cannot proceed. >Session is apply, but there are more than one session patches.?B 0SessionID does not match patchID with timestamp. 3PatchID does not match patch in the given location.???? oracle/opatch/MergedPatchObject <Patch location is not specified for the following patches : ? )Patch location specified is not complete.?E?? +Unable to create the patchobject for patch ?@ OUI-67111?s?@ OUI-67217?u????B ,Unknown session name in the properties file. $UtilSession: updateRemoteNodes done. ?UtilSession failed to propagate all RAC files to remote nodes. 5Verifying that patch has been applied to Oracle Home. .Please use -ph to point to the patch location.??E %Patch has been verified successfully. 3UtilSession failed to verify patch on ORACLE_HOME. ?s?s?s OUSession::fp()?@?s The file " &" does not exists or is not readable. "oracle/opatch/opatchutil/OUSession fp file is not valid.??? java/lang/IllegalAccessException `OUSession::fp()- "IllegalAccessException" was thrown when calling OPatchACL.setArgumentError(). OUSession::dp()?s dp file is not valid. `OUSession::dp()- "IllegalAccessException" was thrown when calling OPatchACL.setArgumentError(). OUSession::fr()?s The argument for -fr " " is invalid. fr argument is not valid. `OUSession::fr()- "IllegalAccessException" was thrown when calling OPatchACL.setArgumentError(). OUSession::dr()?s The argument for -dr " -dr argument is not valid. `OUSession::dr()- "IllegalAccessException" was thrown when calling OPatchACL.setArgumentError(). OUSession::mp(): OUSession::phBaseDir() The argument " " does not exists. !Patch base location is not valid. OUSession::phBaseFile() Patch base file is not valid. isDirectory endsWith (Ljava/lang/String;)Z oracle/opatch/OPatchEnv getPatchUnzipLocation oracle/opatch/ZipUtilities unzip 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; separator toString exists oracle/opatch/OLogger println getUserSuppliedPatchIDs printlnOnLog indexOf (Ljava/lang/String;)I add (ILjava/lang/Object;)V size ()I toArray (([Ljava/lang/Object;)[Ljava/lang/Object; list java/util/Arrays sort ([Ljava/lang/Object;)V (Ljava/lang/Object;)Z isFile (Ljava/io/File;)V (Ljava/io/Reader;)V readLine contains equals getAbsolutePath FINE log (ILjava/lang/String;)V java/lang/System getProperty &(Ljava/lang/String;)Ljava/lang/String; oracle/opatch/SCM isPlatformSpecific '(Ljava/lang/String;Ljava/lang/String;)Z !oracle/opatch/OPatchSessionHelper validateOCMOption processOCM getMessage getStackTrace ()[Ljava/lang/StackTraceElement; setStackTrace !([Ljava/lang/StackTraceElement;)V %oracle/opatch/opatchutil/XmlValidator validateXMLFile "oracle/opatch/opatchutil/LsSession isStandAloneHome getString &oracle/opatch/opatchutil/UpdateVersion upgradeCompVersion )oracle/opatch/opatchutil/ApplyRollbackSql applySql rollbackSql oracle/opatch/opatchutil/NApply process "oracle/opatch/opatchutil/NRollback $oracle/opatch/opatchutil/MakeSession runLocalMake runRemoteMake runAnyCommand $oracle/opatch/opatchutil/CopyToNodes copyListedFilesTest copyListedFiles copyListedDirsTest copyListedDirs &oracle/opatch/opatchutil/RemoveOnNodes removeListedFilesTest removeListedFiles removeListedDirsTest removeListedDirs isReport 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; proceedWithOperationDefaultYes oracle/opatch/opatchutil/UtilEnv getTimeStampedPatchID getPatchStorageDirectoryPath $oracle/opatch/opatchprereq/PrereqAPI getDirSize (Ljava/io/File;)J (J)Ljava/lang/StringBuffer; )oracle/opatch/opatchutil/OPatchUtilHelper cleanupBackupArea '(Ljava/lang/String;Ljava/lang/String;)V (Ljava/lang/Throwable;)V getRollbackPatchid debug (Ljava/lang/StringBuffer;)V isUserSuppliedPatchIDs checkInstalledOneOffs t(Ljava/lang/String;[Ljava/lang/String;Ljava/util/Vector;Ljava/util/Vector;)Loracle/opatch/opatchprereq/PrereqResult; 'oracle/opatch/opatchprereq/PrereqResult getResult ExecuteStatus InnerClasses 9()Loracle/opatch/opatchprereq/PrereqResult$ExecuteStatus; 5oracle/opatch/opatchprereq/PrereqResult$ExecuteStatus FAILED 7Loracle/opatch/opatchprereq/PrereqResult$ExecuteStatus; elementAt (I)Ljava/lang/Object; getPatchFilemapInfoLoc ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; getPatchloc checkDBInstanceUp =(Ljava/lang/String;)Loracle/opatch/opatchprereq/PrereqResult; PASSED getPatchID *oracle/opatch/opatchutil/UpdateRemoteNodes enableOnlinePatch 0(Ljava/lang/String;Loracle/opatch/PatchObject;)V getDBSIDs getDBNodes getLocalNode getOnlinePropertyFromFile *(Ljava/lang/String;)Ljava/util/Properties; getOnlinePropertyFilePath checkOnlinePatchRollbackSid ?(Loracle/opatch/PatchObject;Ljava/util/HashSet;Ljava/util/Properties;Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Loracle/opatch/opatchprereq/PrereqResult; disableOnlinePatch getSessionProperties load (Ljava/io/InputStream;)V oracle/opatch/OPatchSession APPLY Loracle/opatch/ApplySession; oracle/opatch/ApplySession getSessionName getNApplySessionName getCookedPatchID restoreSystemAndInventory ((Ljava/lang/String;Ljava/lang/String;Z)V split '(Ljava/lang/String;)[Ljava/lang/String; 2(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer; restorePluginActions E(Ljava/lang/String;Ljava/lang/String;Loracle/opatch/PatchObject;ZZZ)V isWindows info isNolink restoreMake ROLLBACK Loracle/opatch/RollbackSession; oracle/opatch/RollbackSession getNRollbackSessionName $oracle/opatch/opatchutil/VerifyPatch setXML setCommand setTimeStampedPatchID canRead setFilesToPropagate oracle/opatch/OPatchACL setArgumentError '(Ljava/lang/Object;Ljava/lang/String;)V setDirectoriesToPropagate setFilesToRemove setDirectoriesToRemove ! ? 01 21 34 54 67 / 89 : 3 *? ? ; ? ?<