A push-demo problem
yyq2009 Apr 9, 2011 2:58 AMI use jsf 2.0.4.FCS and Jboss AS 6 to run RF4 push demo, I can logon and send messages to the irc server( freenode.org or my local irc server) by the demo application, but I can't recceive others' messages from the server or push demo application, also, "Disconnection" button did nothing.
In spite of the messages from the demo application or from irc server,my netbeans shows an error(from jboss AS) like this:
14:20:50,625 severity [org.richfaces.log.Application] chat : java.lang.IllegalArgumentException: chat
at org.richfaces.application.push.TopicKey.<init>(TopicKey.java:76)
at org.richfaces.application.push.TopicKey.<init>(TopicKey.java:62)
at org.richfaces.application.push.impl.jms.RequestImpl.onMessage(RequestImpl.java:103)
at org.richfaces.application.push.impl.jms.SessionImpl$JMSToPushListenerAdaptor.onMessage(SessionImpl.java:71)
at org.hornetq.jms.client.JMSMessageListenerWrapper.onMessage(JMSMessageListenerWrapper.java:91) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.callOnMessage(ClientConsumerImpl.java:822) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl.access$100(ClientConsumerImpl.java:46) [:6.0.0.Final]
at org.hornetq.core.client.impl.ClientConsumerImpl$Runner.run(ClientConsumerImpl.java:940) [:6.0.0.Final]
at org.hornetq.utils.OrderedExecutorFactory$OrderedExecutor$1.run(OrderedExecutorFactory.java:100) [:6.0.0.Final]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_23]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_23]
I sent a message "Hello" to my local irc server, I can see it from my irc client xchat, but I can't see it from my push demo page. If I sent a message using irc client(nick name is "Nemo"), my push demo page can't receive it either, I don't know exactly reason about it, but the error above shows when every message arrived.
Can you guys help me?