FAQ'S

26
TIBCO BW –FAQS 1) What is the use of service container? Ans) In the latest version of TIBCO Active Matrix Business Works a new feature called Service container is added. In this service container we can add number of EAR files and run all the services simultaneously. With the Service container feature we can add and upgrade processes without bringing down other running processes. 2) In how any ways can we create EAR files. Ans) We can build EAR files in 2 ways. One method is using the Enterprise Archive pallete in the Tibco designer and adding the process archive we can build EAR file. Other method is from the cmd prompt. We use the command appmanage and buildear. 3) What is Schema and why do we create schema. Ans) Schema is used to create a XML schema file in which we add the variables which we want to use in our designer process. We can create the elements under which we can add the typed variables. The structure formed will be in the form of tree structure. 4) What is the use of confirm activity. Ans) Confirm activity is used to confirm the success of a activity that have confirmable messages. For example if certain process starts on reception of a message then if that process starts the confirm activity sends a confirm message to the sender of the message. 5) What are the different modes of tibco BW installation. Ans) There are 3 modes installation . They are a) GUI b) console c) silent 6) When we save a project what files are created under the saved project folder. Ans) In that folder we see the Aeschema folder, all processes create in that project and the vcrepo.datfile. 7) What are the contents of vcrepo.dat Ans) This files contains the display name , RV encodings and description.

description

q

Transcript of FAQ'S

Page 1: FAQ'S

TIBCO BW –FAQS

1) What is the use of service container?

Ans) In the latest version of TIBCO Active Matrix Business Works a new feature called Service

container is added. In this service container we can add number of EAR files and run all the services

simultaneously. With the Service container feature we can add and upgrade processes without

bringing down other running processes.

2) In how any ways can we create EAR files.

Ans) We can build EAR files in 2 ways. One method is using the Enterprise Archive pallete in the

Tibco designer and adding the process archive we can build EAR file.

Other method is from the cmd prompt. We use the command appmanage and buildear.

3) What is Schema and why do we create schema.

Ans) Schema is used to create a XML schema file in which we add the variables which we want to

use in our designer process. We can create the elements under which we can add the typed

variables. The structure formed will be in the form of tree structure.

4) What is the use of confirm activity.

Ans) Confirm activity is used to confirm the success of a activity that have confirmable messages.

For example if certain process starts on reception of a message then if that process starts the

confirm activity sends a confirm message to the sender of the message.

5) What are the different modes of tibco BW installation.

Ans) There are 3 modes installation . They are a) GUI b) console c) silent

6) When we save a project what files are created under the saved project folder.

Ans) In that folder we see the Aeschema folder, all processes create in that project and

the vcrepo.datfile.

7) What are the contents of vcrepo.dat

Ans) This files contains the display name , RV encodings and description.

8) What is grouping activity?

Ans) Grouping activity is used to group certain activities used in the designer so that we can loop

those activities and iterate the group with conditions.

9) What is the condition for a process in order to build the EAR file.

Ans) We need to have a process starter.

Page 2: FAQ'S

10) How can we design exception handling?

Ans) The basic method is by routing the process to another sub process whenever error occurs by

using the error transition.

11) What is the use of Render XML pallet.

Ans) It is used to create a XML file by creating the tags used in the xml file.

12) What are the elements in the WSDL file.

Ans) In abstract WSDl file we have the information about the messages ( request, reply) port type,

operation. In concrete in addition to above we have the transport information.

13) What is the use of global variables?

Ans) Global variables are useful in order to provide dynamic input at the run time.

14) What is custom activity?

Ans) Custom activity is useful when we want others to use our process and not allow them to view

the contents of the process. We can add this process into our MY Pallete section. We can directly

use this process by dragging it into our process.

15) In web service in how many ways can we create connections.

Ans) 2 ways. HTTP and JMS.

16) How does the file poller activity works.

Ans) This is a starter activity which starts the process whenever there is update for the file that is

specified.

17) What is the use of project template?

Ans) In project template we can save our standard processes that we want to use in future. These

processes are generally the ones which have the commonly used activities.

18) What is the optimum maximum number of connections in JDBC?

Ans) 10

19) What is sub process and what is its use?

Ans) Whenever we call a process from another process , the called processbecomes the

subprocess. Sub process helps in reducing the complexity of the design by assigning the activity in

