Edit D:\app\Administrator\product\11.2.0\dbhome_1\jlib\oracle\sysman\vdp\VdpPingServiceImpl.class
?? /? C? B? B? B? B? B? B? B? B??? ? B? B?? ? B? B? B? B? B? B?? ?? C? C?? ??\ ??? B?? B?? B???? &??? *?? ,?? ,? ?? ,? ?? B??? ?? 4??? 8??? <?? B?? ??? ,??? E???? B J J B U U Z Z ^ ? c B! C" J# E$% &'( )* ?+, -. ?/012 34 56 37 89 :;< ?= ?>?@A 3B CD C6 3E CFGH BIJ KLM KN BOPQRSTUVWXYZ[ 3\ 5F 8? <?]^_`ab cB d7 efg c4hi cj Bk dl :mno ??p q 5D d\rst ?uvwxy ?z ?? &{|}~? dE?? ,?????? ?? 8? ?? ?? ????? ??? 8?? ?? 8?? 8? ???? ?? ? ? U?????? c?? ????? ?? c?? B? B? B? ?l ???? ???? ?7??? ?? ?????? 8? ? ?? ?????? ???? ?? B? ?? B? ?? B? d?? ,?? ? ???? ??????? L ?????? ? ?????? C? C? C?????????? MAXITEMS I ConstantValue ? DEFAULT_PING_INTERVAL PING_PROPERTY Ljava/lang/String; DISABLE_LOCAL_AUTO_DISCOVERY m_PingInterval myTie 'Loracle/sysman/vdp/_tie_VdpPingService; m_vxxoName !Loracle/sysman/vxx/vxxo/VxxoName; timer %Loracle/sysman/vdiBaseComps/VdiTimer; work Loracle/sysman/vdp/VdpWork; m_vdn *Loracle/sysman/vdn/VdnTargetNamingService; vds Loracle/sysman/vds/VdsImpl; m_reference Loracle/sysman/vxa/VxaAppServer; m_domain _repTxnSession )Loracle/sysman/vdb/VdbTransactionSession; repTxSessionLock Ljava/lang/Object; _repAutoSession (Loracle/sysman/vdb/VdbAutoCommitSession; repACSessionLock _repAutoSessionForHeartbeat repACSessionLockForHeartbeat mb .Loracle/sysman/emSDK/common/nls/MessageBundle; <init> ()V Code LineNumberTable initializeService 5(Loracle/sysman/vxa/VxaAppServer;Ljava/lang/String;)Z startService ()Z Exceptions exportServices stopService killService initiateShutdown status B(Ljava/util/Locale;Loracle/sysman/vxa/VxaServiceStatusSeqHolder;)Z displayableName &(Ljava/util/Locale;)Ljava/lang/String; isNodeKnown (Ljava/lang/String;)Z redistributeNodesOnStartUp reportAvailNodes #([Loracle/sysman/vdp/VdpNodeInfo;)V updateTimestampAndVddStatus #([Loracle/sysman/vdp/VdpNodeInfo;)Z addNode i(Ljava/lang/String;Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;)V processEachNodeOnHeartbeat fireNodeUpIfNecessary ?(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;Loracle/sysman/vdb/VdbStatement;Loracle/sysman/vdp/VdpNodeInfo;)Z handleFault j(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;[Ljava/lang/String;)V getUnavailableNodes ()[Ljava/lang/String; getAndLockNode ?(Ljava/lang/String;Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;)Loracle/sysman/vdp/VdpNode; getPingInterval ()I getRepositorySession +()Loracle/sysman/vdb/VdbTransactionSession; getRepositoryAutoSession *()Loracle/sysman/vdb/VdbAutoCommitSession; $getRepositoryAutoSessionForHeartbeat releaseSession "(Loracle/sysman/vdb/VdbSession;Z)V targetRemoved ?(Ljava/util/Locale;Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;Loracle/sysman/vdn/VdnTarget;ZLjava/util/Vector;)V? handleError :(Ljava/lang/String;Loracle/sysman/vdiBaseComps/VdiTimer;)V getRegionList #()Loracle/sysman/vdn/VdnRegionList; getRegionInfoList w(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadOnlyTransaction;)[Loracle/sysman/vdn/VdnRegionInfo; getOMSRegionAssocList ?(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadOnlyTransaction;[Loracle/sysman/vdn/VdnRegionInfo;)[Loracle/sysman/vdn/VdnOMSRegionAssoc; getNodeRegionAssocList ?(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadOnlyTransaction;[Loracle/sysman/vdn/VdnRegionInfo;)[Loracle/sysman/vdn/VdnNodeRegionAssoc; updateRegionList $(Loracle/sysman/vdn/VdnRegionList;)V updateRegionInfoList y(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;[Loracle/sysman/vdn/VdnRegionInfo;)V updateNodeRegionAssocList ?(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;[Loracle/sysman/vdn/VdnRegionInfo;[Loracle/sysman/vdn/VdnNodeRegionAssoc;)V updateOMSRegionAssocList ?(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;[Loracle/sysman/vdn/VdnRegionInfo;[Loracle/sysman/vdn/VdnOMSRegionAssoc;)V areNodeAndOMSInSameRegion O(Loracle/sysman/vdb/VdbAutoCommitSession;Ljava/lang/String;Ljava/lang/String;)Z getRegionName N(Loracle/sysman/vdb/VdbAutoCommitSession;Ljava/lang/String;)Ljava/lang/String; CheckAndBootStrapOMSToRgn =(Loracle/sysman/vdb/VdbAutoCommitSession;Ljava/lang/String;)Z assignPgSrvToCurrRgn i(Loracle/sysman/vdb/VdbTransactionSession;Loracle/sysman/vdb/VdbReadWriteTransaction;Ljava/lang/String;)V removePgSrvFmRgn SourceFile VdpPingServiceImpl.javalmQIRSTUVWXYZ[\]^_ java/lang/String l?`Oab java/lang/Objectcdefgdhfidjk Vd???pqrs Vdp - Getting vds...??? oracle/sysman/vds/VdsImpl?? 8Vdp::startService():COULD NOT OBTAIN TRANSACTION SESSION?? 7Vdp::startService():COULD NOT OBTAIN AUTOCOMMIT SESSION?? vdf oracle/sysman/vdf/VdfMASFailOver vdp? vdn (oracle/sysman/vdn/VdnTargetNamingService? java/lang/StringBuffer BVdp::startService : calling CheckAndBootStrapOMSToRgn : srvName : ???? %oracle/sysman/vxa/VxaStartupException 5253 l !oracle/sysman/vdb/VdbSQLException -Vdp::startService : VdbSQLException thrown : O 5251 ,oracle/sysman/vdb/VdbLostConnectionException 5252s oms.vdp.ping_interval Vdp - ping interval = min oracle/sysman/vdp/VdpWorkl &oracle/sysman/vdp/VdpWorkInitException VdpWork initialization failure 1Vdp - Starting VdpWork timer - wake-up interval = #oracle/sysman/vdiBaseComps/VdiTimer_lm Vdp - VdpWork timer ready. oms.vdp.disable_auto_discovery~}~ oracle/sysman/vdn/VdnTarget oracle_sysman_nodel "VDP:Starting local auto-discovery O $oracle/sysman/vdn/VdnDiscoveryThreadl m .VDP :Node known, skipping auto-local-discovery %oracle/sysman/vdp/_tie_VdpPingServicel!"# VDP$%& java/lang/Exception'm() 0oracle/sysman/vxx/vxxo/VxxoNameNotFoundException??vm*+,m Vdp killed.-?. B*** VDP : INITIATING OMS SHUTDOWN : OMS REPOSITORY SESSION LOST***/0?1m "oracle/sysman/vxa/VxaServiceStatus234?5 5250 FVdpPingServiceImpl::isNodeKnown(): COULD NOT OBTAIN AUTOCOMMIT SESSION -SELECT node FROM SMP_VDP_NODES where node = ?6789:?;<=>s?@A GVDP PANIC: SQL exception caught inside VdpPingServiceImpl.isNodeKnown()?B C UVdpPingServiceImpl::redistributeNodesOnStartUp(): COULD NOT OBTAIN AUTOCOMMIT SESSION cVdpPingServiceImpl::redistributeNodesOnStartUp(): calling PL/SQL proc on_new_oms() with OMS name = !BEGIN smp_vdp.on_new_oms(?); END;DEFGm;HIm VVDP PANIC: SQL exception caught inside VdpPingServiceImpl.redistributeNodesOnStartUp() VDP: Heartbeat received, #nodes=?? node=JKO ,state=LI?? "VDP: Finished processing heartbeat (Vdp: BEGIN updateTimestampAndVddStatus() node IN ( ' ,' ) OR node IN ( ) 3UPDATE smp_vdp_nodes SET timestamp = SYSDATE WHERE 4UPDATE smp_vdp_node_info_vdd SET status = 'Y' WHERE 0Vdp: Waiting for repACSessionLockForHeartbeat... *Vdp: Obtained repACSessionLockForHeartbeat VVdpPingServiceImpl::updateTimestampAndVddStatus(): COULD NOT OBTAIN AUTOCOMMIT SESSIONMN *Vdp: Released repACSessionLockForHeartbeat &Vdp: END updateTimestampAndVddStatus() Vdp: addNode(): Adding node = BVdp: addNode(): Calling smp_vdp.on_new_node() with params Node = OMS = %BEGIN smp_vdp.on_new_node(?, ?); END;OPQR UVdpPingServiceImpl::processEachNodeOnHeartbeat():COULD NOT OBTAIN TRANSACTION SESSION eUPDATE smp_vdp_node_info SET status = 'Y', last_checked = SYSDATE WHERE (node = ?) AND (status = 'N') "VDP: Processing heartbeat node = [ ]ST??UmVW )oracle/sysman/vdb/VdbTransactionException GVDP PANIC: VdbTransactionException caught in processEachNodeOnHeartbeat ?VDP PANIC: VdbSQLException caught in processEachNodeOnHeartbeat?X vde %oracle/sysman/vde/VdeEventManagerImpl %VDP: Calling Vde.nodeUp for node UP [Y? .VDP: Finished calling Vde.nodeUp for node UP [ :VDP PANIC: VdbSQLException caught in fireNodeUpIfNecessary .oracle/sysman/vdd/VddIllegalOperationException GVDP PANIC: VddIllegalOperationException caught in fireNodeUpIfNecessary?Z[\ VDP: handleFault Enterd with MASs $BEGIN smp_vdp.on_failed_oms(?); END; 2VDP: handleFault calling on_failed_oms() for MAS - - 3VDP: handleFault complete on_failed_oms() for MAS - - elapsed time -] -ms GVDP PANIC: SQL exception caught inside VdpPingServiceImpl.handleFault()/SELECT vdd.node FROM smp_vdp_node_info_vdd vdd, smp_vdp_nodes nodes_list, smp_vdp_oms_region_map oms_rgn_map WHERE vdd.node = nodes_list.node AND nodes_list.region_name = oms_rgn_map.region_name AND vdd.status = 'N' AND oms_rgn_map.oms = ? NVdpPingServiceImpl::getUnavailableNodes(): COULD NOT OBTAIN AUTOCOMMIT SESSION java/util/Vector^_`Za?bc OVDP PANIC: SQL exception caught inside VdpPingServiceImpl.getUnavailableNodes() oracle/sysman/vdp/VdpNode Y ZSELECT status, down_time, down_timezone FROM smp_vdp_node_info WHERE (node = ?) FOR UPDATE STATUSde Nf~ DOWN_TIMEgh DOWN_TIMEZONEijlk -VdpPingServiceImpl::getAndLockNode() - Node [ ]'s status is yOl?m?nO !Vdp - Request to remove service: / $Vdp: targetRemoved(): Remove node = KVdp: targetRemoved(): Calling smp_vdp.on_remove_node() with params Node = %BEGIN smp_vdp.on_remove_node(?); END; VDP: caught exception: o+ VDP: IN getRegionList +oracle/sysman/vxx/vxxt/VxxtRuntimeException 'Could not get a tranascation session !!pq *Could not start a read-only transaction !!??????rsm VDP: getRegionList() Exit oracle/sysman/vdn/VdnRegionListlt VDP: IN getRegionInfoList GSELECT region_id, region_name FROM smp_vdp_regions ORDER BY region_name REGION_ID REGION_NAME oracle/sysman/vdn/VdnRegionInfouvwlx VDP: getRegionInfoList() EXIT VDP: IN getOMSRegionAssocList() ?ELECT rgn_oms_map.oms AS oms, rgn_oms_map.region_name AS region_name, oms_num_nodes.num_nodes AS num_nodes FROM SMP_VDP_OMS_REGION_MAP rgn_oms_map, SMP_VDP_OMS_NUM_NODES oms_num_nodes WHERE rgn_oms_map.oms = oms_num_nodes.oms (+) OMS NUM_NODESyszO{| #oracle/sysman/vdn/VdnOMSRegionAssocl} "VDP: getOMSRegionAssocList() EXIT !VDP: IN getNodeRegionAssocList() ASELECT node, region_name FROM smp_vdp_nodes ORDER BY region_name NODE $oracle/sysman/vdn/VdnNodeRegionAssocl? "VDP: getNodeRegionAssocList() EXIT VDP: IN updateRegionList +Could not start a read-write transaction !!~?????????? )VDP: updateRegionList EXIT with sucess = ? VDP: IN updateRegionInfoList ?w?w EVDP:updateRegionInfoList() Calling create_region() with region name $BEGIN smp_vdp.create_region(?); END;?w EVDP:updateRegionInfoList() Calling delete_region() with region name $BEGIN smp_vdp.delete_region(?); END; VDP: updateRegionInfoList() EXIT "VDP: IN updateNodeRegionAssocList -BEGIN smp_vdp.move_node_to_region(?, ?); END;?I IVDP:updateNodeRegionAssocList() Calling move_node_to_region with Node = Region Name = %VDP: updateNodeRegionAssocList() EXIT !VDP: IN updateOMSRegionAssocList ,BEGIN smp_vdp.move_oms_to_region(?, ?); END;?O FVDP:updateOMSRegionAssocList() Calling move_oms_to_region with OMS = $VDP: updateOMSRegionAssocList() EXIT ?ELECT node FROM smp_vdp_nodes nodes, smp_vdp_oms_region_map omss WHERE nodes.region_name = omss.region_name AND nodes.node = ? AND omss.oms = ? >SELECT region_name FROM smp_vdp_oms_region_map WHERE oms = ? .BEGIN smp_vdp.check_and_add_oms(?, ?, ?); END;?? 1VDP: CheckAndBootStrapOMSToRgn : isOmsAssigned = 0BEGIN smp_vdp.assign_pgsrv_to_region(?, ?); END; -BEGIN smp_vdp.remove_pgsrv_fm_region(?); END; $oracle/sysman/vdp/VdpPingServiceImpl #oracle/sysman/vxa/VxaMASServiceImpl *oracle/sysman/vdp/VdpPingServiceOperations $oracle/sysman/vdf/VdfMASFaultHandler +oracle/sysman/vdn/VdnTargetRemovedInterface /oracle/sysman/vdiBaseComps/VdiTimerErrorHandler +oracle/sysman/vdn/VdnTargetRemovalException (Ljava/lang/String;)V ,oracle/sysman/emSDK/common/nls/MessageBundle getMessageBundle B(Ljava/lang/String;)Loracle/sysman/emSDK/common/nls/MessageBundle; oracle/sysman/vxx/vxxt/VxxtTRACE out (Ljava/lang/String;I)V oracle/sysman/vxa/VxaAppServer getReference &(Ljava/lang/String;)Ljava/lang/Object; registerMASFaultHandler addTargetRemovedListener append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; getServerName ()Ljava/lang/String; toString getMessage '(Ljava/lang/String;Z)Ljava/lang/String; (ILjava/lang/String;)V reason getOMSproperty (Ljava/lang/String;I)I (I)Ljava/lang/StringBuffer; d(Loracle/sysman/vdp/VdpPingServiceImpl;Loracle/sysman/vds/VdsImpl;Loracle/sysman/vxa/VxaAppServer;)V myAppServer getClass ()Ljava/lang/Class; java/lang/Class getName |(Loracle/sysman/vxa/VxaAppServer;ILjava/lang/Runnable;Ljava/lang/String;Loracle/sysman/vdiBaseComps/VdiTimerErrorHandler;Z)V startUp java/lang/Boolean getBoolean oracle/sysman/vxx/VxxHost GetCanonicalHostName '(Ljava/lang/String;Ljava/lang/String;)V name J(Loracle/sysman/vdn/VdnTarget;Loracle/sysman/vdn/VdnTargetNamingService;)V start /(Loracle/sysman/vdp/VdpPingServiceOperations;)V ORB $()Loracle/sysman/vxx/vxxo/VxxoEMORB; oracle/sysman/vxx/vxxo/VxxoEMORB register K(Ljava/lang/String;Lorg/omg/CORBA/Object;)Loracle/sysman/vxx/vxxo/VxxoName; printStackTrace deregister :(Loracle/sysman/vxx/vxxo/VxxoName;Lorg/omg/CORBA/Object;)V shutDown (Z)V destroy java/lang/System Ljava/io/PrintStream; java/io/PrintStream println connectionLost +oracle/sysman/vxa/VxaServiceStatusSeqHolder value %[Loracle/sysman/vxa/VxaServiceStatus; T(Ljava/lang/String;Ljava/util/Locale;)Loracle/sysman/emSDK/common/nls/MessageBundle; &oracle/sysman/vdb/VdbAutoCommitSession createStatement 4(Ljava/lang/String;)Loracle/sysman/vdb/VdbStatement; oracle/sysman/vdb/VdbStatement bindParameter executeQuery B(Loracle/sysman/vdb/VdbStatement;)Loracle/sysman/vdb/VdbResultSet; oracle/sysman/vdb/VdbResultSet next oracle/sysman/vdb/Vdb forceStatementClose #(Loracle/sysman/vdb/VdbStatement;)V (Ljava/lang/Exception;)V :(Ljava/lang/String;Z[Ljava/lang/Object;)Ljava/lang/String; createCallableStatement <(Ljava/lang/String;)Loracle/sysman/vdb/VdbCallableStatement; &oracle/sysman/vdb/VdbCallableStatement clearParameters J(Loracle/sysman/vdb/VdbCallableStatement;)Loracle/sysman/vdb/VdbResultSet; close oracle/sysman/vdp/VdpNodeInfo nodeName state executeDML #(Loracle/sysman/vdb/VdbStatement;)I 'oracle/sysman/vdb/VdbTransactionSession )oracle/sysman/vdb/VdbReadWriteTransaction getSystemTransactionSession ,(Z)Loracle/sysman/vdb/VdbTransactionSession; startReadWriteTransaction -()Loracle/sysman/vdb/VdbReadWriteTransaction; executeCommit forceTransactionRollback .(Loracle/sysman/vdb/VdbReadWriteTransaction;)V !(Loracle/sysman/vdb/VdbSession;)V nodeUp (Ljava/lang/Object;)V currentTimeMillis ()J (J)Ljava/lang/StringBuffer; getString (I)Ljava/lang/String; addElement size copyInto ([Ljava/lang/Object;)V findColumn (Ljava/lang/String;)I equalsIgnoreCase getTimestamp (I)Ljava/sql/Timestamp; getInt (I)I <(Ljava/lang/String;Ljava/lang/String;Ljava/sql/Timestamp;I)V getAutoCommitSession getPrivateAutoCommitSession type exitAndRestart startReadOnlyTransaction ,()Loracle/sysman/vdb/VdbReadOnlyTransaction; (oracle/sysman/vdb/VdbReadOnlyTransaction executeRollback r([Loracle/sysman/vdn/VdnRegionInfo;[Loracle/sysman/vdn/VdnNodeRegionAssoc;[Loracle/sysman/vdn/VdnOMSRegionAssoc;)V %oracle/sysman/vdn/VdnRegionActionItem NOOP2 'Loracle/sysman/vdn/VdnRegionActionItem; <(Ljava/lang/String;Loracle/sysman/vdn/VdnRegionActionItem;)V wasNull regionName equals (Ljava/lang/Object;)Z (Ljava/lang/String;ZI)V region_list "[Loracle/sysman/vdn/VdnRegionInfo; node_list '[Loracle/sysman/vdn/VdnNodeRegionAssoc; oms_list &[Loracle/sysman/vdn/VdnOMSRegionAssoc; (Z)Ljava/lang/StringBuffer; action ADD_REGION DEL_REGION region_idx omsName registerOutParameter (I)V !BC DEFG HI J K LI J M NO J @ PO J Q QI RS TU VW XY Z[ \] ^_ `O ab cd ef gd hf id jk ' lm n ? x*? *? *? *? *? *? *? *? *? *? Y? ? *? *? Y? ? *? *? Y? ? *? *? Y? ? *? *? ? ? o N * ? ? ? ? ? ? "? '? ,? 9? >? I? N? Y? ^? i? n+ w, pq n ? *+,? ? ?*+? *,? ? o 0 1 3 4 5 rs n ? *? ? ?? **? ? ? ? *? ? !? ?*? "? #? ?*? $? #? ?*? %? ? &'? ( **? )? ? *? *? '? +? ,Y? -.? /*? ? 0? /? 1? 2**? "*? ? 0? 3? ? 4Y*? 5? 6? 7? ]L? ,Y? -9? /+? :? /? 1? 2? 4Y*? ;? 6? 7?? ,Y? -9? /+? =? /? 1? 2? 4Y*? >? 6? 7?? { ? ? 8 { ? ? <