Saturday, October 2, 2010

Tibco tutorial : Tibco RV tips and commands

This is third post on series of "tibco tutorial" , In this article I am posting some of the most useful command which I used while working in tibco rv in many application , they are extremely useful and must be in developers top of head who is working in tibco rv.

Before writing these "tibco tutorial" series I looked for some introductory simple tibco tutorial which explains concept of tibco rv in simple word and give us working knowledge of tibco but I did not found any. tibco is most heavily used middleware solution on enterprise world and form backbone of many large enterprise including global banks.

these are few tips/commands/concept which essential while working with tibco rv  for resolving day to day problems or issues.

How to send message from command prompt using tibrvsend ?
tibrvsend -network "" -service "5420" -daemon "tcp:7500" "TESTING”

How to receive message in command prompt using tibrvlisten ?
tibrvlisten -network "" -service "5420" -daemon "tcp:7500" 

How do you identify whether tibco rv  is running in your host or not ?
ps –ef | grep rvd (in linux) , for windows check rvd in task manager. ,if tibco rv is running then rvd must be a live process.

How do you identify which services are subscribed from localhost ?
netstat –g

How do you identify which services and clients are connected to your host via tibco rv ?
We can use tibco rv  admin webpage , which listens on some predefined port e.g. 7542 http://host:7540 and then we can get all the details

Can we specify which NIC card to use while specifying network parameter
Yes , we can specify e.g. eth1; , if don’t give any NIC card name then it will bind to default eth0 card.

What will happen if same service e.g. 5480 tries to register with two network e.g. 190.230 and 192.230 ?
Tibco RV  will not allow that , it will throw exception while creating transport you can see that exception in tibco rv log via webpage.

What is the standard location for applications using TIBCO RV (Rendezvous)?
The latest TIBCO RV libraries will always be available through the following location:
• /opt/tibops/rv/lib
Previous versions of the libraries can be access through:
• /opt/tibops/RV//lib

How to change reliablity parameter ?

This is a startup parameter , you can see it by greping in ps –ef | grep rvd, for chaning it you need to disconnect all the application connected to that RVD and restart that

Further Learning
Linux Command Line Interface (CLI) Fundamentals
Linux System Administration Fundamentals
TCP/IP Networking for Developers

if you have not read my previous "tibco tutorial" series , here are  links

tibco tutorial part 1
tibco tutorial part 2
tibco tutorial part 3
tibco tutorial part 4

Please provide your feedback on these tibco tutorial , whether you are liking it or not , how can we improve it, what sort of information you are looking for.

Please post any question , doubt related to tibco rv in comment and I will try my best to answer those.

to understand more about tibco rv or tibco ems  see my tibco tutorial series


Anonymous said...

Can you include tibrvsend and tibrvlisten command , those are most useful but I don't see in your list ?

javarevisited said...

Hi ,Pleaes see here tibrvsend and tibrvlisten

Post a Comment