other process.

Page 3: FAQ'S

20) What is TRA.

Ans) Tibco Runtime Agent is the main frame work for all the tibco softwares. It provides the runtime

agent and monitoring agent. All the libraries required by the designs are provided by TRA.

21) What are the process variables that are available to all activities as inputs.

Ans) global variables and process context.

22) What are break points?

Ans) Break points are used to check the inputs and outputs of each activity during testing the design

so that we can debug our design. We can place the check points for all activities on input and output

side.

23) What re the encoding techniques in WSDL?

Ans ) Encoded and literal.

24) What are the conditions in transitions?

Ans) Success, Success with condition, Success with no condition and error.

25) What are the different variables in BW?

Ans) Global variables, Shared variables, process variables and job shared variables. 

26. Explain the processes flow of your latest project by including activities.

ans: for various service implementation I designed processes using various BW activities like JMS

Queue Receiver, XML Parser

27. What are the differences between the versions 2.x and 5.2?

ans:

type 2.x 5.2

deployment In 2.x deployment is done in the designer Here deployment is done using administrator

tool

Name spaces Name spaces are prefixed with tib No tib in name spaces

pallets Extra pallets added

Iterate-reset At the end of each iterate the output is not reset Here the output is reset after each

iteration

installation Here all the components like BW,ADB,FILE etc come as a package Here we will have to

install each component separately

File type All files are .dat. we have to convert these manually Multi format file are available so that

we do not have to convert the dat files

28. What are the activities you worked on?

Ans: JMS queue receiver,confirm,checkpoint,XML parser,call process,JDBC update,SOAP,HTTP.

Page 4: FAQ'S

write to log – widely used.

Assign.

29. What is the inspector activity does?

Ans: the inspector activity is used to obtain the output of any activity or all the activities and process

variables.

Scenario: You can use the inspector activity to write the output of any activity or process variable in

the current process. Activities and process variables in a subprocess are not available to the

Inspector activity (but the output of a Call Process activity can be written using the Inspector activity).

If you wish to obtain the output from one or more activities or process variables in a subprocess,

place the Inspector activity in the process definition of the subprocess.

30.Can you tell me at least four starter activities and when they get executed?

Ans:

1) Adapter subscriber, adap request response server :-When ever a message comes into a

destination queue or network, listerns to a request from a adapter and sends a respose back to that

adapter

2) File poller :- polls for any changes that occur in the file and with any change grabs the whole file.

3) Timer:- receive notification Starts a process on the time specified ex: before JDBC QUERY, starts

a process on receiving of data from a notify activity.

4) http receiver :-Starts a process based on a request from http server.

5) Jms queue receiver, jms topic subscriber :- Starts a process when ever a new message comes

into the specified queue, starts a process when ever there is a new message in the specified topic.

6) Receive mail :- The Receive Mail process starter polls a POP3 mail server for new mail. When

new mail is detected and retrieved, the Receive Mail process starter starts a new process for the

process definition it resides in and passes the mail data to the next activity in the process flow.

7) Rv subscriber:- The Rendezvous Subscriber process starter creates a process when a TIBCO

Rendezvous message on the given subject is received.

Cool Rmi server :- The RMI Server process starter registers the specified remote object name with

the specified registry server and then creates process instances to handle incoming requests for the

object. The process definition acts as the implementation of the specified object.

9) Soap event source :- 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.

At runtime, a client can retrieve the WSDL file for a process containing this process starter using an

HTTP request. Once the WSDL is retrieved, the client can perform a SOAP request to invoke the

web service.

Page 5: FAQ'S

10)Tcp receiver The TCP Receiver process starter starts a new process when a client requests a

TCP connection.

31. What is the purpose of JMS Queue receiver activity and Queue sender activity?

Ans: Starts a process when ever a new message comes into the specified queue.

A queue sender activity sends messages into the specified queue.

32. What are acknowledgement modes and where do you set them and what is the applicability of

each mode?

Ans:

The acknowledge mode for incoming messages. Can be one of the following:

• Auto — the message is automatically acknowledged when it is received.

• Client — the message will be acknowledged at a later point by using the Confirm activity. If the

message is not confirmed before the process instance ends, the message is redelivered and a new

process instance is created to handle the new incoming message. Ensure that your process

