[richfaces-issues] [JBoss JIRA] Created: (RF-10883) PUSH doesn't work properly on Glassfish 3.1 (JMS issue I think)
Pablo Martinez (JIRA)
jira-events at lists.jboss.org
Tue Apr 12 14:15:33 EDT 2011
PUSH doesn't work properly on Glassfish 3.1 (JMS issue I think)
---------------------------------------------------------------
Key: RF-10883
URL: https://issues.jboss.org/browse/RF-10883
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.Final
Environment: Glassfish 3.1
Reporter: Pablo Martinez
When trying to make this PUSH example to work (http://in.relation.to/Bloggers/GettingStartedWithRichFaces40Push) on glassfish 3.1, I'm getting this error:
javax.jms.JMSException: MQJMSRA_DC2001: Unsupported:setClientID():inACC=false:connectionId=6046697373872048384
I think the problem comes from this line of code
{code:title=org.richfaces.application.push.impl.jms.MessagingContext.java|borderStyle=solid}
//TODO - review
try {
//durable subscription requires ClientID to be set
connection.setClientID(UUID.randomUUID().toString());
} catch (IllegalStateException e) {
//ignore - clientId has already been set
}
{code}
I builded richfaces 4 from scratch (only the richfaces-core-api and richfaces-core-impl), and the error disapeared. I setted the ClientId using the create-jms-resource on glassfish admin console.
Now, after that, the app "works" BUT, I don't get the notificaciones on the client side (web), I can only send messages to the irc and stuf, but don't see any change on the web app (I confirm this because I use another IRC client to see what happens).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list