Based on the article Configuring a polling event source to send push notifications on IBM website, I tried to create a polling event source using a Sql adapter and deployed the adapter to my local MFP Server to observe its behavior.
function doSomething(){
WL.Logger.info(new Date() + " :: doing something");
}
WL.Server.createEventSource({
name: "tada",
poll: {
interval: 3,
onPoll: "doSomething"
}
});
My development environment:
- OS X El Capitan
- JDK 1.8.0 64-bit
- Eclipse Mars
- MobileFirst Platform Foundation 7.1
However, instead of showing text log in the Eclipse console, it is showing errors instead (every few seconds):
[ERROR ] ErrorID:40917855-1464858567623-21
Unknown exception: null
[ERROR ] ErrorID:40917855-1464858597627-22
Unknown exception: null
[ERROR ] ErrorID:40917855-1464858627632-23
Unknown exception: null
Does anyone know what is going on here?