definition confirms the message when using this acknowledge mode.

• TIBCO EMS Explicit Client Acknowledge — this mode behaves exactly the same as the Client

mode, except the session is not blocked and one session can handle all incoming messages.

• Dups OK — the message is acknowledged automatically when it is received. JMS provides this

mode for lazy acknowledgement, but TIBCO BusinessWorks acknowledges messages upon receipt.

• Transactional — this mode is used when a transaction that can process JMS messages is included

in the process definition. The message is acknowledged when the transaction commits. See TIBCO

BusinessWorks Process Design Guide for more information about creating transactions that JMS

activities can participate in.

33. What is a check point activity and confirm activity?

Ans: A checkpoint saves the current process data and state so that it can be recovered at a later

time in the event of a failure. If a process engine fails, all process instances can be recovered and

resume execution at the location of their last checkpoint in the process definition.

The Confirm activity confirms any confirmable messages received by the process instance. For

example, if a process is started because of the receipt of an RVCM message, the Confirm activity

can send a confirmation message to the publisher of the RVCM message

34. What happens if you use check point activity first and confirm next?

ans:

In the case of confirmable messages , you must consider the consequences of performing a

checkpoint before or after a Confirm activity.

Page 6: FAQ'S

If the checkpoint is taken before the Confirm activity, then a crash occurs after a checkpoint but

before a confirm, the original message is resent. In this case, the restarted process can no longer

send the confirmation. However, a new process is started to handle the resent message, and you

can implement your process to handle the restarted and new processes appropriately.

If the checkpoint is taken after a Confirm activity, there is potential for a crash to occur after the

Confirm but before the checkpoint. In this case, the message is confirmed and therefore not

redelivered. The process instance is not restarted, because the crash occurred before the

checkpoint.

You must consider the type of processing your process definition performs to determine when a

checkpoint is appropriate if your process definition receives confirmable messages.

35. What is the potential problem with JMS Queue requestor?

Ans:

When we specify a reply to queue there is a chance of other processes sending messages to the

same queue and the jms queue requestor interpreting that as the actual response and sending this

wrong message to the client.

36. What is the other JMS activity you would use to address the problem?

Ans:

Get jms queue message. This incorporates a message ID to identify the true message.

37. What are the activities you used to publish the messages from BW process to network on RV?

Ans: publish rv message activity (along with the shared resource – rv transport).

38. What is the transition in BW?

Ans: to move the data from one activity to another or when conditions exist on the data.

39. What are the different kinds of condition types you can have in transition? Explain Them

Ans:

a)Success :- Take this transition unconditionally. That is, always transition to the activity the

transition points to, if the activity completes successfully.

This is the default condition for transitions.

b)Success with condition :- Specify a custom condition using XPath. If the activity completes

successfully, and the condition you create evaluates to true, the transition is taken to the activity it

points to.

You can type in an XPath condition, and you can use the XPath formula builder to drag and drop

XPath expressions and data into the condition. See Chapter 9, XPath for more information about

specifying XPath conditions and using the XPath formula builder.

Page 7: FAQ'S

c)Success if no matching condition :- Take this transition when the activity completes successfully,

but only if no other transitions are taken. This is useful when multiple transitions with conditions are

drawn to other activities. This condition type can be used to handle any cases not handled by the

conditions on the other transitions.

d)Error :- Take this transition if there is an error during processing of the activity.

40. What is Generate Error activity? What the applications of it ?

Ans:This activity generates an error and causes an immediate transition to any error transitions. If

there are no error transitions, the process instance halts execution. This activity is useful in a group

or in a called process. If you would like to catch and raise your own error conditions, you can use

this activity to do so.

41. What are the shared variables and process variables?

Ans:

Process variables: Process variables are data structures available to the activities in the process.

You can define your own process variables and assign values to them in your process definition.

Process variables are defined on the Process Variables tab of the Process Definition resource. And

assigning values to these kind of variables is done using the assign activity.

Shared variables: A Shared Variable resource allows you to share data across process instances.

All process instances can read and update the data stored in a shared variable. This type of shared

variable is useful if you wish to pass data across process instances or if you wish to make a common

set of information available to all process instances.

42. What is XPATH?

Ans: isa XML based path language used to navigate the XML document and manipulate the data

43. What is XSD?

Ans: XML schema definition.

