Tibco Interview Faqs
Tibco Interview Faqs
• GUI mode
• Console mode
• Silent mode
2.If you have installed a particular version of TIBCO software e.g. TIBCO BW X.Y.Z, What are X,
Y and Z number stands for?
Integration can be at different application layers:
• X:Patch
• Y:Major
• Z:Minor
3.What is the role of TRA?
TRA stands for TIBCO Runtime Agent.
The TRA has two main functions:
• Supplies an agent that is running in the background on each machine.
1. The agent is responsible for starting and stopping processes that run on a machine
according to the deployment information.
2. The agent monitors the machine. That information is then visible via TIBCO
Administrator.
• Supplies the run-time environment, that is, all shared libraries including third-party libraries.
4.What are the resources that gets included in the EAR file, created by the TIBCO Designer?
An EAR file can contain local project resources, LibraryBuilder resources, and files as specified in
AliasLibrary resources. In addition, the TIBCO Designer classpath may include references to other
files that are included in the EAR file.
5.What are the revision control system options available in TIBCO designer?
• File sharing
• VSS
• Perforce
• XML Canon
• ClearCase
• iPlanet
• CVS
• PVCS
6.What are the different modes of service invocation?
Services can be invoked in several ways.
• A one-way operation is executed once and does not wait for a response.
• A request-response operation is executed once and waits for one response. In a request-
response service, communication flows in both directions. The complete interaction consists
of two point-to-point messages—a request and a response. The interaction is only
considered complete after the response has arrived.
• Publication (notification) means an operation sends information on an as-needed basis,
potentially multiple times.
• Subscription means incoming information is processed on an as-needed basis, potentially
multiple times.
7.What is vcrepo.dat?
TIBCO Designer creates a file named vcrepo.dat in the project root directory when you first save
the project. This file is used to store properties such as display name, TIBCO Rendezvous encoding,
and description. This file can be used for identification in place of the project root directory and can
be used as the repository locator string (repoUrl).
8.What are the TIBCO BW activities that can participate in transactions?
Not all TIBCO BusinessWorks activities can participate in a transaction. Only the following types
of activities have transactional capabilities:
• JDBC activities
• JMS activities
• ActiveEnterprise Adapter activities that use JMS transports
• EJB activities
• TIBCO iProcess BusinessWorks Connector activities
9.What are the different types of Transactions TIBCO provides?
TIBCO BusinessWorks offers a variety of types of transactions that can be used in different
situations. You can use the type of transaction that suits the needs of your integration project. When
you create a transaction group, you must specify the type of transaction. TIBCO BusinessWorks
supports the following types of transactions:
• JDBC
• Java Transaction API (JTA) UserTransaction
• XA Transaction
10.What activities are supported in JTA Transaction?
The Java Transaction API (JTA) UserTransaction type allows:
• JDBC
• JMS
• ActiveEnterprise Adapter (using JMS transports)
• EJB activities
to participate in transactions.
11.What activities are supported in XA Transaction ?
17.how to design a process such that depending on number of records updated in a database, 3
different sub-processes may be called ?
Define 3 transitions from JDBC update with condition on the no of updates and call appropriate
child processes.
18.How to use legacy .dat file format with latest designer ?
Convert .dat file to multi file project using Administration tab while starting up Designer(Other one
being Project tab) and then open the multifile project in the normal way.
• Max Jobs :
Max Jobs specifies the number of process instances that are kept in memmory. Once this
limit is reached newly created process instances (subject to flow limit) are paged out to
disk.0 specifies no limit and is the default.
• Flow Limit :
Flow Limit specifies the maximum number of running process instances that are spawned
before the process starter is suspended ie it enters a FLOW_CONTROLLED state and does
not accept new events. This can be used to control the number of process instances running
simultaneously and when the protocol generating the event can store the event till it is
received, like email servers, JMS, RV etc. 0 specifies no limit and is the default.
• Activation Limit :
Activation limit flag specifies that once a process instance is loaded it must be placed in
memmory till it completes execution. By default it is enabled.
24.What are the options for configuring storage for process engine's checkpoint repository ?
The options for configuring storage for process engine's checkpoint repository are:
• Local File
• Database. Fault tolerant engines can recover from a checkpoint only when database is used.
25.Process engines in a fault tolerant group can be configured as peers or master secondary.How do
these differ ?
The options for configuring storage for process engine's checkpoint repository are:
• - Peer means all of them have the same weight. In this case when one engine fails another
one takes over and continues processing till it fails.
• - In master secondary configuration weights are unequal, the secondary starts processing
when master fails. But when master recovers, secondary stops and master continues
processing.
26.What are the uses of grouping activities ?
Uses of grouping activities are:
• Create a set of activities having a common error transition.
• Repeat group of activities based on a condition.
1. - Iterate over a list.
2. - Repeat until condition true.
3. - Repeat on Error until condition true.
• Group activities into a transaction.
• To create a critical section area that synchronizes process instances.
• A 'Pick First Group' allows you to wait for the occurence of multiple events and proceed
along a path following the first event to occur.
27.What is the purpose of a Lock shared configuration resource?
A Lock is specified for a 'Critical Section' group when the scope is 'Multiple'. It can be used to
ensure synchronization across process instances belonging to multiple processs definitions or for
process instances across engines(Check multi engine flag for lock in this case and the BW engine
needs to be configured with database persistence while deployment). If synchronization is for
process instances belonging to the same processs definition inside one engine, just specify the scope
as 'Single'.
28.How to control the sequence of execution of process instances created by a process starter ?
Use the sequencing key field in the Misc tab of any process starter. Process instances with the same
value for this field are executed in the sequence in which they are started.
29.Can there be two error transitions out of an activity ?
No. There can be only one Error and one Success if no matching condition transition out of each
activity.
30.When is a 'No Action' group used ?
'No Action' group used to have a set of activities having a common error transition
31.What activity can be used to set the value of a 'User defined process variable' ?
The 'Assign' activity can be used to set the value of a 'User defined process variable'.
32.Which are the two process variables available to all activities with inputs ?
• $_globalVariables
• $_processContext
33.Which mechanism can be used to pass data between a process instance and a called sub process
other than mapping from/to the callee's input/output ?
This can be accomplished using job shared variables, unless in the call process activity the 'Spawn'
flag is enabled in which case the called sub process is a new job and hence gets a fresh copy of the
job shared variable initialized as per its configuration. A shared variable can overcome this
limitation as it's scope is not limited to one job.
34.What are the three scenarios where BW engine has to be configured with database persistence
instead of Local File ?
The three scenarios are:
• Shared Variables across BW engines.
• Locking across groups in multiple BW engines.
• Wait Notify across BW engines.
35.If you want a group to be executed if there is some unhandled error but subject to some max
number of iterations which group do you use ?
We can use Repeat on Error until true
Now the WSDL file for a SOAP service can be retreived using the http request
http://<host>:<port>/<path>/<resourceName>?wsdl
where 'path' is the folder path to the SOAP Event Source process and 'resourceName' is the name
of the process
Example : http://purch:8877/Purchasing/GetPurchaseOrder?wsdl
50.Which group do you use to wait for multiple events and proceed with the first to occur ?
A 'Pick First Group'.
1.What is vcrepo.dat?
TIBCO Designer creates a file named vcrepo.dat in the project root directory when you first save
the project. This file is used to store properties such as display name, TIBCO Rendezvous encoding,
and description. This file can be used for identification in place of the project root directory and can
be used as the repository locator string (repoUrl).
2.What are the different types of Transactions TIBCO provides?
TIBCO BusinessWorks offers a variety of types of transactions that can be used in different
situations. You can use the type of transaction that suits the needs of your integration project. When
you create a transaction group, you must specify the type of transaction. TIBCO BusinessWorks
supports the following types of transactions:
* JDBC
* Java Transaction API (JTA) UserTransaction
* XA Transaction
3.What activities are supported in JTA Transaction?
The Java Transaction API (JTA) UserTransaction type allows:
* JDBC
* JMS
* ActiveEnterprise Adapter (using JMS transports)
* EJB activities
4. What is the purpose of the inspector activity?
The Inspector activity is used to write the output of any or all activities and process variables to a
file and/or stdout. This is particularly useful when debugging process definitions and you wish to
see the entire schema instead of mapping specific elements to the Write File activity.
5.How can unauthorized users be prevented from triggering a process ?
Unauthorized users be prevented from triggering a process by giving ‘write’ access for the process
engine to only selected users. Only users with ‘write’ access can do activities like deploying
applications, starting/stopping process engines etc.
6. How to use legacy .dat file format with latest designer?
Convert .dat file to multi file project using Administration tab while starting up Designer (Other one
being Project tab) and then open the multifile project in the normal way.
7.What are the possible Error output’s of Read File activity?
Integration can be at different application layers:
* FileNotFoundException :Thrown when yhe file does not exist.
* UnsupportedEncodingException:Thrown when the text file’s encoding is not valid and the content
of the file is read into process data.
* FileIOException :Thrown when an I/O exception occurred when trying to read the file.
8.Explain the process configuration parameters – Max Jobs, Flow Limit & Activation Limit ?
Max Jobs :
Max Jobs specifies the number of process instances that are kept in memmory.Once this limit is
reached newly created process instances (subject to flow limit) are paged out to disk.0 specifies no
limit and is the default.
Flow Limit :
Flow Limit specifies the maximum number of running process instances that are spawned before
the process starter is suspended ie it enters a FLOW_CONTROLLED state and does not accept new
events. This can be used to control the number of process instances running simultaneously and
when the protocol generating the event can store the event till it is received, like email servers, JMS,
RV etc. 0 specifies no limit and is the default.
Activation Limit :
Activation limit flag specifies that once a process instance is loaded it must be placed in memmory
till it completes execution. By default it is enabled.
9.Process engines in a fault tolerant group can be configured as peers or master
secondary.How do these differ ?
The options for configuring storage for process engine’s checkpoint repository are:
Peer means all of them have the same weight. In this case when one engine fails another one takes
over and continues processing till it fails.
In master secondary configuration weights are unequal, the secondary starts processing when
master fails. But when master recovers, secondary stops and master continues processing.
10.What is the purpose of a Lock shared configuration resource?
A Lock is specified for a ‘Critical Section’ group when the scope is ‘Multiple’. It can be used to
ensure synchronization across process instances belonging to multiple processs definitions or for
process instances across engines(Check multi engine flag for lock in this case and the BW engine
needs to be configured with database persistence while deployment). If synchronization is for
process instances belonging to the same processs definition inside one engine, just specify the scope
as ‘Single’.
11.Which mechanism can be used to pass data between a process instance and a called sub
process other than mapping from/to the callee’s input/output ?
This can be accomplished using job shared variables, unless in the call process activity the ‘Spawn’
flag is enabled in which case the called sub process is a new job and hence gets a fresh copy of the
job shared variable initialized as per its configuration. A shared variable can overcome this
limitation as it’s scope is not limited to one job.
11) What is the fundamental difference between working of Tibco RVD and JMS Queue?
12) What is the advantage and disadvantage of using Tibco EMS?
13) What do you mean by subject based filtering or subject based addressing?
14) What do you mean by JMS Selector?
15) How does JMS Selector works?
16) When should you use Tibco RV and when should you prefer Tibco EMS?
17) What do you mean by durable topic/queue?
18) What will happen if you kill the Tibco rvd and your process is running?
19) Can you bind one service to same tibco transport in case of tibco RV?
20) What are the benefits and drawback of using tibco RV?
21) You have your GUI application and running on windows machine and server is running on linux machine? How do
you communicate between server and GUI?
22) What are the advantage and disadvantage between TCP and multicast?
23) Which protocol tibco RV is based upon?
24) What do you mean by service, daemon and network in tibco RV?
25) What do you mean by remote daemon in case of tibco RV? When do you use remote daemon? What are
disadvantage of using tibco RV remote daemon?
26) What do you mean by tibco RV (Rendezvous) storm?
27) What do you mean by DATALOSS? What are inbound and outbound dataloss?
28) What is tibco rv reliability parameter? how does it affect working of tibco rv ?
29) What is request reply messaging, in which condition we should use tibco RV request reply messaging.
30) What is difference between request/reply and publish/subscribe?
31) How do you find out whether tibco rvd is running or not in both windows machine and linux machine?
32) How do you find out on which topics your tibco rvd has made subscription?
33) How do you publish message on a topic and how do you receive message from a topic ?
34) What are Inbox topics?
35) What is tibco hawk?
36) How does tibco helps in terms of monitoring application?
37) How does tibco hawk works?
38) What are main components of tibco hawk?
39) What is ledger file?
40) When should we use file based ledger and when should we use in memory ledger?