WebSphere

Error when sending event (ServiceUnavailableException)

My event source application encounters an error when trying to send an event to the event server. The log file indicates a ServiceUnavailableException with the message "A communication failure occurred while attempting to obtain an initial context with the provider URL."

Cause

This problem indicates that the event source application cannot connect to the event server. This might be caused by either of the following conditions:
  • The event server is not running.
  • The event source application is not configured to use the correct JNDI provider URL.

Remedy

To correct this problem, follow these steps:
  1. To check the status of the event server, go to the profile_root/bin directory and run the serverStatus command:
    serverStatus servername
  2. If the event server is not running, use the startServer command to start it:
    startServer servername
  3. Check the host name and Remote Method Invocation (RMI) port for the server containing the application that can not connect to the event server. Confirm that the same values are specified in the JNDI URL configured for the event source application. If the CEI server is located on another server, then the JNDI needs to be resolved with that remote deployment target.

topic Topic topic

Terms of use | Feedback


Timestamp icon Last updated: 22 June 2010


http://publib.boulder.ibm.com/infocenter/dmndhelp/v6r2mx/topic/com.ibm.websphere.cei.620.doc/doc/tcei_trb_service_unavailable_exception.html
Copyright IBM Corporation 2005, 2010. All Rights Reserved.
This information center is powered by Eclipse technology (http://www.eclipse.org).