I'm trying to implement some cleanup code in the onInterrupt() callback
of my CometHandler. The code is supposed to go through the EJB timers
and cancel some of them. However I'm getting the following exception
when trying to invoke timer.getInfo() method:
java.lang.IllegalStateException: Invocation cannot be null
at
com.sun.ejb.containers.TimerWrapper.checkCallPermission(TimerWrapper.jav
a:197)
at
com.sun.ejb.containers.TimerWrapper.getInfo(TimerWrapper.java:132)
... (my callback here)
Any idea what can be a workaround?
/Leonid