Professional Documents
Culture Documents
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
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
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 messagesa 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
JDBC
Java Transaction API (JTA) UserTransaction
XA Transaction
JDBC
JMS
ActiveEnterprise Adapter (using JMS transports)
EJB activities
to participate in transactions.
11.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.
12.What are the possible Error output's of Read File activity?
Integration can be at different application layers:
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.
16.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.
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.
ISO8859-1(Latin-1)
UTF-8
Project panel
Palette panel
Design panel
Configuration panel
Designer preferences stored are stores in a file called 'Designer <ver>.prefs' in the user home
directory.
23.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.
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.
- 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 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:
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
Subscriber Service
Publisher Service
Request-Response Service
Request-Response Invocation Service
40.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.
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
Both of them can be manipulated via the palette resources 'Get shared variable' and
'Set shared variable'.
A job shared variable is private to one instance of job or in other words each job has a
fresh copy. In the case of shared variable the same copy is shared across all job
instances. It can even be persisted and can survive BW engine restarts and even
shared across multiple BW engines(when deployed using DB persistence).
XML
HTML
Text
Sending HTTP response, confirming an email/jms message etc. This is because the
confirmation or sending HTTP response has to done in the same session. When
engine crashes these sessions are closed at their socket level. In such cases send
response/confirm before checkpoint.
50.Which group do you use to wait for multiple events and proceed with the first to occur ?
GUI mode
Console mode
Silent mode
2. Will Active Enterprise Adapter Palette activities override the existing transport type
of adapter service?
Answer:
Yes.
Max Jobs
Flow Limit
Activation Limit
Java heap Size
Library builder
Alias Library
Process Definitions
Shared Resources
10. What are the maximum, we can configure Faul tolerance mode for EMS?
Answer: At any point of time, we can configure only two servers in FT.
11. What is the use of Critical Section Group?
Answer: Critical Section groups are used to synchronize process instances so that only one
process instance executes the grouped activities at any given time.
12. How do you use XSLT file?
Answer: The transform XML activity allows you to transform an input XML document into
the output specified by the given XSLT File shared configuration resource.
13. How you send messages in a sequence order in ems?
Answer: By using Sequence Key Property.
14. Where do you configure database connection for EMS?
Answer: In Stores.config file.
15. How to set message priorities on the destinations using tibco EMS?
Answer: By specifying priority index at receiving end.
16. Is that possible to change process or shared variable during run time?
Answer: Yes, Its possible to change process or shared variables at run time using assign and
set shared variable activity.
17. In Mapping using XSLT, what is the meaning of (..) in the statement?
Answer: Parent loop
18. Can you deploy a BW engine on system which has only TRA?
Answer: No
19. What are the main parts of JMS message?
Answer:
Header
Body
Properties
20. What is the Difference between Alias Library and Library Builder?
Answer: A Library builder is used to create a design time Library which can be used to
share a set of TIBCO BW processes or resources across projects during the development
phase.
An Alias Library is used to access some Java classes which are part of a jar file.
21. What is BW Memory Management?
Answer: Memory saving mode can reduce the memory used by actively running process
instances as well as potentially improve the performance of checkpoints. By default, Memory
saving mode is disabled, But you can enable garbage collection on specific process instances
by setting the EnableMemorySavingMode property to true. You can enable memory saving
mode for all process instances by setting the EnableMemorySavingMode property to true,
EnableMemorySavingMode = true.
Try this property adding your deployment TRA or BW Engine. Tra file and Redeploy it. But
memory saving is very limited though, make sure if your process is claiming more heap
and/or reaching out of memory exception, there is something wrong process design, Verify
each activity and cleanup all unused content.
22. Can we have 2 processes running on the same Http Connection and same Port No.?
Answer: No
23. Do we have to redesign the project if we make some changes in XSD'S like
enumeration changes or just update them?
Answer: If you modified any property (Enumeration.. etc) for any field in schema, you need
not re-design your project. It's just property, it automatically imported where ever you're
using (diff process) this schema.
24. What is the difference between SOAP Event Source and Service Activity?
Answer: By using SOAP Event source activity we can perform only one operation, if you
need to have multiple operations in one place, you can use Service Activity, as it supports
multiple operations in one place.
25. 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?
X:Patch
Y:Major
Z:Minor
27. What are the resources that gets included in the EAR file, created by the TIBCO
Designer?
Answer: 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.
28. What are the revision control system options available in TIBCO designer?
Answer:
File sharing
VSS
Perforce
XML Canon
ClearCase
iPlanet
CVS
PVCS
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 messagesa 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.
Answer: 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).
31. What are the TIBCO BW activities that can participate in transactions?
Answer: 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
Answer: 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
JDBC
JMS
Active Enterprise Adapter (using JMS transports)
EJB activities
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.
35. What are the possible Error output's of Read File activity?
Answer: 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.
37. What are the maximum/minimum of threads available for incoming HTTP ?
Answer: 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.
39. What are the mandatory configuration parameters for FTP Connection & FTP with
firewall ?
FTP host
Port
Username & Password>
If Firewall is enabled in addition the proxy host and port are required.
40. how to design a process such that depending on number of records updated in a
database, 3 different sub-processes may be called ?
Answer: Define 3 transitions from JDBC update with condition on the no of updates and call
appropriate child processes.
41. How to use legacy .dat file format with latest designer ?
Answer: 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.
ISO8859-1(Latin-1)
UTF-8
Project panel
Palette panel
Design panel
Configuration panel
44. How do you determine if there are broken references in the project?
Answer: Designer preferences stored are stores in a file called 'Designer <ver>.prefs' in the
user home directory.
46. Explain the process configuration parameters - Max Jobs, Flow Limit & Activation Limit
?
Answer:
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.
47. What are the options for configuring storage for process engine's checkpoint
repository ?
Answer: 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.
48. Process engines in a fault tolerant group can be configured as peers or master
secondary.How do these differ ?
Answer: 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.
Answer: 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'.
51. How to control the sequence of execution of process instances created by a process
starter ?
Answer: 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.
52. Can there be two error transitions out of an activity ?
Answer: No. There can be only one Error and one Success if no matching condition
transition out of each activity.
53. When is a 'No Action' group used ?
Answer: 'No Action' group used to have a set of activities having a common error transition
54. What activity can be used to set the value of a 'User defined process variable' ?
Answer: The 'Assign' activity can be used to set the value of a 'User defined process
variable'.
55. Which are the two process variables available to all activities with inputs ?
Answer:
$_globalVariables
$_processContex
Q1: What is the difference between JMS and TIBCO EMS?
Ans: TIBCO EMS is a customization of JMS specifications by TIBCO. The
difference between JMS and TIBCO EMS is that JMS provides two types of delivery
modes which are Persistent and Non-Persistent while TIBCO EMS adds another
type of delivery mode which is RELIABLE delivery mode.
Also, for restriction of messages acknowledgement, JMS provides
NO_ACKNOWLEDGE mode while TIBCO EMS extends the functionality of JMS
by providing EXPLICIT_CLIENT_ACKNOWLEDGE mode and
EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE mode.
Q2: What is the difference between TIBCO EMS PERSISTENT, NONPERSISTENT and RELIABLE delivery modes?
Ans: In PERSISTENT delivery mode, messages sent by the producer to the EMS
Server are persisted/stored in a disk and a confirmation is sent to the producer for
every message.
In case of Non-Persistent delivery mode, messages sent by the producer are not
stored/persisted on EMS Server. Acknowledgement is sent back only if authorization
is enabled.
In case of RELIABLE delivery mode, messages are not persisted and also, no
acknowledgement is sent back to the producer.
Q3: What is the difference between Static and Dynamic destination queues?
Ans: Static EMS queues are created using EMS Administrator or by configuring
directly in the configuration file (queues.conf) and are permanent and can be used at
enterprise level. Static queues have a permanent TTL (Time To Live) and they exist
till the time they are deleted manually.
On the other hand, dynamic queues are short lived queues which are created when
needed and get expired once they are not in use. Dynamic queues remain alive until at
least one client is associated with them.
Q4: Which command is used to delete all the messages from a queue or topic?
Ans: Purge command is used to delete all the pending messages from a queue. For
example, if you want to purge a queue named queue.ajmal; you can run following
command in TIBCO EMS Administrator:
Ans: SOAP Request Reply activity is used to consume a web service operation in
TIBCO BW.
Q: What are the three types of messages that can be part of a WSDL Operation?
Ans: Following are the three types of messages for a Web Service Operation:
1. Input Message
2. Output Message
3. Fault Message
Q: How can we retrieve Concrete WSDL from a deployed web service EAR?
Ans: We can retrieve concrete wsdl from a deployed service by setting
retrieveresource.enabled to true in the advanced configuration of par. Then we can
access the wsdl by following URL:
http://hostname:portno/inspection.wsil
Ans: TIBCO provides a Plugin for REST and JSON which can be used to develop Restful
web services in TIBCO designer.
Q6: Can we have backward transitions in TIBCO BW Processes?
Ans: In TIBCO Designer Processes, transitions between activities are always uni-directional.
This means that we cant go back to a previous transition from any point.
Q7: What are different Panels of TIBCO designer window and what is the purpose of
each?
Ans: There are following four types of panels available in TIBCO designer window:
1. Project Panel: This panel shows project hierarchy.
2. Design Panel: This panel is used to design new BW Processes in TIBCO.
3. Palette Panel: This Panel has all the available Palettes with bundled activities which
can be dragged and used in design panel during process development.
4. Configuration Panel: Configurations including input, output details for any activity
are specified in the configuration panel.
Q8: What are the three levels of validations that can be performed in TIBCO designer?
Ans: Following are the three levels of validations supported by TIBCO BW:
1. Activity level validation
2. Process level validation
3. Project level validation
Q9: What is difference between fault tolerant and Load balanced deployment in
TIBCO?
Ans:
Load balancing:
Load balancing is done between two or more servers where the load is distributed between
servers to avoid any server crashes due to heavy load on a single server.
Fault tolerance:
Fault tolerance is achieved between two servers where one server acts as a primary and the
second server acts as a secondary/backup server for the primary server. Whenever failure
occurs for primary server, the backup secondary server becomes the primary server.
Q10: What are the options for configuring storage for process engines checkpoint repository
?
The options for configuring storage for process engines checkpoint repository are:
Local File: Information is stored in a local file which in case of engine crash/failure
and same information is used to resume the process flow once engine is up. This
mechanism works only in case of single server or load balancing approach.
Database: Information is stored in a database table which is used to resume engine
later. Fault tolerant engines can recover from a checkpoint only when database is
used.
Make sure you specify the same Lock shared configuration object for all
Critical Section groups.
3) If there are three activities in the critical section, jdbc update then a write file and
then again jdbc update. If the second jdbc update fails then what will happen to the file
written by write file activity?
Answer - The contents of the file will persist.
4) What are different types of transaction groups supported in TIBCO BW?
Answer - Iterate, repeat until true, repeat on error until true, critical section, transaction, pick
first, while true.
5) Can two queue receivers listen to the same queue? If yes, if the message arrives on the
queue, when receiver receives it?
Answer - The queue which has made connection first. First come first serve.
6) If the message has hit the queue, and there are no receivers for it, and the receiver
comes alive after 6 hours, what happens to the message?
Answer - Message stays on the queue.
7) If there are five messages and prefetch property is set to 4 then what happens?
Answer - Fetches 4 messages
8) What are the different types of variables available in TIBCO?
There are three types of variables available in TIBCO. They are 1. Global variables Global variables are used for assigning constants a value which is used over a project
2. Process variables Process variables are again of four types. They are 1) Activity output 2) Predefined process
variables 3)Error variables 4) User defined process variables. Predefined process variables
include $_GlobalVarialbes and $_ProcessContext
3. shared variables User defined process variables could be defined at a process definition level and assigned a
value by using an assign activity.
9) What is the difference between process variable and shared variable?
Answer -
10) What is the difference between job shared variable and shared variable?
Answer 11) How do u use get shared variable and set shared variable?
Answer 12) The first time you use a get shared variable does it throw an error?
Answer 13) How have you done error handling?
Answer -
Ans: Enterprise Archive(.ear) file contains combination .par, .sar and .aar files i.e
process archive file, shared archive files and adapter archive files.
File adapter poll the set of files for every change event and make them sync as per the
requirement.
c)
RV follows subject based messaging where as JMS using queues and topics.
f)
RV majorly used in Telecom sectors where as EMS used in Banking and Financial
sectors.
g) RV is a proprietary production of Tibco software inc where as EMS is wrapper
over JMS 1.1version
13. How to install tibco software components (sequence to install the components)?
Ans: We can install tibco software in 3 ways.
a)
GUI mode
b)
Silent mode
c)
Console mode.
Ans: Using bridge concept in EMS we can send messages between applications to
applications without changing the application code. We can simply using the same
application logic with defined topics and queues. Here we simply bridge the desired
topics to queues or queue to queue or topic to topic vice versa.
If u wants to send message between different messaging destinations within the EMS
serve then go for bridge and its unidirectional
22. What is the difference between reliable, certified, distributed queues in RV?
Ans: Reliable: Delivery guarantee in the reliable mode, subscriber can send the retransmission request for the lost packets.
Certified: Certified messaging assures that both pub/subs are in certified mode of
message delivery. And packets/messages will be stored on a ledger file. So that lost
messages or packets can be delivered as per the re-transmission request.
Distributed: Distribute Queue is to share load between the workers; this will handled by
Load balancing concept. Whoever is having highest work will be acting as scheduler
and also we can decide worker capacity as well DQ-Load balancing!
23. What Abstract wsdl and concrete wsdl?
Ans: Abstract wsdl contains the message, port and port type information which can be
used by web service provider.
Concrete wsdl contains abstract wsdl and transport details, and which is used by web
service client.
24. What is the use of ESB BUS?
Ans:An enterprise service bus (ESB) is a distributed, message-based integration
solution based on open standards. The role of an ESB is to facilitate reliable
communications between IT resources such as applications, platforms and services that
are distributed in multiple systems throughout an enterprise.
25. What is difference between publish by value, publishby reference modes in ADB
adapter?
Ans: publish by value: in this type the changes in the source table are reflected in the p_
table and the data is taken from there. its used when high speed is required. it dose not
support data types like oracle long.
publish by reference: in this type the data is directly taken from the source table where
only the primary key will come from p_ table. it allows data types like oracle long.
loss of changes in the source table can be lost bcos of the waiting time.(this can be
avoided using alerter).
26. What is the use of confirm activity, checkpoint and how to use?
Ans: Confirm is used to give client acknowledgements and also in RVCM Concept.
Checkpoint is to saves the state of the process, avoids duplications, and BW Engine
failures
27. What is the difference between SOAP Event Source and Service Activity?
Ans: Using the SOAP Event Source, you can run only one operation at a time. While
using the Service Palette you can run multiple operations simultaneously
The SOAP Event Source process starter creates a process instance for incoming
SOAP requests. SOAP is a standard protocol for invoking web services. This allows you
to create a web service using process definitions. Upon retrieval of the WSDL, the client
can perform a SOAP request to invoke the web service.
28. What is the purpose of Retrieve Resource activity?
Ans: The Retrieve Resources activity generates a WSDL file containing a concrete
service (Conrete WSDL) description of any process definition that has a SOAP Event
Source process starter. This allows clients to access the WSDL for a web service. The
client can then use the WSDL file to invoke the web service. The Retrieve Resources
activity can also be used to retrieve any other resources, including XSDs and WSIL.
29. What is use of HAWK and what are the components present in HAWK?
Ans: HAWK is the tibco monitoring tool which can monitor the health of system,
applications and can be manage the applications too.
Hawk contains 3 major components, hawk display, hawk agents, and hawk microagents.
32. What are the properties that we can set to a queue or topic?
Ans: Secure, failsafe, global, prefetch, maxmsgs, maxbytes, export, import, flowcontrol,
sender_name, trace, expiration, overflowpolicy, store and channel.
33. What are the protocols that RV and EMS use?
Ans: EMS uses TCP protocol where as RV uses TRDP over UDP which will provide
TRDP for secure communication.
34. What is fault tolerance and Load Balancing in tibco EMS and where to configure?
Ans: Fault Tolerance: The arrangement of failover recovery in EMS to assist client
communications to EMS is called Fault Tolerance. Setting up primary and secondary
EMS servers in an environment.
Load Balance:
35. What are the configuration files present in EMS/?.
Ans:tibemsd.conf EMS server config file which reads other config files queues.conf,
topics.conf, durables.conf, acl.conf, user.conf, group.conf, bridges.conf, route.conf etc.
36. What is force redeployment?
Ans: Selecting Force redeployment of all services to redeploy all services even if a
service is in a synchronized state. This is useful if you have manually changed
deployment files, or if you need to define NT Services to multiple hosts in a
Microsoft Cluster.
37. Where we define error schema for generate error activity?
Ans: Will have to define in END activity error schema tab so that it will get deflect on
generate error tab.
38. What is Generate Error, Catch, and Rethrow activities?
Ans:Generate error is for error handling and catch and rethrow is for exception
handling mechanism.
Rethrown will throw error to the next level.
39. What are the other tibco components that automatically come along with tibco tra
installation?
Ans:TRA installs the following components:
1.
2.
3.
4.
5.
6.
NO_ACKNOWLEDGE
e)
EXPLICIT_CLIENT_ACKNOWLEDGE
f)
EXPLICIT_CLIENT_DUPS_OK_ACKNOWLEDGE
41. What are file based and process based ledgers in TIBCO RVCM?
Ans: Ledger will maintain all the data about publisher and as well subscriber.
File based will be stored in memory whereas process based with have saved in file
system
Here also we have to change the ownership as root for the tibco root paths.
48. How to define security to EMS sever Or use of SSL in tibco EMS?
By using this SSL we can provide security to the EMS messages for this will have
configure the SSL certificate file,
49. List the X-path functions that you recently used?
Ans: String, Date, Numbers,logical
50. What is difference between Render XML activity and tib: renderxml X-path
function?
Render xml will take inoput as string and generate to xml.
Parse xml will be sued to generate the Xml file by giving text string as input
51. What is the use of SSL and HTTPS?
Both will be used for to provide the security to TIBCO products.
52. What is flow limit, max jobs and activation limit?
Ans: Flow Limit: Maximum number of concurrently running process instances to start
before suspending the process starter.
Max Jobs: Maximum number of process instances that can concurrently be loaded into
memory.
Activation Limit: Once a process instance is loaded it must remain in memory until it
completes.
53. What is lock object and where it is used?
It will allow only one process instance to access the data at a point of time.It will used
along with critical section group in shared variables.
54. What is the use of pick first and critical section?
Already covered in prev questions
55. What protocol RV uses and explain about UDP and TRDB protocol?
Ans: TRDP (TIBCO Reliable Datagram Protocol) is a proprietary protocol running on
top of UDP. (Trusted Router Discovery Protocol) It brings mechanisms to manage
reliable message delivery in a broadcast/multicast paradigm, this includes:
message numbering
negative acknowledgement
60. When do you get the error Array Index out of Bounds Exception?
Ans: When the data formats are not specified correctly. If we give Fixed format instead
of delimiter we get this type of error. If we give fixed format then we need to specify the
length in offset as equal to the number of characters as (0, 4, 7) and so on.
61. How can we transfer the data between multiple EMS servers?
Ans. By using Routing concept. we need to set Global Property on Queues for achieving
this.
62. What is the caption of TIBCO?
Ans. The information Bus Company. Since it transfers the messages in the form of a
bus from one end to the other.
63. What is a domain?
Ans: Domain is a computer term for a network based group of computers. These
computers, in a domain, share a common database on that network.
64. What is the need of monitoring?
Ans: To handle network health checks even when the administrator is not before the
system we write some rule bases in HAWK and this HAWK will do the monitoring.
65. What is a subject based messaging?
Ans: RV follows Subject based messaging where all publishers publish the message on
subject name and interested subscribers are listening on this subject. Its pure bus
architecture.
66. What is queue and topic based messaging?
Ans: queue follows point to point mode of messaging where as topics follows pub/hub or
client server messaging modes. Both are server based messaging in EMS.
67. Explain fail safe and non fail safe properties of a message. Also the flow of these
messages in the synchronous and asynchronous data bases.
Ans: Failsafe: Ensures that no message loss when the connection gets failed over queues.
Non failsafe means message loss when an unconditional network glitzs occurs.
68. What is the difference between RVD and RVRD?
Ans: RVD (Rendezvous Daemon): RVD is used to connect only within the network.
RVRD (Rendezvous Routing Daemon): RVRD is used to connect outside the network
and also within the network. If we have RVRD then there is no need of RVD.
69. What is RVA?
Ans: To receive packets coming through internet i.e. web pages we use RVA
(Rendezvous Agent)
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
Non Technical:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
Interview Questions.
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
Interview Questions
Which two input parameters are mandatory for the BuiIdEAR Utility?
Answer: 1. the location of the Tibco Designer project ,2. the project path of the
Enterprise Archive Resource
Which three Event Types are available when specifying a custom alert for a Tibco
ActiveMatrix BusinessWorks application?
You have created an XSD schema and a process definition in your Tibco
ActiveMatrix BusinessWorks project. You need to share this schema and the
process definition with other developers working on the same project for reuse.
What should you use to accomplish this?
Answer: LibraryBuilder
Which two operations can be performed with the Tibco Domain Utility?
Answer:1. add a machine to the domain, 2. secure the domain using HTTPS
is passed as a SOAP header in the SOAP requests. Which resource allows you to
hold the header data from the incoming requests?
Answer:Context Resource
GUI mode
Console mode
Silent mode
2. Will Active Enterprise Adapter Palette activities override the existing transport type
of adapter service?
Answer:
Yes.
Max Jobs
Flow Limit
Activation Limit
Java heap Size
Library builder
Alias Library
Process Definitions
Shared Resources
10. What are the maximum, we can configure Faul tolerance mode for EMS?
Answer: At any point of time, we can configure only two servers in FT.
11. What is the use of Critical Section Group?
Answer: Critical Section groups are used to synchronize process instances so that only one
process instance executes the grouped activities at any given time.
12. How do you use XSLT file?
Answer: The transform XML activity allows you to transform an input XML document into
the output specified by the given XSLT File shared configuration resource.
13. How you send messages in a sequence order in ems?
Answer: By using Sequence Key Property.
14. Where do you configure database connection for EMS?
Answer: In Stores.config file.
15. How to set message priorities on the destinations using tibco EMS?
Answer: By specifying priority index at receiving end.
16. Is that possible to change process or shared variable during run time?
Answer: Yes, Its possible to change process or shared variables at run time using assign and
set shared variable activity.
17. In Mapping using XSLT, what is the meaning of (..) in the statement?
Answer: Parent loop
18. Can you deploy a BW engine on system which has only TRA?
Answer: No
19. What are the main parts of JMS message?
Answer:
Header
Body
Properties
20. What is the Difference between Alias Library and Library Builder?
Answer: A Library builder is used to create a design time Library which can be used to
share a set of TIBCO BW processes or resources across projects during the development
phase.
An Alias Library is used to access some Java classes which are part of a jar file.
21. What is BW Memory Management?
Answer: Memory saving mode can reduce the memory used by actively running process
instances as well as potentially improve the performance of checkpoints. By default, Memory
saving mode is disabled, But you can enable garbage collection on specific process instances
by setting the EnableMemorySavingMode property to true. You can enable memory saving
mode for all process instances by setting the EnableMemorySavingMode property to true,
EnableMemorySavingMode = true.
Try this property adding your deployment TRA or BW Engine. Tra file and Redeploy it. But
memory saving is very limited though, make sure if your process is claiming more heap
and/or reaching out of memory exception, there is something wrong process design, Verify
each activity and cleanup all unused content.
22. Can we have 2 processes running on the same Http Connection and same Port No.?
Answer: No
23. Do we have to redesign the project if we make some changes in XSD'S like
enumeration changes or just update them?
Answer: If you modified any property (Enumeration.. etc) for any field in schema, you need
not re-design your project. It's just property, it automatically imported where ever you're
using (diff process) this schema.
24. What is the difference between SOAP Event Source and Service Activity?
Answer: By using SOAP Event source activity we can perform only one operation, if you
need to have multiple operations in one place, you can use Service Activity, as it supports
multiple operations in one place.
25. 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?
X:Patch
Y:Major
Z:Minor
27. What are the resources that gets included in the EAR file, created by the TIBCO
Designer?
Answer: 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.
28. What are the revision control system options available in TIBCO designer?
Answer:
File sharing
VSS
Perforce
XML Canon
ClearCase
iPlanet
CVS
PVCS
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 messagesa 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.
Answer: 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).
31. What are the TIBCO BW activities that can participate in transactions?
Answer: 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
Answer: 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
JDBC
JMS
Active Enterprise Adapter (using JMS transports)
EJB activities
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.
35. What are the possible Error output's of Read File activity?
Answer: 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.
37. What are the maximum/minimum of threads available for incoming HTTP ?
Answer: 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.
39. What are the mandatory configuration parameters for FTP Connection & FTP with
firewall ?
FTP host
Port
Username & Password>
If Firewall is enabled in addition the proxy host and port are required.
40. how to design a process such that depending on number of records updated in a
database, 3 different sub-processes may be called ?
Answer: Define 3 transitions from JDBC update with condition on the no of updates and call
appropriate child processes.
41. How to use legacy .dat file format with latest designer ?
Answer: 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.
ISO8859-1(Latin-1)
UTF-8
Project panel
Palette panel
Design panel
Configuration panel
44. How do you determine if there are broken references in the project?
Answer: Designer preferences stored are stores in a file called 'Designer <ver>.prefs' in the
user home directory.
46. Explain the process configuration parameters - Max Jobs, Flow Limit & Activation Limit
?
Answer:
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.
47. What are the options for configuring storage for process engine's checkpoint
repository ?
Answer: 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.
48. Process engines in a fault tolerant group can be configured as peers or master
secondary.How do these differ ?
Answer: 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.
Answer: 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'.
51. How to control the sequence of execution of process instances created by a process
starter ?
Answer: 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.
52. Can there be two error transitions out of an activity ?
Answer: No. There can be only one Error and one Success if no matching condition
transition out of each activity.
53. When is a 'No Action' group used ?
Answer: 'No Action' group used to have a set of activities having a common error transition
54. What activity can be used to set the value of a 'User defined process variable' ?
Answer: The 'Assign' activity can be used to set the value of a 'User defined process
variable'.
55. Which are the two process variables available to all activities with inputs ?
Answer:
$_globalVariables
$_processContext
56. Which mechanism can be used to pass data between a process instance and a called
sub process other than mapping from/to the caller's input/output ?
Answer: 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.
57. What are the three scenarios where BW engine has to be configured with database
persistence instead of Local File ?
58. 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 ?
Answer: 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)
Answer: 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.
61. Give an example where graceful migration of service from one machine to another is
not possible.
Answer: 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.
62. What are the types of adapter services ?
Subscriber Service
Publisher Service
Request-Response Service
Request-Response Invocation Service
63. If the business process needs to invoke another web service which resource do you
use ?
Answer: 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.
Answer: It can be used to serve the wsdl file of a SOAP Event Source to a (http) client.
Construct a process like: HTTP Receiver -> Retrieve Resources -> Send HTTP
Response
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
Answer: The scope of user defined process variables is only the process in which it is
defined.(Not even inside a sub process that is invoked from this process)
66. What is difference between shared variable and job shared variable ?
Answer:
Both of them can be manipulated via the palette resources 'Get shared variable' and
'Set shared variable'.
A job shared variable is private to one instance of job or in other words each job has a
fresh copy. In the case of shared variable the same copy is shared across all job
instances. It can even be persisted and can survive BW engine restarts and even
shared across multiple BW engines(when deployed using DB persistence).
Answer: Basically wait and notify should share a common notification configuration which
is just a schema definition for data that will be passed from notifier to waiter. Specific
instances of waiter & notifier are corrrelated via a key.
For example: when one process is in wait state for key 'Order-1', it waits till another process
issues a notification with the same key value.
Answer: Child axis- What this means is that when you select "BOOK" from the current
context, it selects a child node with that name, not a sibling with that name. Other axes are
parent , self , sibling etc.
XML
HTML
Text
Lets say between two nodes N1 and N2, there are 3 success transitions with condition and
there is no success transition without condition. If none of the conditions match then a
'Success if no matching condition' transition can be used. Also if there is a success transition
and also success transitions with condition and if the condition matches then both the sucess
transition (no condition) as well as the transition(s) with matching conditions are followed.
So you can use 'Success if no matching condition' to prevent duplicate paths of execution.
Answer: $_error variable is available in the node following the error transition. It
captures the error message, error code etc.
72. What are the cases where business process cant proceed correctly subsequent to
restart from a checkpoint ?
Answer:
Sending HTTP response, confirming an email/jms message etc. This is because the
confirmation or sending HTTP response has to done in the same session. When
engine crashes these sessions are closed at their socket level. In such cases send
response/confirm before checkpoint.
73. Which group do you use to wait for multiple events and proceed with the first to
occur ?