44. What is name space in XSD?

Ans: A name conflict will occur when two different documents use the same element names. So

each element is given a unique namespace.

45 what is aweb-service?

Ans: application or a network responding to some remote web-request.

46what isw a wsdl?what are different types of wsdl?

Ans:Web-services run on wsdl,it defines structure of schema.There are two types of wsdl

Page 8: FAQ'S

Abstract wsdl:-Used on server side,contains request,response and type of operation performed.

concrete wsdl:-used on client side,contains abstract wsdl and transport used. 

47. What are the modes of installation of tibco bw applns?

a. GUI mode

b. Console

c. Silent mode

48. What is the thread count in tibco administrator?

a. 8-32 threads for BW engines

b. For http connections-10/75

c. JMS-it’s a single thread model

49. What is Max jobs, Flow limit, and Activation limit?

a. Max jobs: Max jobs specify the number of process instances that are kept in memory while

executing.

b. Flow Limit: it is the max number of jobs that can be spawned before the process starter is

suspended.

c. Activation Limit: Specifies that once a process instance is loaded and it must be placed in memory

till it completes execution.

50. What are tibco best practices-users?

a. User ”tibco” should be master of all applications.

b. User “tibcou” should have read only access to tibco applications and have read write access to

logs owned by developer groups.

51. In how many ways can you deploy EAR file?

a. Using tibco administrator GUI

b. Use Appmanage utility to deploy EAR file into targeted domains

52. Whether to use check point/confirm activity first?

a. BW doc/general palette/checkpoint/confirm

53. What information can be found in the appmanage.batch file?

a. Component paths, service instance paths that is required to run AppManage utility

54. What is difference between EMS and RV?

a. Ems is centralized where as RV is bus based

55. What are the 2 message transport types?

a. Ems has 2 message transport types

i. Point-to-point: queues

ii. Pub-sub : topics

56. What is the diff between tibco adapter and BW component?

a. Adapters are connectors that use a messaging channel that can be configured over source/target

systems which can be used in Pub,Sub or Replyrequest mode. BW components are designer,

Page 9: FAQ'S

administrator, bw engine.

57. Why are routes used?

a. When we have to send messages from one server to another.

58. What parameters would be used to control storage in EMS?

a. Flow control property

59. What are the diff types of messaging services in RV?

a. RV

b. RVCM

c. RVCMQ

d. RVRD

60. Which transport is used between hawk agent and hawk microagent?

a. Rv

61. What re the three transport types available when configuring a tibco component?

a. HTTp, RV,local

62. What is the standard file extension of deployment files?

a. EAR

63. How many ways are there to move files between 2 secured UNIX servers

a. Sftp /https

64. What information can be found in the tibco bw tra files?

a. Service instance machine names, fault-tolerant settings, java heap sizes, jmv lib paths , repository

URL

65. Can you give one example for sync and async operation?

a. Sync-request-reply and req-reply invocation services

b. Async-publication and subscription services

66. What are the different types of queues?

a. Static-created by the user

b. Dynamic- created by the sender/receiver application at run time.

c. Temporary- created by receiver to submit the response to EMS server/Sender to get the

messages.

67. What are the various types of application property types in EMS?

a. Boolean, byte, short, char, int, long, float, double, string.

68. What are event queues?

a. An event queue contains received but undelivered messages, periodic timers, and state change

callbacks etc.

69. What are the wire formats supported by file adapter?

a. AE,XML,RV

70. What is job shared variable and shared variable?

Page 10: FAQ'S

a. Job shared variable- is used to share the value of the variable between the main process and the

sub process.

b. Shared variable- is used to share the value of the variable between two processes

71. What is the difference between jdbc and adb

a. Jdbc is a collection of activities that can be used for custom operations

b. ADB is an adapter which is used to capture the events and take action, this has pub and sub

mechanisms, pub is used to capture the events and publish the messages and sub will be used to

upsert the operations.

72. How is reduce the load on ems server?

a. Using maxbytes, flow limit, prefetch mechanisms

73. What is a tibco domain?

a. It’s a collection of software and hardware components that are used for business process

integration.

74. What is tibco hawk agent?

a. It’s a independent process that monitors the status of the applications.

75. What are the resources that get included in the EAR file, created by the TIBCO designer?

a. EAR file contain

