• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

When would would JMS fail

 
meka toka
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am working on a project that involves messaging Q's and Topics. We have the application fully tested and working. But when we tried to run the same application on one of our client's network the asynchronous messages wouldnt go through.
What could be the possible scenarios where JMS could fail ? How to overcome them ?
Between, I use JBoss 3.0.6, EJB 2.0, CMP 2.0

Regards
Meka Toka
 
Kyle Brown
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Every vendor's JMS implementation is different. You might have more luck asking this in the JBoss forum.
Kyle
 
Nitzan Levi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
you need to supply more information about the failure, and what was the changes in the server/client configuration that you'v made !
 
meka toka
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Everything i have is very standard.
Have a Topic T running on a server A, and 'n' number of clients are subscribed to the topic T.
The messages on the topic from A are not reaching the clients.
However, this happens only at my client site, when we tested the application in our development lab everything works fine. We also found out the 'CULPRITS' are their systems.
Now my question is what are the things(settings or configuaration on those systems) that might be responsible for this kind of abnormal behaviour.
These systems run Win 2K Professional or Xp professional.
By the way, all the synchronous calls, like the clients calling the methods on the beans on the server etc etc .. all of them work fine.
Regards
Meka Toka
[ March 16, 2003: Message edited by: meka toka ]
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a firewall between the Server and the Clients?
If so, then that is most likely the cause.
JBoss has four type of JMS Connections, the one used by most is the OIL (Optimized Invocation Layer) Connection. This opens two communication channels, one from the server to the client and one from the client to the server. In most firewall situations this will not be allowed. You will need to use a different type of Connection Factory that handle bi-directional communication in a single connection.
If there is no firewall involved then ignore my post...
 
meka toka
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
We were at the client side and we were testing on an isolated network. A couple of computers connected to a Hub (isolated).
The only difference is the ip's we tested were class C and the ip's on client side are class A.
Then we happen to bring a few laptops, and test them within our network. We noticed that the asynchronous messaging(JMS) was failing.
So definetly there is something on the systems. Are there any links out there that can let me learn more about the communication channels.
Regards
Meka Toka
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If your organization is serious about using JBoss than I suggest you get them to spring for the documentation here.
 
Nitzan Levi
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
let me understand currectly , the subscribing part is successfull and the publication also , and the clients don't get the messages ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic