I tried #1, and received the following error:
javax.jms.IllegalStateException: Method setMessageListener
not permitted
I believe the explanation for this is in this article:
http://www-1.ibm.com/support/docview.wss?uid=swg21114239Unfortunately, I don't have the full log trace for you
because I deleted it in trying to troubleshoot issues with the
second suggestion.
I tried to test out the polling-amf solution, but since
making that change, I have been unable to get anything to work,
whether I use polling amf or go back to rtmp. The error I'm getting
now is:
[11/1/06 10:09:24:408 EST] 00000048 SystemOut O [Flex]
[DEBUG] Error handling rtmp message:
flex.messaging.MessageException: Context:
MER2CONDA711373Node01Cell/nodes/MER2CONDA711373Node01/servers/server1,
name:
jms/TopicConnectionFactory
: First component in name
jms/TopicConnectionFactory
not found.
This doesn't make any sense, as I'm able to connect to the
TCF and the associated topics using the same plain JMS test program
I used to troubleshoot this earlier. This program is running under
the same server, and is actually part of the same WAR file, so I
really don't understand how my test program can do the JNDI lookup,
but Flex cannot. I am at a complete loss as to how to further
troubleshoot this.
I realize this is a completely different issue than what I
first posted about, but it started happening when I was trying your
two suggestions above. The *only* changes I made were to add the
two JVM args that you suggested, and to change the channel Flex is
trying to connect to. Even after reversing those two changes, I am
still getting these JMS errors.
Have you got any idea why this is happening?
Thanks,
Kevin