Choose.. X Home Exams Certifications
 

TIBCO Interview Questions

1 . 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.
    • The agent is responsible for starting and stopping processes that run on a machine according to the deployment information.
    • 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.

2 . 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.

3 . Is that possible to change process or shared variable during runtime?

  • Yes, it's possible to change process or Shared variables at run time using assign and Set shared Variable activity.

4 . In Mapping using XSLT, what is meang of (..) in the statement?

  • Parent loop

5 . 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).

6 . 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

7 . Will Active Enterprise Adapter palette activities override the existing transport type of adapter service?

  • Yes.

8 . Does Adapter Service support RVCMQ transport for publishing?

  • No

9 . What is the difference between Invoke an Adapter Request-Response Service activity and Adapter Request-Response Service activity?

    • Invoke an Adapter Request-Response.
    • Request a response from external application to Adapter service
    • Adapter Request-Response Server activity
    • Request a response from adapter service to external application

10 . Does copy file activity allow copying directories to new location?

  • Yes. The Copy File activity allows you to copy files and directories to a new location.

11 . Does Copy create file activity allows creating new directories?

  • Yes. The Create File activity creates a new file or directory with the specified name. When creating a file, you can also provide the file contents.

12 . What is the difference between Concrete WSDL and Abstract WSDL?

    • The Abstract WSDL describes the interface of the web service which includes the format of request and response messages of each operation.
    • The Concrete WSDL describes the abstract WSDL plus transport information. Concrete WSDL contains messages, operations and transport specific information (JMS or Http), which is used by SOAP client.

13 . 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

14 . 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.

15 . What activities are supported in XA Transaction ?

  • The XA Transaction type allows:
    • JDBC activities
    • ActiveEnterprise Adapter activities that use the JMS transport
    • JMS activities
    • to participate in transactions.
    Note:For JMS activities and ActiveEnterprise Adapter activities, request/reply operations cannot participate in an XA transaction. Also, EJB activities cannot participate in an XA Transaction group.

16 . 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.

17 . 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.

18 . What are the maximum/minimum of threads available for incoming HTTP ?

  • The maximum/minimum of threads available for incoming HTTP : 75/10

19 . 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.

20 . What are the mandatory configuration parameters for FTP Connection & FTP with firewall ?

  • The mandatory configuration parameters for FTP Connection
    • FTP host
    • Port
    • Username & Password
    If Firewall is enabled in addition the proxy host and port are required.

21 . 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.

22 . 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.

23 . What are the encodings supported by designer ?

  • Encodings supported by designer are
    • ISO8859-1(Latin-1)
    • UTF-8

24 . What are the 4 main panels of the Designer window ?

  • The 4 main panels of the Designer window are
    • Project panel
    • Palette panel
    • Design panel
    • Configuration panel

25 . How do you determine if there are broken references in the project?

  • Project -> Validate for deployment

26 . Where are the Designer preferences stored ?

  • Designer preferences stored are stores in a file called 'Designer .prefs' in the user home directory.

27 . How you perform performance tuning on BW engine?

    • Max jobs
    • Flow limit
    • Activation Limit
    • Java heap size

28 . 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.

29 . 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.

30 . 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.

31 . What are the types of grouping or group actions in TIBCO BW?

    • None: Used for grouping without looping
    • Transaction Groups: Used to group activities that participate in a transaction. Eg. JDBC group activities
    • Iterate Loop: Used to iterate a group once for every item in a list
    • Repeat Until True Loop: Used to iterate a group until the specified condition is true
    • Repeat On Error Until True Loop: Used to iterate a group when an error occurs
    • If Groups: To conditionally execute business logic
    • While True Groups: Repeats the series of grouped activities as long as the given condition evaluates as true.
    • Critical Section: Used to synchronize process instances so that only one process instance executes the grouped activities at any given time.
    • Pick First: Allow process execution to wait for one or more events

32 . 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.
      • - Iterate over a list.
      • - Repeat until condition true.
      • - 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.

33 . What is the use of Critical section Group?

  • Critical section groups are used to synchronize process instances so that only one process instance executes the grouped activities at any given time

34 . How do you use XSLT file?

  • The Transform XML activity allows you to transform an input XML document into the output specified by the given XSLT File shared configuration resource

35 . How you send messages in a sequence order in ems?

  • By using Sequence Key property

36 . Where do you configure database connection for EMS?

  • In Stores.Config file.

37 . 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'.

38 . 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.

39 . 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.

40 . When is a 'No Action' group used ?

  • 'No Action' group used to have a set of activities having a common error transition

41 . 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'.

42 . Which are the two process variables available to all activities with inputs ?

    • $_globalVariables
    • $_processContext

43 . 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.

44 . 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.

45 . 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

46 . When is a 'Generate Error' activity useful?

  • When you handle an error inside a called subprocess or group and want to rethrow the error to the caller(happens by default if you dont handle the error in the called process)

47 . Which activity is used for detecting duplicate message processing?

  • CheckPoint activity - Specify the uniqueID for the duplicate key field and engine maintains list of these key fields. When a process come to checkpoint activity with the same value for duplicate key which already exists, it throws a DuplicateException. An error transition can then handle this case.

48 . Give an example where graceful migration of service from one machine to another is not possible.

  • HTTP Receiver. In this case the receiver on new machine starts listening on the same port, but you need to redirect requests from the old machine to the new one.

49 . What are the types of adapter services ?

  • Types of adapter services are :
    • Subscriber Service
    • Publisher Service
    • Request-Response Service
    • Request-Response Invocation Service

50 . If the business process needs to invoke another web service which resource do you use ?

  • SOAP request reply activity. If the business process needs to be exposed as SOAP service use SOAP Event Source in conjunction with SOAP Send Reply or SOAP Send Fault.