You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by couzteau <co...@bitfaeule.net> on 2008/07/13 07:55:29 UTC

Debug JMS environment

Hi,
I have added JMS support a web app and ran into an expected problem when I
went live with the app. All test machines worked great but the live server
has a different and complex network environment that I don't have control
of. So the problem is that messages are not being received by clients. Only
if I run a client on the server itself I can receive messages, not from any
other location.

The message broker runs on tcp://myp.corp.mycomp.com:61616 my clients can
connect but never receive. How could the traffic be blocked? I guess it
could be a firewall on a router or a  somewhere on the network.

But what would I have to look for?
What port are messages sent over? Would that be 61616 or another? 

Ho does the communication between client and broker work in detail? Is there
website or a docment online that clarify these details?

Thanks very much for help.

Jacques
-- 
View this message in context: http://www.nabble.com/Debug-JMS-environment-tp18426484p18426484.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Debug JMS environment

Posted by Gary Tully <ga...@gmail.com>.
thanks for your reply with the solution. Just fyi: the timeStampPlugin can
help in this situation: see http://activemq.apache.org/timestampplugin.html

2009/12/18 couzteau <co...@bitfaeule.net>

>
> Turns out the problems was having explicitQosEnabled=true and a short
> timeToLive. The system clocks of producer, broker and consumer deviated
> hence messages were expired before they were ever delivered.
> --
> View this message in context:
> http://old.nabble.com/Debug-JMS-environment-tp18426484p26851155.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source Integration
http://fusesource.com

RE: Debug JMS environment

Posted by couzteau <co...@bitfaeule.net>.
Turns out the problems was having explicitQosEnabled=true and a short
timeToLive. The system clocks of producer, broker and consumer deviated
hence messages were expired before they were ever delivered.
-- 
View this message in context: http://old.nabble.com/Debug-JMS-environment-tp18426484p26851155.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


RE: Debug JMS environment

Posted by couzteau <co...@bitfaeule.net>.
Thank you.
That was just what I was looking for.

jacques
-- 
View this message in context: http://www.nabble.com/Debug-JMS-environment-tp18426484p18452317.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


RE: Debug JMS environment

Posted by "Suchitha Koneru (sukoneru)" <su...@cisco.com>.
On your live server ,run jconsole.exe (comes with JDK)and connect to the
java process pertaining to your application.  
You can see the threads used by active mq , the port numbers for the JMS
receiver/sender in your application.
Also turn on the debug mode of active mq ,
http://activemq.apache.org/how-do-i-enable-debug-logging.html.

Thanks,
Suchitha.
-----Original Message-----
From: couzteau [mailto:couzteau@bitfaeule.net] 
Sent: Saturday, July 12, 2008 10:55 PM
To: users@activemq.apache.org
Subject: Debug JMS environment


Hi,
I have added JMS support a web app and ran into an expected problem when
I went live with the app. All test machines worked great but the live
server has a different and complex network environment that I don't have
control of. So the problem is that messages are not being received by
clients. Only if I run a client on the server itself I can receive
messages, not from any other location.

The message broker runs on tcp://myp.corp.mycomp.com:61616 my clients
can connect but never receive. How could the traffic be blocked? I guess
it could be a firewall on a router or a  somewhere on the network.

But what would I have to look for?
What port are messages sent over? Would that be 61616 or another? 

Ho does the communication between client and broker work in detail? Is
there website or a docment online that clarify these details?

Thanks very much for help.

Jacques
--
View this message in context:
http://www.nabble.com/Debug-JMS-environment-tp18426484p18426484.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.