My event source is trying to send an event, but the
emitter does not submit it to the event service and outputs message
CEIEM0016E to the log file ("The emitter does not support the specified
transaction mode").
Cause
This problem indicates that the parameters
passed by the event source when sending the event specify a transaction
mode that is not supported by the emitter. This can be caused be either
of the following conditions:
- The event source is specifying a transaction mode that is not
valid.
- The event source is specifying a synchronization mode that is
not supported by the emitter environment. Transactions are supported
only in a J2EE container.
Remedy
To correct this problem, check the
method call that is trying to send the event and make sure the method
parameters specify the correct transaction mode:
- If the emitter is running in a J2EE container, make sure the method
parameters specify one of the valid transaction modes:
- TransactionMode.NEW
- TransactionMode.SAME
- TransactionMode.DEFAULT
These constants are defined by the com.ibm.events.emitter.TransactionMode
interface.
- If the emitter is not running in a J2EE container, make sure the
method parameters specify TransactionMode.DEFAULT.