Edit D:\app\Administrator\product\11.2.0\dbhome_1\assistants\netca\jlib\oracle\net\ca\NetCADeconfig.class
?? 1 ?? ?? ??? ? ?? ??? ?? ??? ?? ??? ?? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??? ? (? (? (??? ??? (??? ??? ?? ?????? ?? ?? ?? ?? ?? ?? ?? ?? ??? ?? ?? ?? ?? ?? ??? ??? ?? ????? ?? ?? ???? ??? ?????? ?? ?? ??? ?? ?? ?? ??? ??? ??? (? ??? ??? ?? ?? ?? ??? ?? (????? ??????? ??? ? ?? ? ? ? ? ? ? ? ? ? ? ? ?!" ?#$%&'( ) ?*+, %-. /0 ?# 12 %345 ?6789:;< ?=>?@ ? A ?BCD ?EF G ?HI ?JK ??L ?M ?NO ??PQR S? ?T ?UV ?W ?X YZ[ ?\ ?]^_`ab %cdefghijkl 1mnopqr ?)stu ?v ?wx ?yz ?? ?{|} ~ ? ? % ?????? ????? ? ? ? ? ?? ??? ? ??????????? %??? ?? ? ?? ?????????? ?? ???? 3?? 6??? ?????? ?????? %??? G~ G? G????? ?? ??? ?? G? (?? G? ?????? [ [??? 6??? b? b??? 3? [?? ?????????? [?????? z??????? ????? ?? ???? ? ? ? ? ? ? ? ? ? S S ? ? ? ?! ?"# ?$ ?% ??&'( ?) %* ?+, (- ?. (/012 34567 ?89:;<=>?@ABCDEFGHIJKLMNOPQR ?? ?STUVW ?X ?YZ[\] ?^ (? %_` (a ?bcde Sfg ?? ?h ??ij kl ?mn NotExistException InnerClasses m_netstr Loracle/net/ca/NetStrings; m_haUtils ,Loracle/sysman/assistants/util/hasi/HAUtils; m_exitCode I <init> ()V Code LineNumberTable checkConfig ((Ljava/util/Properties;)Ljava/util/List; Exceptions )(Ljava/util/Properties;Z)Ljava/util/List; cleanConfig -(Ljava/util/Properties;)Ljava/util/ArrayList; Signature A(Ljava/util/Properties;)Ljava/util/ArrayList<Ljava/lang/String;>; discoverLsnrs +(Ljava/util/Properties;)Ljava/util/HashMap; Q(Ljava/util/Properties;)Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>; discoverLsnrsInCRSHome discoverLsnrsInHASHome discoverLsnrsInRACHome discoverLsnrsInSIHome cleanNetConfig cleanLsnrs cleanLsnrsInCRSHome cleanLsnrsInHASHome cleanLsnrsInRACHome cleanLsnrsInSIHome cleanRACLsnrs cleanSIHALsnrs cleanSILsnrsInRACHome cleanSILsnrs getLsnrsFrPropFile setLsnrsInPropFile ,(Ljava/util/Properties;Ljava/util/HashMap;)V R(Ljava/util/Properties;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;)V isSilent (Ljava/util/Properties;)Z isLocal getOracleHome *(Ljava/util/Properties;)Ljava/lang/String; getOracleHomeName getHomeType isCRSHome isHASHome isRACHome isSIHome isClientHome isTGHome validateHomeType (Ljava/util/Properties;)V validateOracleHome isCRSRunning ()Z isHASRunning initTrace +(Ljava/util/Properties;Ljava/lang/String;)V getTraceFileName &(Ljava/lang/String;)Ljava/lang/String; hasParamFile locationExists (Ljava/lang/String;)Z getTnsAdmin getClusterNodes +(Ljava/util/Properties;)[Ljava/lang/String; parseNodeList '(Ljava/lang/String;)[Ljava/lang/String; isShared getLocalNode isLocalNode +(Ljava/util/Properties;Ljava/lang/String;)Z cloneConfig 6(Loracle/net/config/Config;)Loracle/net/config/Config; getCheckConfigSummary createConfig .(Ljava/lang/String;)Loracle/net/config/Config; getLsnrsFromFile 1(Loracle/net/config/Config;)Ljava/util/ArrayList; E(Loracle/net/config/Config;)Ljava/util/ArrayList<Ljava/lang/String;>; getLsnrsFromRemoteFile C(Loracle/net/config/Config;Ljava/lang/String;)Ljava/util/ArrayList; W(Loracle/net/config/Config;Ljava/lang/String;)Ljava/util/ArrayList<Ljava/lang/String;>; getSIHALsnrs )(Ljava/lang/String;)Ljava/util/ArrayList; =(Ljava/lang/String;)Ljava/util/ArrayList<Ljava/lang/String;>; getRACLsnrs getScanLsnrs ()Ljava/util/ArrayList; +()Ljava/util/ArrayList<Ljava/lang/String;>; stopSILsnr 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z stopSILsnrOnNodes ^(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Z stopRACLsnr stopRACLsnrOnSelectiveNodes stopSIHALsnr unregisterLsnrWithHA deleteSILsnrInRACHome z(Loracle/net/config/Config;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;ZZ)Z deleteSILsnr S(Loracle/net/config/Config;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z deleteRACLsnr _(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Z)Z deleteSIHALsnr promptFor confirm ?(Ljava/util/Properties;Ljava/util/HashMap;Ljava/util/HashMap;)V ?(Ljava/util/Properties;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;Ljava/util/HashMap<Ljava/lang/String;Ljava/lang/String;>;)V confirmRACLsnrs confirmSIHALsnrs confirmFromUser S(Ljava/lang/String;Ljava/util/ArrayList;Ljava/util/ArrayList;)Ljava/util/ArrayList; ?(Ljava/lang/String;Ljava/util/ArrayList<Ljava/lang/String;>;Ljava/util/ArrayList<Ljava/lang/String;>;)Ljava/util/ArrayList<Ljava/lang/String;>; cleanConfigFiles cleanConfigFilesClusterwide containedInList *(Ljava/util/ArrayList;Ljava/lang/String;)Z >(Ljava/util/ArrayList<Ljava/lang/String;>;Ljava/lang/String;)Z '(Ljava/lang/String;Ljava/lang/String;)Z getFormattedList isSubsetOfList *(Ljava/lang/String;Ljava/util/ArrayList;)Z >(Ljava/lang/String;Ljava/util/ArrayList<Ljava/lang/String;>;)Z main ([Ljava/lang/String;)V <clinit> SourceFile NetCADeconfig.java&' java/util/HashMapop? ONDC_CHECK_STARTq<rst check9:uvt java/lang/StringBuilder Silent: wxwyz{ ORACLE_HOME|<}~3454='"kl#$K -oracle/net/ca/NetCADeconfig$NotExistException?{?????? java/lang/String ONDC_CHECK_END?? java/util/ArrayList ONDC_CLEAN_START clean)* Oracle Home: ONDC_CLEAN_SUCCESS ONDC_CLEAN_FAILED ONDC_CLEAN_END Discover listener(s).-'.'/'0'1' 5Discover RAC listener(s) in Grid Infrastructure home.67WULMNO????? #NETCA_LISTENERS_REGISTERED_WITH_CRS?? %NETCA_LISTENERS_REGISTERED_WITH_CRS: ^Discover Oracle Restart enabled listener(s) in Grid Infrastructure home for Standalone Server.87TU #NETCA_LISTENERS_REGISTERED_WITH_HAS %NETCA_LISTENERS_REGISTERED_WITH_HAS: *Discover listener(s) in RAC database home.E'('?? NETCA_LOCAL_LISTENERS NETCA_LOCAL_LISTENERS: AB For Node: QR NETCA_LOCAL_LSNR_ON_NODE_ : )Discover listener(s) in SI database home. Clean network configuration(s).s4t4 Clean listener(s). 2Clean RAC listener(s) in Grid Infrastructure home. [Clean Oracle Restart enabled listener(s) in Grid Infrastructure home for Standalone Server. 'Clean listener(s) in RAC database home.?? 4Clean listener configuration(s) in SI database home.! Clean RAC listener(s).??@*F*+* ONDC_RAC_LSNRSq?????7??gh "ONDC_CLEAN_SUMMARY_RAC_LSNR_FAILED #ONDC_CLEAN_SUMMARY_RAC_LSNR_SUCCESS #No RAC listener(s) to de-configure. )Clean Oracle Restart enabled listener(s). ONDC_SIHA_LSNRSif #ONDC_CLEAN_SUMMARY_SIHA_LSNR_FAILED $ONDC_CLEAN_SUMMARY_SIHA_LSNR_SUCCESS 6No Oracle Restart enabled listener(s) to de-configure. *Clean SI listener(s) in RAC database home. ONDC_SI_LSNRScd !ONDC_CLEAN_SUMMARY_SI_LSNR_FAILED "ONDC_CLEAN_SUMMARY_SI_LSNR_SUCCESS 7No listener(s) to de-configure from configuration file.?? . "oracle/ops/mgmt/cluster/ClusterCmd?\ java/io/Filet?IJ?? ONDC_SI_LSNRS_ON_NODE?7 Creating empty listener.ora ...?7 java/io/IOException??\?7 )ONDC_CLEAN_SUMMARY_SI_LSNR_ON_NODE_FAILED *ONDC_CLEAN_SUMMARY_SI_LSNR_ON_NODE_SUCCESS !oracle/net/config/ConfigException ': Failed to deconfig local listener(s). (oracle/ops/mgmt/cluster/ClusterException : Failed to copy file ( ) to/from local/remote node. Clean SI listener(s).ef 7Getting listener(s) to de-configure from property file.?? 4No RAC listener(s) to de-configure in property file. GNo Oracle Restart enabled listener(s) to de-configure in property file. @No Single Instance listener(s) to de-configure in property file. B: No Single Instance listener(s) to de-configure in property file. 5Setting listener(s) to de-configure in property file.???? silent true?? local??<?+{?{ HOME_TYPE CRS,* SIHA RACDB SIDB CLIENT TG Home Type: 2' Invalid Oracle home type: oracle/ops/util/FatalException ONDC_INVALID_ORACLE_HOME_TYPE ONDC_INVALID_ORACLE_HOME>? Oracle home does not exist. ONDC_OH_NOT_EXIST_RAC_WARNING?t ONDC_NTWK_CONFIG_NOT_EXIST ONDC_OH_NOT_EXIST_SIHA_WARNING?7 Is Oracle Cluster: ?7 Is CRS configured: 'oracle/cluster/install/InstallException Is CRS running: ?7 Is Oracle Restart configured: Is Oracle Restart running: LOGDIR java.io.tmpdir?|?;< .log???{??? tmp??? ONDC_TRACE_FILE_LOCATION java/lang/Object ONDC_TRACE_FILE_FAILED netdc _?{ PROP_FILE_USED ,Oracle property file from SystemProperties: Oracle Property File used: File does not exist: ,Oracle property file from OracleProperties: No Oracle Property File used. Location exists: TNS_ADMIN?< TNS_ADMIN from environment: network admin Using default TNS_ADMIN: REMOTE_NODES Remote Nodes from properties: , All Nodes: CD?? !Accessible nodes using srvm api: ?? DException while getting accessible nodes of cluster using srvm api: ?? Cluster Nodes: java/util/StringTokenizer????7?{?E? Is Shared : LOCAL_NODE Local node from properties: F{ Local node using srvm api: (oracle/ops/mgmt/has/ClusterUtilException 3Exception while getting local node using srvm api: Local Node: ????????? oracle/net/config/Config?????7?? => ONDC_CHECK_SUMMARY_RAC_LSNR ONDC_CHECK_SUMMARY_SIHA_LSNR ONDC_CHECK_SUMMARY_SI_LSNR "ONDC_CHECK_SUMMARY_SI_LSNR_ON_NODE 2Created oracle.net.config.Config for Oracle Home: ONDC_INIT_CONFIG_FAILED???????? %Listener(s) from configuration file: ': Listener(s) from configuration file: : Failed to copy file [ ] to local node. H: Failed to get existing listener(s) from listener configuration file [ ]. ,Discover Oracle Restart enabled listener(s). ;Calling SRVM api to get Oracle Restart enabled listener(s).~??D $Oracle Restart enabled listener(s): -oracle/cluster/common/SoftwareModuleException ONDC_GET_SIHA_LSNR_FAILED &oracle/cluster/util/NotExistsException 2Oracle Restart enabled listener(s) does not exist. Discover RAC listener(s). (Calling SRVM api to get RAC listener(s).XY RAC listener(s): ONDC_GET_RAC_LSNR_FAILED RAC listener(s) does not exist. )Calling SRVM api to get SCAN listener(s).?? SCAN listener(s): ONDC_GET_SCAN_LSNR_FAILED SCAN listener(s) does not exist. ONDC_STOP_LSNR_FAILED?{ ONDC_STOP_LSNR oracle/net/ca/ListenerControl???? ONDC_STOP_LSNR_SUCCESS Listener " " is already stopped. ONDC_LSNR_MAY_NOT_BE_RUNNING?7??x ONDC_STOP_LSNR_ON_NODE??7???? [Ljava/lang/String;???? Stopping RAC listener " " ... #Calling SRVM api to stop listener " 2oracle/sysman/assistants/util/hasi/HAListenerUtils?7 " stopped successfully. " does not exist: ONDC_LSNR_MAY_NOT_EXIST +oracle/cluster/util/AlreadyStoppedException " is already stopped: Failed to stop listener " ": ?~ " does not exist: w? " is already stopped: /oracle/cluster/util/CompositeOperationException " on few nodes: ": %oracle/cluster/server/ServerException &oracle/ops/mgmt/nodeapps/NodeException *Stopping Oracle Restart enabled listener " )Calling SRVM api to unregister listener " ONDC_UNREG_LSNR? " unregistered successfully. ONDC_UNREG_LSNR_SUCCESS " does not exist. .oracle/sysman/assistants/util/hasi/HAException " is still running. ONDC_UNREG_LSNR_FAILED ONDC_LSNR_MAY_STILL_BE_RUNNING Failed to unregister listener " ". De-configuring listener " ONDC_DECONFIG_LSNR]^ Deleting listener " " from file ... ONDC_DELETE_LSNR???? !" deleted from file successfully. ONDC_DELETE_LSNR_SUCCESS " does not exist in file. #oracle/net/config/ListenerException Failed to delete listener " " from file. ONDC_DELETE_LSNR_FAILED Not deleting listener "?? " de-configured successfully. ONDC_DECONFIG_LSNR_SUCCESS !Failed to de-configure listener " ONDC_DECONFIG_LSNR_FAILED?t[\?x De-configuring RAC listener "`^_^b? RAC Listener " %Failed to de-configure RAC listener " 0De-configuring Oracle Restart enabled listener "a\v???t java/io/BufferedReader java/io/InputStreamReader?????{ Failed to read user response.nlol ONDC_SPECIFY_SI_LSNRpqv? ONDC_SPECIFY_SI_LSNR_ON_NODE ONDC_SPECIFY_RAC_LSNR ONDC_SPECIFY_SIHA_LSNRj<??z{ ONDC_INVALID_LSNR_LIST yU y n ONDC_LSNR_MISSING Clean configuration file(s). Deleting listener.ora ... listener.ora ONDC_LSNR_FILE "Deleted listener.ora successfully. ONDC_LSNR_FILE_SUCCESS listener.ora does not exist. 6Not deleting listener.ora in Grid Infrastructure home. Deleting sqlnet.ora ... sqlnet.ora ONDC_NM_FILE Deleted sqlnet.ora successfully. ONDC_NM_FILE_SUCCESS sqlnet.ora does not exist. Deleting tnsnames.ora ... tnsnames.ora ONDC_NSN_FILE "Deleted tnsnames.ora successfully. ONDC_NSN_FILE_SUCCESS tnsnames.ora does not exist. Deleting ldap.ora ... ldap.ora ONDC_LDAP_FILE Deleted ldap.ora successfully. ONDC_LDAP_FILE_SUCCESS ldap.ora does not exist. Deleting backup files ... ONDC_BACKUP_FILE oracle/net/ca/NetCADeconfig$1 ONDC_BACKUP_FILE_SUCCESS !Delete backup files successfully. -Clean configuration file(s) on cluster nodes ONDC_LSNR_FILE_ON_NODES{ ONDC_NM_FILE_ON_NODES ONDC_NSN_FILE_ON_NODES ONDC_LDAP_FILE_ON_NODES ONDC_BACKUP_FILE_ON_NODES?? , ?uv ,Usage: NetCADeconfig <oracle_home> [-silent] -silent Invalid command line. java/util/Properties oracle/net/ca/NetStrings oracle.net.ca.NetCADeconfigMsg oracle/net/ca/NetCADeconfig 3oracle/sysman/assistants/util/deconfig/DeconfigUtil emptyLine getString oracle/net/ca/NetCAUtils printLine (Ljava/lang/String;)V oracle/ops/mgmt/trace/Trace out append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (Z)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; getProperty *oracle/sysman/assistants/util/hasi/HAUtils getInstance @(Ljava/lang/String;)Loracle/sysman/assistants/util/hasi/HAUtils; getMessage add (Ljava/lang/Object;)Z size ()I get (I)Ljava/lang/Object; traceEnabled (Z)V isEmpty (Ljava/util/ArrayList;)Z 1oracle/sysman/assistants/util/deconfig/StringUtil listToString )(Ljava/util/ArrayList;)Ljava/lang/String; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; removeFromArray A(Ljava/util/ArrayList;Ljava/util/ArrayList;)Ljava/util/ArrayList; addAll (Ljava/util/Collection;)Z addStringToList *(Ljava/util/ArrayList;Ljava/lang/String;)V 9(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; getFilename (I)Ljava/lang/String; copyFileFromNode deleteOnExit setFilename (ILjava/lang/String;)V exists createNewFile printStackTrace copyFileToNode delete &(Ljava/lang/Object;)Ljava/lang/Object; setProperty 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; equalsIgnoreCase +oracle/sysman/assistants/util/InventoryUtil getHomeName oracle/net/common/NetGetEnv trim printWarning isCluster isCRSConfigured isHASConfigured java/lang/System 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; createTempFile B(Ljava/lang/String;Ljava/lang/String;Ljava/io/File;)Ljava/io/File; getAbsolutePath oracle/net/ca/NetCAConstants FILE_SEP Ljava/lang/String; enableLogging enableDebugTracing toLowerCase getAccessibleNodes ()[Ljava/lang/String; convertToString 9([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; ([Ljava/lang/String;)Z '(Ljava/lang/String;Ljava/lang/String;)V countTokens hasMoreTokens nextToken oracle/net/ca/OPSUtil ((Ljava/lang/String;[Ljava/lang/String;)Z getDS &()Loracle/net/config/DirectoryService; OraHomeDir "oracle/net/config/DirectoryService getCredentials getAuthMethod )(Ljava/lang/String;I[Ljava/lang/String;)V propertyNames ()Ljava/util/Enumeration; java/util/Enumeration hasMoreElements nextElement *(Ljava/lang/String;Ljava/lang/Throwable;)V netConfigUsesLDAP oracle/net/config/Listener enumListeners /(Loracle/net/config/Config;)[Ljava/lang/String; addStringArrayToList +(Ljava/util/ArrayList;[Ljava/lang/String;)V .()Loracle/sysman/assistants/util/hasi/HAUtils; getALLListenerName getScanListenerNames ()Ljava/util/List; toUpperCase isLsnrRunning stopLsnr isWindows !oracle/net/ca/WindowsServiceUtils stopLsnrWinService )oracle/sysman/assistants/util/OsUtilsBase isUnix isLsnrRunningOnNodes toArray (([Ljava/lang/Object;)[Ljava/lang/Object; stopLsnrOnNodes stopLsnrWinSerOnNodes :(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Z stopListener -(Ljava/lang/Object;)Ljava/lang/StringBuilder; /(Loracle/net/config/Config;Ljava/lang/String;)Z /(Loracle/net/config/Config;Ljava/lang/String;)V deleteLsnrWinSerOnNodes printError deleteLsnrWinService Ljava/io/PrintStream; java/io/PrintStream print in Ljava/io/InputStream; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V readLine (Ljava/lang/Exception;)V equals (Ljava/util/Collection;)V clear /oracle/sysman/assistants/util/deconfig/CLIUtils askFromUser N(Ljava/lang/String;Ljava/lang/String;ZLjava/util/ArrayList;)Ljava/lang/String; #(Ljava/io/File;Ljava/lang/String;)V listFiles )(Ljava/io/FilenameFilter;)[Ljava/io/File; getPath removeFileFromNodes )(Ljava/lang/String;[Ljava/lang/String;Z)V removeBackupFilesFromNodes length contains exit (I)V java/util/Locale getDefault ()Ljava/util/Locale; '(Ljava/lang/String;Ljava/util/Locale;)V !? ? ? M ! *? ? e l ! **? ? ? t ? ? ?M? Y? N? Y? :? ? ? ? *? ? ? ? ? Y? ? ? ? ? *? ? ? *? *? *? N*? ? *? :? -:? *-? ? *? *? M? :,? !? "W,? (,? #? !6,? #? ,? $? %? ??? ? &? ? ? ? &? ? ? ',? X ? ? ? { ~ ? ? ? ! ? ' ? 2 ? H ? T ? X ? \ ? a ? h ? q ? t ? x ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^ ? (Y? )L*? ? ? ? ? *? ? *+? ? *? ? *? *? ,M? Y? -? ,? ? ? *? *? .L? ? /? ? 0? ? ? ? 1? ? ? N+-? !? "W+? %+? #? >+? #? +? $? %? ??? ? 2? ? ? ? 2? ? ? '+? R } ? r ? ? ? ? "