IBM BPM, V8.0.1, All platforms > Troubleshooting and support > Troubleshooting administration tasks and tools > Troubleshooting Common Event Infrastructure > Problems when sending events
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:
- To check the status of the event server, go to the /WebSphere/V8R0/DeploymentManager/default/bin profile_root/bin directory and run the serverStatus command:
serverStatus servername- If the event server is not running, use the startServer command to start it:
startServer servername- Check the host name and Remote Method Invocation (RMI) port for the server containing the application that cannot 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.