i. Local project resources

ii. Library builder resources

iii. Alias library resource files

iv. Files referred in classpath of designer

v. All the files under the designer installation directory.

76. What is tcp and udp

a. Tcp is used for client request. Udp is used for service call.

77. What is the difference between RVD and RVRD

a. RVD is used to route with in a subnet

b. RVRD is used to route through different subnet.

78. What are message selectors?

a. Message selectors are used to filter messages based on expression syntax. This reduces the

processing overhead from the application.

79. What is a Home Queue and what is a Routed Queue in EMS routes?

a. Home Queue: The global queue sitting in the EMS server, where Route is being created.

b. Routed Queue: the global queue sitting in the EMS server where the queue name is referring to

route.

80. What is the EMS maximum message size?

a. The maximum message size is 512 MB.

81. What are the delivery modes supported by EMS server?

Page 11: FAQ'S

a. EMS supports 2 delivery modes

i. Persistent

ii. Non-persistent

iii. Reliable.

82. What are the message types supported by EMS?

a. Text

b. XML

c. Bytes

d. Stream

e. Simple

f. Object

g. ObjectRef

h. Map

83. What are the wildcard characters supported by EMS?

a. * – means that any token can be in place of *.

b. > – matches any destination name i.e., it matches one or more trailing elements.

You can subscribe to wildcard topics but can’t publish.

You can neither send nor receive from wildcard queue names

84. What is the default storage limit for destinations?

a. Setting the flowControl property on a destination but specifying no value causes the server to use

a default value of 256KB.

85. What is the syntax to create bridges?

a. Create bridge bridge_name source=destination_type:name target=destination_type:name

86. How do avoid/stop creation of dynamic queues/topics?

a. By deleting the parent queue “>”

87. Explain what do you understand by TRA?

a. TIBCO Runtime Agent is a bundle of tibco software and third-party software that is needed to run

many TIBCO applications such as TIBCO Business works and Adapters

88. What are the components installed when you install TRA?

a. TIBCO designer

b. Java Runtime Environment

c. TIBCO Hawk Agent

d. TIBCO Rendezvous

e. TIBCO Domain Utility

f. TIBCO Wrapper etc.

89. Explain TIBCO Hawk Agent?

a. It is an autonomous process that resides on each computer on which TRA is installed. Hawk

Page 12: FAQ'S

Agent uses a set of rules called rulebases to configure system management, status and automation

tasks.

90. What is the use of TIBCO Wrapper utility

a. It allows deployment of a TIBCO product or TIBCO Adapter SDK based custom adapter as a

service.

91. How is load balancing done in Randezvous?

a. Using distributed queues

92. What protocol does RV uses to communicate with in a subnet and outside the subnet?

a. UDP within a subnet

b. TCP outside subnet.

93. What is the difference between technical and functional adapters?

a. A

b. F

94. What is the use of secured queues and topics?

a. Setting ‘secure’ property to queues/topics can restrict unauthorized users from publishing/sending

and subscribing/receiving the messages.

95. What is Publish by value and Publish by reference?

a. In Publish by Value, all the specified columns in the source table are copied into the Publishing

table.

b. In Publish by reference, only the specified key column values are copied to the publishing table.

96. What are the services available in Adapter?

a. Publication service

b. Subscription service

c. Request-response service

 

 

 

 

 

 

Page 13: FAQ'S

1) What is EAI?A: It stands for Enterprise Application Integration. It is used for integrating different types of enterprise application.2) What is Integration?A: It is used for Exchange of Information.3) Why EAI or Tibco?Because each application having their own way of representing data or called as data formatIn order to send the data one system to other we need to convert the data into end application understandable format.5) What is messaging?In EAI applications communicate or application exchange information by using messaging.The actual data will be part of a message. In the message 60% will be meta data the other is 40% of actual data for easier transport.6) What is BW?It stands for Business Works and is used for developing integration projects, which provides design time and run time environment for developing integration works.7) Where you specify the Business Logics?In process definitions we specify the Business Logics8) What are process definitions?Specifying the business rules to control the data flow.9) What is Job?The job is nothing but process instance, which represents one message.10) What is palette?A palette is a container for similar activities that belongs to a same domain.XMLExtensible markup language contains data (In Tibco irrespective of type external systems once data comes inside Tibco that will be in a from of XML. In order to validate xml data we need to create xml schema (it is a structure). When xml schema specifies the structure of xml data, xml schema will be have extension of .xsd (stands for schema definition).11) What is Parse Xml?It takes input as xml based on xml schema it will validate and extract data from xml12) What is Render Xml?It takes input as data based on xml schema it will convert data into xml file13) What is Render Data?It takes input as data based on the data format it gives output as a string or binary format.14) What is Parse Data?It takes input as text or csv (comma separated value) and it will be validating based on the data format and extracts the data from it.15) What is difference between RV and EMS?RV stands for rendezvous and EMS stands for enterprise message serviceRV is bus architecture and Ems is client and server (hub and spoke) architecture16) What is activity?

