Vijay Ivaturi [
http://community.jboss.org/people/vkivaturi] created the discussion
"Re: JMS client unable to receive messages from server"
To view the discussion, visit:
http://community.jboss.org/message/606648#606648
--------------------------------------------------------------
The problem is resolved. There were multiple issues:
1. The office laptop I was using had some stringent firewall setting. Access to
unauthorized ports was disabled even for local machine. Changed the firewall settings and
JBoss communication started working both ways.
2. One of the project jar files was using Maven transitive dependency feature and adding
an unwanted jar file(geronimo-jms_1.1_spec.jar) to application war. This caused an
exception where app server was trying to cast JBoss queueu objects returned by JNDI lookup
to normal javax queue objects. Made this dependency as 'provided' in Maven so that
the code compiles but Geronimo JMS jar does not get added to war file.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606648#606648]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]