Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Discovery Exceptions (22001 - 22004)

DiscoveryException is a run-time exception that is raised when DiscoveryManager is operating.

Format

EXCEPTION [TOPLINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message

Example 13-22 Discovery Exception

EXCEPTION [TOPLINK – 22001]: oracle.toplink.exception.DiscoveryException
EXCEPTION DESCRIPTION: Could not join multicast group.

22001: ERROR_JOINING_MULTICAST_GROUP
Cause: DiscoveryManager failed to join a multicast group due to a java.io.IOException: either a MulticastSocket could not be created or the invocation of the joingGroup method of the MulticastSocket failed.
Action: See the generated exception for the root cause.
22002: ERROR_SENDING_ANNOUNCEMENT
Cause: DiscoveryManager failed to inform other services that its service had started up.
Action: Consider increasing the announcement delay: the amount of time in milliseconds that the service should wait between the time that this remote service is available and a session announcement is sent out to other discovery managers. This may be needed to give some systems more time to post their connections into the naming service. See the setAnnouncementDelay method of the DiscoveryManager.
22003: ERROR_LOOKING_UP_LOCAL_HOST
Cause: Failed doing lookup of local host.
Action:
22004: ERROR_RECEIVING_ANNOUNCEMENT
Cause: DiscoveryManager caught a java.io.IOException while blocking for announcements from other DiscoveryManagers.
Action: See the generated exception for the root cause.