Page 14: FAQ'S

It is like a method which take input parameter s perform logic on input parameter and will return some result17) How a variable will be identified in X_path or in BW?$ Example: int I à $:

Page 15: FAQ'S

1.What are the modes of TIBCO BW Installations ?GUI modeConsole modeSilent mode2.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:PatchY:MajorZ:Minor3.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.

refer the digram

5.What are the revision control system options available in TIBCO designer?File sharingVSSPerforceXML CanonClearCaseiPlanetCVSPVCS6.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.

Page 16: FAQ'S

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 activitiesJMS activitiesActiveEnterprise Adapter activities that use JMS transportsEJB activitiesTIBCO iProcess BusinessWorks Connector activities9.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:JDBCJava Transaction API (JTA) UserTransactionXA Transaction10.What activities are supported in JTA Transaction?The Java Transaction API (JTA) UserTransaction type allows:JDBCJMSActiveEnterprise Adapter (using JMS transports)EJB activitiesto participate in transactions.

11.What activities are supported in XA Transaction ?The XA Transaction type allows:JDBC activitiesActiveEnterprise Adapter activities that use the JMS transportJMS activitiesto 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:FileNotFoundException :Thrown when yhe file does not exist.UnsupportedEncodingException:Thrown when the text file’s encoding is not valid and the content of the

Page 17: FAQ'S

file is read into process data.FileIOException :Thrown when an I/O exception occurred when trying to read the file.13.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.14.What are the maximum/minimum of threads available for incoming HTTP ?The maximum/minimum of threads available for incoming HTTP : 75/1015.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.16.What are the mandatory configuration parameters for FTP Connection & FTP with firewall ?The mandatory configuration parameters for FTP ConnectionFTP hostPortUsername & 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.19.What are the encodings supported by designer ?Encodings supported by designer areISO8859-1(Latin-1)UTF-820.What are the 4 main panels of the Designer window ?The 4 main panels of the Designer window areProject panelPalette panelDesign panelConfiguration panel21.How do you determine if there are broken references in the project?Project -> Validate for deployment22.Where are the Designer preferences stored ?Designer preferences stored are stores in a file called 'Designer .prefs' in the user home directory.

23.Explain the process configuration parameters - Max Jobs, Flow Limit & Activation Limit ?Max Jobs :

Page 18: FAQ'S

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

Page 19: FAQ'S

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 transition31.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$_processContext33.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 true36.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)37.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.38.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.39.What are the types of adapter services ?Types of adapter services are :Subscriber ServicePublisher ServiceRequest-Response ServiceRequest-Response Invocation Service40.If the business process needs to invoke another web service which resource do you use ?

Page 20: FAQ'S

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.41.What is the functionality of the Retrieve Resources resource?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 ResponseNow the WSDL file for a SOAP service can be retreived using the http requesthttp://://?wsdlwhere 'path' is the folder path to the SOAP Event Source process and 'resourceName' is the name of the processExample : http://purch:8877/Purchasing/GetPurchaseOrder?wsdl42.What is the scope of user defined process variables ?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)43.What is difference between shared variable and job shared variable ?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).44.How do wait-notify resources work ?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.45.What is the default Axis in XPath ?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.46.What are the output formats for XSLT?XMLHTMLText47.What does ' Success if no matching condition' transition mean ?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.

48.What is the Purpose of $_error variable ?$_error variable is available in the node following the error transition. It captures the error message, error code etc.

Page 21: FAQ'S

49.What are the cases where business process cant proceed correctly subsequent to restart from a checkpoint ?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 ?A 'Pick First Group'.