You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/02/14 22:43:00 UTC
[jira] Updated: (SM-719) Lightweight JmsReceiverComponent gets
"javax.jms.IllegalStateException: Method setMessageListener not permitted
error" in WAS 6.1
[ https://issues.apache.org/activemq/browse/SM-719?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gert Vanthienen updated SM-719:
-------------------------------
Component/s: (was: servicemix-jms)
Description:
Lightweight JmsReceiverComponent and other servicemix-jms components gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1
When I searched the error and I found that
"javax.jms.MessageConsumer method setMessageListener()" (which is used in JmsReceiverComponent) and some other methods may only be used by an application running in a client container -- in other words, they may never be called in the Web or EJB container:
As far as I know
DefaultMessageListenerContainer of Spring performs the MessageListener invocation itself so I guess it may work on web container and also at ejb container, similar servicemix component may be an option.
Related links:
http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf (J2EE.6.6 Java™ Message Service (JMS) 1.1 Requirements)
http://www-128.ibm.com/developerworks/java/library/j-getmess/
http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:80481
was:
Lightweight JmsReceiverComponent and other servicemix-jms components gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1
When I searched the error and I found that
"javax.jms.MessageConsumer method setMessageListener()" (which is used in JmsReceiverComponent) and some other methods may only be used by an application running in a client container -- in other words, they may never be called in the Web or EJB container:
As far as I know
DefaultMessageListenerContainer of Spring performs the MessageListener invocation itself so I guess it may work on web container and also at ejb container, similar servicemix component may be an option.
Related links:
http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf (J2EE.6.6 Java Message Service (JMS) 1.1 Requirements)
http://www-128.ibm.com/developerworks/java/library/j-getmess/
http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:80481
Summary: Lightweight JmsReceiverComponent gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1 (was: Lightweight JmsReceiverComponent and servicemix-jms components gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1)
> Lightweight JmsReceiverComponent gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: SM-719
> URL: https://issues.apache.org/activemq/browse/SM-719
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-components
> Affects Versions: 3.0
> Environment: AIX,
> WAS 6.1
> Websphere MQ 6.0.1.0
> Reporter: Alper Sogukpinar
> Priority: Critical
>
> Lightweight JmsReceiverComponent and other servicemix-jms components gets "javax.jms.IllegalStateException: Method setMessageListener not permitted error" in WAS 6.1
> When I searched the error and I found that
> "javax.jms.MessageConsumer method setMessageListener()" (which is used in JmsReceiverComponent) and some other methods may only be used by an application running in a client container -- in other words, they may never be called in the Web or EJB container:
> As far as I know
> DefaultMessageListenerContainer of Spring performs the MessageListener invocation itself so I guess it may work on web container and also at ejb container, similar servicemix component may be an option.
> Related links:
> http://java.sun.com/j2ee/j2ee-1_4-fr-spec.pdf (J2EE.6.6 Java™ Message Service (JMS) 1.1 Requirements)
> http://www-128.ibm.com/developerworks/java/library/j-getmess/
> http://www-304.ibm.com/jct09002c/isv/tech/faq/individual.jsp?oid=1:80481
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.