[Opensymphony-oscache] Method setMessageListener not permitted
michael_gantman <[email protected]> Mon, 20 Jun 2005 08:29:26 CDT
| Newsgroups | gmane.comp.java.open-symphony.os-cache |
|---|---|
| Message-ID | <4359827.1119274310773.JavaMail.os-j2ee@opensymphony01.contegix.com> |
Dear all, I am using IBM Websphere 5.1. There we use OSCache. However, when we try to initialize our listener we get the following exception: com.opensymphony.oscache.base.InitializationException: Initialization of the JMSBroadcastingListener failed: javax.jms.IllegalStateException: Method setMessageListener not permitted at com.opensymphony.oscache.plugins.clustersupport.JMSBroadcastingListener.initialize(JMSBroadcastingListener.java:199) .... IBM website indicates that this is expected behaviour and use of setMessageListener is not permitted neither in EJB container nor in webcontainer. This is due to the fact that in upcoming J2EE spec 1.5 this will be mandated. The only workaround offered is to use MDB or to have some java code running outside Application Server. My question is if anyone already hit this problem and came up with some solution and when can appropriate changes in OSCache be expected to support working in environment with such limitation. Best regards, Michael Gantman --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=3516&messageID=8930#8930