Error when sending event (NameNotFoundException)
My event source application encounters an error when trying to send an event to the
event service. The log file indicates a NameNotFoundException with a message such as First
component in name events/configuration/emitter/Default not found.
Cause
This problem indicates that the event service is not available and might be caused by either of
the following conditions:
- The event service has not been deployed.
- The event service is disabled.
Remedy
To deploy the event service:
- Start the wsadmin tool.
- Use the AdminTask object to run the deployEventService administrative command.
- Restart the server.
To enable the event service using the wsadmin tool:
- Start the wsadmin tool.
- Use the AdminTask object to run the enableEventService administrative command.
- Restart the server.
To enable the event service using the administrative console:
- Click .
- Select the Enable service at server startup property.
- Click OK to save your changes.
- Restart the server.