activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woodstockrich <RichPat...@shaw.ca>
Subject Re: HTML/JS works in Demo but not under JBOSS 7.1 / Eclipse
Date Fri, 27 Apr 2012 17:25:04 GMT
Very close.

I changed the context-param org.apache.activemq.brokerURL value to
tcp://localhost:61616 in my web.xml and also in broker-config.xml in the rar
file I made sure that transportConnector uri="tcp://localhost:61616"

Cleaned and restarted my JBOSS.  Deployed my web application.   Ran a
separate Java application which pushes out data on a topic and listens for
messages from the client.  Invoked the URL to my webpage, and voila, my Java
application got the message sent to it from my web application.   

However, my web client is not getting any messages back.

Looking at the Web traffic via Fiddler, it makes 3 calls to amq: 
destination=topic://T&message=stocks&type=listen
destination=queue://B&message=login&type=listen
destination=queue://A&message=JMSTYPE:LOGIN_REQUEST
SENT_FROM:DISPBOARD_JS_EMBED-APR271003&type=send

However, it is not going into the behavior I saw before which is the
continuous looping of /amq/timeout=...

Suggestions please.

--
View this message in context: http://activemq.2283324.n4.nabble.com/HTML-JS-works-in-Demo-but-not-under-JBOSS-7-1-Eclipse-tp4584105p4593271.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message