Sie sind auf Seite 1von 32

1/20/2015

Tibco
0

More NextBlog

CreateBlog SignIn

Tibco

110,240

Thursday,September30,2010

SearchThisBlog

Search

TIBCOAdaptersFAQ'S
ADAPTERS
WhatareAdapters?
Adaptersareconnectorstodatasourcestocatcheventchanges.OnceanAdapter
catchesaeventchange,itpublishesthemessagetoamessageboxusingeitherEMSor
RVD
Adapterisagatewaybetweendifferentapplicationsusingmessagingchannels.

Followers

Jointhissite
withGoogleFriendConnect

Members(38) More

Whatarethedifferenttypesofadapters?
TechnicalAdapters(FileAdapter,DBAdapter)
FunctionalAdapters(PeopleSoftAdapter,SAPR3Adapter)
CustomAdapters
AdapterComponents
Eachadapterhastwomaincomponents,anadapterpaletteandaruntimeadapter.In
addition,someadaptersincludeadesigntimeadapter.Theadapterpaletteanddesign
timeadapterareusedduringconfiguration,andtheruntimeadapterisusedatproduction
time.

Alreadyamember?Signin

BlogArchive

AdapterPalette:
Eachadapterincludesapalettethatisusedforconfiguration.Thepaletteisautomatically
loadedintoTIBCODesignerduringadapterinstallationandavailablethenexttime
Designerisstarted.Thepaletteenablesyoutoconfigureadapterspecificoptions,such
asitsconnectiontothevendorapplication,loggingoptions,andadapterservices.During
thedesignphase,thepaletteconnectstothevendorapplicationandfetchesinformation
aboutconnectionoptionsanddataschemas.Youcanthengraphicallyselectthe
appropriateitems.Forexample,duringconfigurationofaTIBCOAdapterfor
ActiveDatabaseadapterinstance,thepalettefetchesallpertinenttablesinthedatabase.
Youthenchoosethetablesthattheparticularserviceistosendorreceive.

2010(5)

RuntimeAdapter:
OncetheadapterhasbeenconfiguredusingTIBCODesigner,itcanbedeployed.A
deployedadapterinstanceisreferredtoasaruntimeadapter.Aruntimeadapter
operatesinaproductionenvironment,handlingcommunicationbetweenavendor
applicationandotherapplicationsthatareconfiguredfortheTIBCOenvironment.

AboutMe

September(5)
TIBCOAdaptersFAQ'S
TIBCOEMSFAQ'S
TIBCORVFAQ'S
TIBCOFAQ'S
TIBCOBWFAQ'S

Arun
Viewmycompleteprofile

DesigntimeAdapter:
Someadaptersuseadesigntimeadapter(DTA)toaccessavendorapplicationand
returndesigntimeconfigurationinformation.ThepaletteisaclientoftheDTAprocess.
TheDTAconnectstothevendorapplication,fetchesdataschemasandsendsthemto
thepalette.
AdapterLifecycle:
Thefollowingisanoverviewoftheadapterlifecycle:
1.Installthevendorapplicationtowhichtheadapterconnectsbeforeinstallingthe
adapter.Formanyadapters,theadapterandvendorapplicationneednotbeinstalledon
thesamemachine.
2.AdaptersdependonothersoftwarefromTIBCO.Beforeinstallinganadapter,the
TIBCORuntimeAgentsoftwaremustbeinstalledoneachcomputeronwhichthe
adapterruns.
3.CreateanadapterinstanceandsaveitinaprojectusingTIBCODesigner.Aproject
containsconfigurationinformationrequiredforaruntimeadaptertointeractwiththe

http://aruntibco.blogspot.in/

1/32

1/20/2015

Tibco
vendorapplicationandotherapplications.
4.Deploytheadapter.AnadapterinstanceisdeployedusingTIBCOAdministrator.
a)UsingTIBCODesigner,createanEnterpriseArchive(EAR)file,whichcontains
informationabouttheadapterinstancesandprocessesyouwishtodeploy.
b)UsingTIBCOAdministrator,uploadtheEAR,thendeploytheadapteronthe
machine(s)ofyourchoice.Youcansetruntimeoptionsbeforedeployment.
c)UsingTIBCOAdministrator,startandstoptheadapter.
d)MonitortheadapterusingthebuiltinmonitoringtoolsprovidedbyTIBCO
Administrator.

AdapterServices:
Adaptersareresponsibleformakinginformationfromdifferentapplicationsavailableto
otherapplicationsacrossanenterprise.Todoso,anadapterisconfiguredtoprovideone
ormoreofthefollowingservices:
PublicationService
SubscriptionService
RequestResponseService
RequestResponseInvocationService
PublicationService:
Anadapterpublicationservicerecognizeswhenbusinesseventshappeninavendor
application,andasynchronouslysendsouttheeventdatainrealtimetointerested
systemsintheTIBCOenvironment.Forexample,anadaptercanpublishaneventeach
timeanewcustomeraccountisaddedtoanapplication.Otherapplicationsthatreceive
theeventcanthenupdatetheirrecordsjustastheoriginalapplicationdid.Whenan
applicationreceivesarequesttocreateacustomerrecord,theapplicationnotifiesthe
adapterabouttherequestandtheadapterpublishestheevent.
UserInterfaceApplicationXAdapterTIBCOMessaging
CreaterecordSendtoadapterPublishing
Pollsonthesourcedatatable(basetable).
Readsdatafromthesourcetable.
Sendsthedatatothemessagebus.
SubscriptionService:
Anadaptersubscriptionserviceasynchronouslyperformsanactionsuchasupdating
businessobjectsorinvokingnativeAPIsonavendorapplication.Theadapterservice
listenstoexternalbusinessevents,whichtriggertheappropriateaction.Referringtothe
previousexample,anadaptersubscriptionservicecanlistenforcustomerrecordcreation
events(happeninginanapplicationandpublishedtotheTIBCOinfrastructure)and
updateanotherapplication.
TIBCOMessagingAdapterApplicationYSubscribingUpdaterecord
Readsdatafromthemessagebus.
Givesthedatatothedestinationtable.
RequestResponseService:
Inadditiontoasynchronouslypublishingandsubscribingtoevents,anadaptercanbe
usedforsynchronouslyretrievingdatafromorexecutingtransactionswithinavendor
application.Aftertheactionisperformedinthevendorapplication,theadapterservice
sendsaresponsebacktotherequesterwitheithertheresultsoftheactionora
confirmationthattheactionoccurred.Thisentireprocessiscalledrequestresponse,and
itisusefulforactionssuchasaddingordeletingbusinessobjects.
Receivesrequestsfromotherapplications.
Parsestherequests.
Returnsresponse(Sendsonlytherequesteddatatothemessagebus).
RequestResponsInvocationService:
Anadapterrequestresponseinvocationserviceissimilartotherequestresponse
service,exceptthattherolesarereversed.Thevendorapplicationisnowtherequester
orinitiatoroftheservice,insteadoftheprovideroftheservice.Theadapterserviceacts
asaproxy,givingthevendorapplicationtheabilitytoinvokesynchronouslyfunctionality
onanexternalsystem.
HowcanufinetuneanADBAdapter?Whatarethedifferentparametersthatcanbe
used?
a)wecanusepublishbyvalueorpublishbyreferenceforhighspeedanddatatype

http://aruntibco.blogspot.in/

2/32

1/20/2015

Tibco
supportlikeoraclelongrespectively.
b)Canusepolaroralerterforfrequentandinfrequentdatachangesrespectively.
c)Adb.PollingInterval,_ADB.DUPDECT.adapter_instance_nameparameterscanbe
usedtodoflowcontrolandavoidduplicationrespectively.
Whatarethequalityofserviceswecanhaveinadapterpublishingservices?
RV:reliable,certified,transactional
Whatarethewireformatswecanhaveinadapterpublishingservices?
wireformats:
a)RV:activeenterprisemessage,RVmessage,XMLmessage.
b)JMS:XMLmessage
Whataretheobjects,whichwillbecreatedifyouconfigureandsaveADBadapter?
Publishingtableforsourcetable,Triggeractsasabridgebetweensourceandpublishing
table
ExplaintheinternalfunctioningofADBpublicationservice?
WhenweconfigureADBpublishingserviceitcreatesPublishingtableforsourcetable,
Triggeractsasabridgebetweensourceandpublishingtable.Wheneverdataisbeing
inserted/updated/deletedfromsourcetable,itwillbeinsertedintopublishingtableby
meansoftrigger.ADBhasanothercomponentcalledpollingagent.Pollingagentwillbe
keeplookingfornewinsertsintopublishingtableandifitfindsanythenconvertsthe
recordinptableintothespecifiedwireformatandpublishesonspecifiedqualityof
service
Canwefiltertherecordsfrompublishingwhentheygetupdatedinsourcetable?(Data
fromallregionsarecomingintotablebutIwanttopublishonlyNewYorkdata)
YesBymodifyingthetriggerwecanonlyinserttheNewYorkdataintopublishingtable
Canwelimitthenumberofcolumnstobepublishedfromthesourcetable?
Yes,usingtheuse?fieldinadapterpublishingtabletab.justuncheckthecolumnsudont
wanttouse.
Canwepublishparentandchildtableinformationbyusingsingleadapterconfiguration
andhow?
Yes,intheadapterpublishertabletabcreateaparenttablefirstbylookupandthenadd
thechildtableusingtheaddchildtabthenclickonthechildtablecolumntospecifythe
foreignkeythantoestablisharelationshipbetweentheprimarykeyoftheparentandthe
foreignkeyofthechildgotothecolumninthechildtableandspecifytheprimarykeyof
theparenttable.
Inthesubscriptionservicethedestinationtableiscreatedandthechildtablemappingtab
willhavethechildtableontheleftmappedwiththeparenttableontheright.
Whatispublishbyvalueandpublishbyreference.Explaintheprosandcons.
publishbyvalue:inthistypethechangesinthesourcetablearereflectedinthep_table
andthedataistakenfromthere.itsusedwhenhighspeedisrequired.itdosenot
supportdatatypeslikeoraclelong.
publishbyreference:inthistypethedataisdirectlytakenfromthesourcetablewhere
onlytheprimarykeywillcomefromp_table.itallowsdatatypeslikeoraclelong.
lossofchangesinthesourcetablecanbelostbcosofthewaitingtime.(thiscanbe
avoidedusingalerter).
Whatarethetypesofmessagetransfersinfileadapters?
recordtransfer:tointegratefilesystemstoTIBCOAEenvironment.
simplefiletransfer:totransferfilestootherTIBCOadapters.
Whatisreadschemaandwriteschemainfileadapter.
Readschemainthefileadapterpublisherconfigisusedtodefinetyprofexpectedinput.
Herewecanusethedelimitedfiletupeorthepositionalfiletype.
WhatisthedifferencebetweenanADBAdapterandJDBCpaletteactivities?
UsingADBwecanonlypickupthedatafromonedatabaseandputitinonotherone.
ButusingJDBCwecanQueryusingJDBCQueryandmanupulatedatausing
JDBCUpdate.likewecanuseselectstatementsandinsertandupdatestatementsto
selectivequeryandupdate.
ADBadaptersmightbeusefulinscenarioswherewehavelargeamountofdata.

http://aruntibco.blogspot.in/

3/32

1/20/2015

Tibco
WhatisthedifferencebetweenaFileAdapterandFilepaletteactivities?
Infileactivitiesthefilepolarcannothandlemultiformatdataandrecordbyrecord
transfer.ittakescareofparticularformatspecifiedanddoesfiletransfer.
whereasfileadaptercanhandlemultipleformatsanddoesrecordbyrecordtransfer.
IfthereferencetoSchemachangesin"ActivityInput"doesitthrougherror,howdoyou
correctit?
Yes,andwehavetocorrecttheschemainthewaytheinputexpectit.
WheredowespecifyHTTPPortnumber?
InHTTPconnectionintheHTTPactivities.
WhatisthedifferencebetweenJDBCactivitiesandADBAdapter?
ADBusesODBCtoconnect,JDBCusesJDBC
ADBismoresuitableforinstanceswhereyouhavealotofprocessing
ADBismoresuitableforinstanceswhereyouwantthataparticularactiononaDB
TabletriggersaBWprocess.
ADBadapterisbestforpublishingfromdatabase.
ForsimpleinsertsandupdatesthenADBsubscriberisbest.
ADBisanadapterwhichisusedtocapturetheeventsandtakeaction,thishaspub
andsubmechanisms,pubisusedtocapturetheeventsandpublishthemessagesand
subwillbeusedtoupserttheoperations.
Jdbcisacollectionofactivitiesthatcanbeusedforcustomoperations
IncaseofinsertorupdatetodatabasethencheckifyouhavecomplexJDBCinserts,
transactionmanagementandotherdynamicqueriesthenJDBCactivitiesarebest.
JDBCismoresuitableforrunningdynamiccodewhereinruntimeyoucanexecute
statementswithdifferentvaluesdependingonprocessexecution.
WhataremodesofoperationforFileAdapterinRecordMode?
Synchronousmodeuponreceivinganevent,thepublicationservicewillallowother
servicesintheinstanceonlyafteritcompletestheprocessingandpublishingofallthe
filesthatmatchthespecifiedcriteria.
InAsynchronousmodethepublicationserviceallowsotherservicesoftheinstanceto
receiveeventswhileitisprocessingandpublishingafile.BydefaultSubscriptionservice
alwaysoperatesinAsynchronousmode.
WhatisthediffbetweentibcoadapterandBWcomponent?
Adaptersareconnectorsthatuseamessagingchannelthatcanbeconfiguredover
source/targetsystemswhichcanbeusedinPub,SuborReplyrequestmode.BW
componentsaredesigner,administrator,bwengine.
Whatisasynchronousservicethatanadaptersupports?
Ofthe4Adapterservices,Request/Responseistheonlyadapterservicethatis
synchronous.
WhatisEventDrivenandDemandDriven?
EventDrivenPush
DemandDrivenPoll.
TIBCOAdapterforActiveDatabase:
TIBCOAdapterforActiveDatabasesoftware(theadapter)allowsdatachangesina
databasetobesentastheyoccurtootherdatabasesandapplications.Itextends
publishsubscribeandrequestresponsetechnologytodatabases,makingmultiplelevels
ofdeliveryservicesavailabletoapplicationsthatneedaccesstothesedatabases.
ODBCandJDBCcompliantdatabasessuchasOracle,Sybase,andMicrosoftSQL
Serveraresupported.Whiletheadapterdoesnotrunonz/OSandiSeriessystems,it
canremotelyconnecttoaDB2databaserunningonthesesystems.TIBCOAdapterfor
ActiveDatabaseiswrittenusingtheTIBCOAdapterSDKsoftware,whichallowsthe
adaptertointeroperatewithotherTIBCOproducts.Theadaptercancommunicatewith
anyapplicationthatisconfiguredfortheTIBCOenvironment.
WhatisFileAdapter?
TIBCOAdapterforFilessoftwareprocessesdatafromtextfilesandpublishesthe
contentsinrealtimetotheTIBCOenvironment.Theadapteralsolistensformessagesin
theTIBCOenvironmentandwritesthecontentstoafile.
TheadaptersupportsonlytextfileswhenitisintegratingafilesystemintotheTIBCO
ActiveEnterpriseenvironment.Itsupportsbothtextandbinaryfileswhenitistransferring
filesbetweentwoormoreTIBCOAdapterforFilesinstallations.

http://aruntibco.blogspot.in/

4/32

1/20/2015

Tibco
FileAdapterOperationsMode?
Selectinganoperationmodeisthefirststepinconfiguringaservice.Theoperationmode
determineswhethertheservicewillintegratethefilesystemwiththeTIBCO
ActiveEnterpriseenvironmentortransferfilesbetweeninstancesofTIBCOAdapterfor
Files.
IntheRecordModeofoperation,wheretheadapterintegratesthefilesystemwith
TIBCOActiveEnterprise,youwillhavetodefineanduseschemas.
IntheSimpleFileTransferModeofoperation,wheretheadaptertransfersfilesamong
instancesofTIBCOAdapterforFiles,youwillhavetodefinevariousoptionsforfile
transfer.However,thereisnoneedtodefineaschema.
Cantwoadapterscommunicatewitheachother?
Notwoadapterscancommunicatewitheachotherdirectly.Theycancommunicateonly
throughamessaginglayer.
ConsideringTibcotobethemessaginglayer,
PublishingAdapteralwayspublishestoTibcomessagingbus.
SubscribingAdapteralwayssubscribesfromaTibcomessagingbus.
WhatareusersanduserkeycolumnsinAdapterPublisher'sTabletab?
WhileconfiguringanADBPublisher:
"Users"columnspecifieswhatcolumnshavetobepublishedtothepublishingtable.
"Userkey"isselectedmeansitactsasaprimarykey.Childtablescanbejoinedtothe
Parenttablesonlyusingtheprimarykeys.Publishbyreferencestoragemodecopies
onlytheprimarykeyfromthesourcetable.Ifasourcetabledoesnothaveaprimarykey
column,wecanusetheuserkeytodothesame.
WhatarethecolumnsavailableinaAdapterPublishingtable?
AnadapterPublishingtablecontainstheactualdatacolumnsplusInternalAdapter
columns.
Actualdatacolums:
Dependingonthestoragemodeselected,theactualdatacolumsinthepublishingtable
varies:
ForPublishbyvalue,theactualdatacolumnswillbetheexactcopyofthebasetable
datacolums.(allthecolumns).
ForPublishbyreference,theactualdatacolumnswillbetheexactcopyofthebase
table'sprimarykeydatacolums(onlyPrimarykeycolumn).
InternalAdaptercolumns:
ADB_SUBJECT
ADB_SEQUENCE
ADB_SET_SEQUENCE
ADB_TIMESTAMP
ADB_OPCODE
ADB_UPDATE_ALL
ADB_REF_OBJECT
ADB_L_DELIVERY_STATUS
ADB_L_CMSEQUENCE
PublicationandSubscriptionformats(fileadapter)
Twotypesofformatsaresupportedbyadapterswhileexchangingdatabetween
applications
1.MInstances
2.MBusinessDocuments
MInstancesistheentitythatisexchangedamongTIBCOapplications.Itistheschema
instantiations.Theruntimeadapterparsestheinputfile,identifiestheschemaassociated
withthepublicationservice,createstheMInstancesandpublishesit.
MBusinessDocumentsisafacilityprovidedbyTIBCOActiveEnterpriseforgrouping
MInstances.MBusinessDocumentalwayscontainMInstancescreatedfromthesame
file.IfhighthroughputisdesiredfrompublicationserviceMBusinessDocumentattributes
canbeused.
Modesofoperation(fileadapter)
Therearetwomodesofoperation
Synchronousmode
Asynchronousmode
Anadapterinstance/configurationcanhavemultiplepublicationandsubscription

http://aruntibco.blogspot.in/

5/32

1/20/2015

Tibco
services.Servicesareactivatedbyevents.Thepublicationservicecanbeactivatedbya
timereventormessageevent.Theeventthatactivatesthepublicationserviceiscalled
pollingagent.
InSynchronousmodeuponreceivinganevent,thepublicationservicewillallowother
servicesintheinstanceonlyafteritcompletestheprocessingandpublishingofallthe
filesthatmatchthespecifiedcriteria.
InAsynchronousmodethepublicationserviceallowsotherservicesoftheinstanceto
receiveeventswhileitisprocessingandpublishingafile.BydefaultSubscriptionservice
alwaysoperatesinAsynchronousmode.
Iftheconfigurationhasmorethanoneserviceorifthepublicationserviceisexpectedto
processlargefilesizesorlargesetoffiles,settingthepublicationservicein
asynchronousmodeisrecommended.
Typesoffilerecords(fileadapter)
Filerecordscanbeclassifiedintotwocategories:
1.delimitedfilerecord
2.positionalfilerecord
Delimitedfilerecordsareusedtointerpretlinesthathaveawelldefineddelimiter
betweenthefields.Delimiterscanbeofsingleormultiplecharacters.Thesecanbe
identifiedbythenumberoffieldsorbyusinga
constantfieldvalue.
Positionalfilerecordsareusedtointerpretlinesthathavewelldefinedfieldlengths.
Thesecanbeidentifiedusinglineorrecordlengthorbyusingaconstantfieldvalueie
constantlinelength.
whatisopaquetable
Thesubscriptionserviceusestwologicallayerswhenprocessingamessage.Thefirst
layerdecodesdatafromthemessageandthesecondlayerprovidesthedatabase
transaction.Ifanexceptionoccursinthefirstlayer,theadapterlogsthemessagetothe
opaqueexceptiontable.Inthesecondlayer,ifanyDMLcommandfailsatanylevel,the
adapterrollsbackthistransactionandstartsanothertransaction,insertingintoexception
tables.Iftheinsertintoexceptiontabletransactionfails,theadapterthenlogsthe
messagetotheopaqueexceptiontable.
whatisthedifferencebetweenexceptiontableandopaqueexceptiontable?
Thesubscriptionserviceusestwologicallayerswhenprocessingamessage.
Thefirstlayerdecodesdatafromthemessageandthesecondlayerprovidesthe
databasetransaction.Ifanexceptionoccursinthefirstlayer,theadapterlogsthe
messagetotheopaqueexceptiontable.
Inthesecondlayer,ifanyDMLcommandfailsatanylevel,theadapterrollsbackthis
transactionandstartsanothertransaction,insertingintoexceptiontables.Iftheinsert
intoexceptiontabletransactionfails,theadapterthenlogsthemessagetotheopaque
exceptiontable.
WhatarethetransporttypessupportedbyADBadapters?
ThetransporttypessupportedbyADBadaptersare:
1)Rendezvous
2)JMS
Rendezvous
QualityofservicesupportedbyRendezvous:
1)Reliable
2)Certified
3)Transactional
WireFormatsSupportedbyRendexvous:
1)ActiveEnterpriseMessage
2)RendezvousMessage
3)XMLMessage
JMS
WireFormatsSupportedbyJMS:
1)XMLMessage
ConnectionFactoryTypeSupportedbyJMS:

http://aruntibco.blogspot.in/

6/32

1/20/2015

Tibco
1)Topic
2)Queue
DeliveryModeSupportedbyJMS:
1)Persistent
2)NonPersistent
PostedbyArunat1:12AM 15comments:

Linkstothispost

Labels:TIBCOAdaptersFAQ'S

TIBCOEMSFAQ'S
EMS
WhatarethedifferentmodesofinstallationinEms?
a.GUImode
b.Consolemode
c.Silentmode
WhatarethemessagingmodelssupportedbyJMS?
a.Pointtopoint
b.Publishsubscribe
c.Multicast
WhatarethedestinationsinEMS/JMSandtheirdifferences?
Ans:
Queues:pointpointcommunication.Anynumberofproducersandconsumerscanexist.
Atanytimeandsituationeachmessageistakenbyonlyoneconsumer.
Exclusive:onlythefirstconsumerwhopicksupthefirstmessagecantaketherestof
themessages(usedifuwantsonlyoneconsumer).
Nonexclusive:whereanynumberofconsumerscanexist.Usedforloadbalancing.
Topics:publishsubscribe.
Anynumberofpublishersandsubscriberscanexist.Eachmessagecanbetakenbyany
numberofconsumers(radio).
Inhowmanywayscanadestinationbecreated?
a.Staticcreatedbyuser
b.Dynamiccreatedbyemsserveronthefly.
c.Temporarydestinations.
QueuesVsTopicsinTIBCOEMS
TherearetwomajormodelsformessagingsupportedbyJMS:queuesandtopics.
Queuesarebasedonapointtopointmessagingmodel.Topicsmakeuseofthenew
publishandsubscribemessagingmodel.
Regardlesswhetherqueuesortopicsareused,themessagesarenotsentdirectlypeer
topeer.MessagesareforwardedtoaJMSinfrastructurethatiscomposedofoneormore
JMSservers.TheserversareresponsibleforprovidingthequalityofservicestoJMS
andresponsibleforimplementingallthecomponentsnotaddressedbyJMS
Specification.
Whendeterminingwhentousequeuesversustopicsconsiderthetwofundamental
messagingmechanisms.Thefirstispointtopointmessaging,inwhichamessageis
sentbyonepublisher(sender)andreceivedbyonesubscriber(receiver).Thesecondis
publishsubscribemessaging,inwhichamessageissentbyoneormorepublishersand
receivedbyoneormoresubscribers.Themessagingmodelaslistedbelowwilldictate
whentouseaqueueoratopic:
OnetoonemessagingQueuepointtopoint
OnetomanymessagingTopicpublishsubscribe
ManytomanymessagingTopicpublishsubscribemodel
whatistheRelationshipbetweenTemporaryqueue,queue,destination.
ADestinationcanbeaQueueorTopic,whichtypicallysaysstatic.Whichmeansyou
physicallycreatethisqueue.
IhopeyouknowthedefinitionforQueuewhichcanstatic,dynamicortemporary.
Staticrepresentsphysicalcreation.

http://aruntibco.blogspot.in/

7/32

1/20/2015

Tibco
DynamicRepresents,whichwillbecreatedbyreceiver/senderapplicationatruntime,
lifespanislimited,aslongasthereismessagesorreceivers,itwillstayinserver,ifnot
itdeletes.
TemporaryQueuemeans,createdbyreceivertosubmittheresponsetoEMSserveror
Sendertogetthemessages.thislifespanisimmediate,butthereisahiddendanger
withthesequeues,asthesemightturnintoorphanqueues(pleasereadotherarticles).
thereisafix,whichwillgoby4.4.2emsversion
DifferencebetweenExclusiveandNonExclusiveQueues
youcandefineaqueueasexclusivetomakesurethatallthemessagesarealwayssent
tothesameconsumer,evenifyouhavemorethanoneconnectedtoit.Ifyoumakeit
exclusivetherestoftheconsumersare"onstandby"soiftheprimaryfailsanotheroneis
setasprimaryandstartsreceiving.
Ifyousetthemtononexclusive(thedefaultvalue)andyouhavemorethanone
consumerconnectedtothequeuethemessagesaredeliveredinaroundrobinfashionto
balancetheload.
Whatistheuseofsystemqueues?
systemqueuesareundeleteablequeuesstoredusualyundeliveredmessages(whenyou
setJMS_TIBCO_PRESERVE_UNDELIVEREDtotrue,incasethemessageexipres,
you'llgetitto$sys.undelivered)orotherevendrivenmessagesifapplicable.
Moreinusearesytemtopicsformonitoringandstatistics,whereisEMSpublishing
queueandserverstatisticsandcanbedetailedtomessagecontentlevel.
deadQueue
Incaseofanyfailuresinthemessagestoserver,willbeaddedtodeadqueue,whichis
kindofinternalsystemqueue,Istronglyfeel.
Forex:Nomemorytryingtoaddmessagetodeadqueue.
Failurequeuingmessagetoaddtodeadqueue
Howdowedistinguishdynamicqueueswithstaticqueues?
Ans:dynamicqueueshave*beforethem.
whatarethemessagestoringmechanismsofqueues?
Ans:persistentandnonpersistent.
Persistent:messagesarestoredtoexternalstoragebeforesending.
Nonpersistent:notstoredtoanyexternalstorage.Theinformationwillnotbeavailable
forretrieval.
whataretypesofsubscriberswecanhavefortopics?Explainthemindetail.
Ans:durableandnondurablesubscribers.
Indurablesubscriptionsthemessagesarestoredsothatevenifthesubscriberfailsand
comesbackthemessagescanberetrieved.
Whatarethepermissionsthatyoucangranttouserstoaccessqueues?
a.Receive
b.Send
c.Browse
Whatarethepermissionsthatyoucangranttouserstoaccesstopics?
a.Subscribe
b.Publish
c.Durable
d.Use_durable
WhatisthedifferencebetweenQueuesandTopics?
Queue
GuaranteedService
OnlytheTargetgetsthemessage(OnemessageperConsumer)
UsesPeertoPeerModetodelivermessages
Blocking
LoadBalancingispossible
Topic
ReliableService
Everyoneactivegetsthemessage(OnemessagemayConsumers)

http://aruntibco.blogspot.in/

8/32

1/20/2015

Tibco
UsesPub/Submodetodelivermessages
NonBlocking
LoadBalancingisnotPossible
Whatistheuseofsecuredqueuesandtopics?
Settingsecurepropertytoqueues/topicscanrestrictunauthorizedusersfrom
publishing/sendingandsubscribing/receivingthemessages.

Whatareacknowledgementmodesandwheredoyousetthemandwhatisthe
applicabilityofeachmode?
Ans:Theacknowledgemodeforincomingmessages.Canbeoneofthefollowing:
Autothemessageisautomaticallyacknowledgedwhenitisreceived.
ClientthemessagewillbeacknowledgedatalaterpointbyusingtheConfirm
activity.Ifthemessageisnot
confirmedbeforetheprocessinstanceends,themessageisredeliveredandanew
processinstanceis
createdtohandlethenewincomingmessage.Ensurethatyourprocessdefinition
confirmsthemessage
whenusingthisacknowledgemode.
TIBCOEMSExplicitClientAcknowledgethismodebehavesexactlythesameas
theClientmode,exceptthe
sessionisnotblockedandonesessioncanhandleallincomingmessages
DupsOKthemessageisacknowledgedautomaticallywhenitisreceived.JMS
providesthismodeforlazy
acknowledgement,butTIBCOBusinessWorksacknowledgesmessagesuponreceipt.
TransactionalthismodeisusedwhenatransactionthatcanprocessJMS
messagesisincludedintheprocess
definition.Themessageisacknowledgedwhenthetransactioncommits.
whatisthestructureofmessagesinJMS?
Ans:header(needed),
properties(optional)
body(optional).
Headerparameters:
JMSdestination,
JMSmessage.
WhatisthepurposeofJMSQueuereceiveractivityandQueuesenderactivity?
Ans:Startsaprocesswheneveranewmessagecomesintothespecifiedqueue.
Aqueuesenderactivitysendsmessagesintothespecifiedqueue.
WhatisthepotentialproblemwithJMSQueuerequestor?
Ans:Whenwespecifyareplytoqueuethereisachanceofotherprocessessending
messagestothesamequeue
andthejmsqueuerequestorinterpretingthatastheactualresponseandsendingthis
wrongmessagetotheclient.
WhatisJMSqueuerequestor?
TheJMSQueueRequestoractivityisusedtosendarequesttoaJMSqueuenameand
receivearesponsebackfromtheJMSclient
WhatisJMStopicrequestor?
TheJMSTopicRequestoractivityisusedtocommunicatewithaJMSapplications
requestresponseservice.Thisserviceinvokesanoperationwithinputandoutput.The
requestissenttoaJMStopicandtheJMSapplicationreturnstheresponsetothe
request.
HowtosetuploadbalancingforTopicsandqueues?
Ans:Wecanachieveloadbalancingusingbridgingqueuesandtopics.
OrQueuescanbesetnonexclusivesothatanynumberofconsumerscanaccessthe
queue.
WhatarethedifferentlevelsofloadbalancinginEMSandhowwouldyoudoit?
Ans:serverlevelandconsumerlevel
Server:byhavingmultipleservers.
Consumer:bycreatingconsumerinstances.

http://aruntibco.blogspot.in/

9/32

1/20/2015

Tibco
Whatarethedifferencesbetweenserverloadbalancing&producer/consumerload
balancing?
PointtoPoint:Nonexclusivequeuesareusefulforbalancingtheloadofincoming
messagesacrossmultiplereceivers.
Programscanusedistributedqueuesforoneofncertifieddeliverytoagroupofservers,
inordertobalancetheloadamongtheservers.
Rendezvousdistributedqueuesoftwareassignseachtasktoexactlyoneoftheservers,
whilethegroupofserversandthedistributionoftasksremainscompletelytransparentto
theclientprocesses.
EMSLoadbalancingcanbedoneinonlyonewayontheconsumerside,byusing
multiplesubscribers/receiverstoasametopic/queue,andwhichwillbeexecutedin
roundrobinfashion.Ifweareconnectingtwodifferentseversbyusing"|"symbolisnot
beloadbalancing,Consumerscannotswitchconnectionsbetweentwoservers.By
default,wewillimplementmultipleconsumersbutwehavetoconsiderabovementioned
issuesinconsumerloadbalancing.

HowwouldyoudofaulttoleranceinEMS?Explainthecompleteprocess.
Ans:FTinEMScanbeachievedbyimplementingpairofserverscalledprimaryand
backupwhiletheprimarydoesthenormaljobofsendingandreceivingmessagesthe
backupservertakestheplaceofprimaryiftheprimaryfails.Thepairsharesthe
informationfromthesharedstate.Whentheprimarygoesdownthebackupserverreads
alltheprimaryconfigfilesandstartsfromthere.Theprimarylocksthesharedstateifits
activesothatthebackupserverdoesnttakeitsplace.thelockisreleasedwhenthe
primarygoesdownsothatthebackupcanlockthesharedstate.Onlypersistent
messagescanbeimplementedinthissituationsincenonpersistentmessagescannotbe
storedinexternalstoragelikesharedstate.
HowaconsumercanconnecttothenewprimaryEMSserverwhentherunningprimary
servergoesdown?
Ans:wecanspecifymultipleURLSfortheclientsothatiftheprimaryisdownthenext
URLbelongingtobackupwillbeused.
IncaseofaprimaryhavingmultipleaddresswecanusemultipleURLSforthesame
serversothateventheprimaryinonelocationisdownitcanconnecttotheprimaryof
anotherlocation.
TheURLSareusuallycommaseparatedinclientconfig.
Howtheclientsoftheprimaryserveraccessthemessagesstoredbyprimaryserver
whenitgoesdownandsecondaryserverbecomesprimaryserver?
Ans:clientscanbeconfigtobeintimatedofthefailover.
Thebackupreadsthecurrentstateoftheclientfromthesharedstorage
Andthenconnectstotheclientifthereareanyundeliveredpersistentmessages.
Scenario:TopicT1,QueueQ1andQueueQ3arebridged.Apublisherpublisheda
messagetoTopicT1.ButthepublisherhasnoaccessrightstoQ1.Howthemessage
willbetraversed?
Ans:Messageproducersmusthaveaccesstoadestinationinordertosendmessages
tothatdestination.Messagescanonlybesenttobridgeddestinationstowhichthe
messageproducerhasaccess.
Scenario:Apublisherispublishingmessagesquicklythantheconsumersareconsuming
themessages.Howtocontrolthissituation.
Ans:wecanuseflowcontroltoaddressthissituation.Thetargetmaximumsizefor
pendingmessagesisspecifiedsothatonlythatamountofmessageisstoredandany
messagesabovethatwillbeblocked.
Theserverblocksthesendcallandreleasesonlywhenthestoragelimitisbelowtheset
value.
Theflowcontrolisenabledonlyifthetopicorqueuehasreceivers.
Thiswaytheproducersaresloweddown.Andthebalanceisachieved.
CanwesetalimitforthetotalnumberofpendingmessagesonQueueorTopic?Whatis
theparameterforthat
Ans:yes,maxbytesforpendingmessages.
Whatifmaxbyteslimitexceeds?

http://aruntibco.blogspot.in/

10/32

1/20/2015

Tibco
Ans:Messagesthatwouldexceedthelimitwillnotbeacceptedintostorageandanerror
isreturnedtothemessageproducer.
Whatistheprefetchvalue?
Ans:Inorderforreducingtheclientswaitingtimeinaserverclientscenario
Foraqueuebasedmessagingonlytheprefetchvalueallowsthetheservertosend
messagesinbatchessothatthemessagewillbereadyfortheclientwheneverthe
clientisready.Forautomaticfetchingits>1andfordisablingitsnone.
Whatisfailsafe?
Ans:TheTibcoemsprovides2modesforpersistenttopic/queuemessagestoringto
externaldevice.
Normal:inthismodethemessagesstayinabufferbeforewritingtoastorage(disk).So
incaseofanyfailurethemessagesmaybelost.Thismodeisveryefficientinsituations
werelittlelossofdataisallowed.
Failsafe:inthefailsafemodethemessagesarefirstwrittentoanexternalstoragebefore
sendingsothatnomessagesarelostever.Thisisusedwhennolossofdatacanbe
encouraged.
Howmanywayswecandeterminethelifespanofthemessageinaqueue.Whatare
they?
Ans:Expirationparameterinqueueconfigurationfile.
JMSexpirationtimeinqueuesender.
TheJMSexpirationtimeinqueuesenderoverridesanyvaluegiveninconfig.
WhatarethebasicconfigurationyouwouldsetupifyouwanttoenableyourEMSserver
forSSlcommunication
Ans:listenparameterandssl_server_identity.Optionallyprivatekey.
WhatisthemainconfigfileinJMS?
Ans:ThemainconfigurationfilecontrolsthecharacteristicsoftheTIBCOEnterprise
MessageServiceserver.Thisfileisusuallynamedtibemsd.conf,butyoucanspecify
anotherfilenamewhenstartingtheserver.
Exppara:server,password,flowcontrol,storage,serversartup
Canyousendmessagesfromaservertoanotherserver?
TIBCOEnterpriseMessageServiceserverscanroutemessagestootherservers.
Topicmessagescantravelonehopormultiplehops(fromthefirstserver).
Queuemessagescantravelonlyonehoptothehomequeue,andonehopfromthe
homequeue.
Aserverforwardstopicmessagesalongroutesonlywhentheglobalpropertyisdefined
forthetopic.
Whenaroutebecomesdisconnected(forexample,becauseofnetworkproblems),the
forwardingserverstorestopicmessages.Whentheroutereconnects,theserverforwards
thestoredmessages.
Whataremultihopzone?
Ans:Multihopzoneisagroupofserversconnectedbyroutes.
Howdoyouconfiguremultihopzones?
Byusingroutes
Tocreatearouteusingtheadministrationtool,firstconnecttooneoftheservers,then
usethecreateroutecommandwiththefollowingsyntax:
createrouteurl=zone_name=zone_type=1hop|mhop
Tellmeaboutbridges.Whydoweusethem,Syntaxtocreatebridges,useofmessage
selector
Someapplicationsrequirethesamemessagetobesenttomorethanonedestination
possiblyofdifferenttypes.
Soweusebridges.
Whatisthepurposeforstores.conf
a.Thisfiledefinesthelocationseitherstorefilesoradatabase,wheretheEMSserver
willstoremessagesor
metadata
b.Eachstoreconfigurediseitherafilebasedoradatabasestore.
Howmanymodesarethemessageswrittentostorefile.

http://aruntibco.blogspot.in/

11/32

1/20/2015

Tibco
2modes..syncorasync.Whenabsent,thedefaultisasync
Whatistibemsd.conf
ItisthemainconfigurationfilethatcontrolsthecharacteristicsoftheEMSserver.
Howmanydeliverymodesformessages?
Persistent,Nonpersistent,Reliabledelivery.
Whatisthemaximummessagesize?
Emssupportsmaxmessagesizeof512mb
Name3destinationpropertiesandexplainthem.
Global,secure,maxmsgs,maxbytes,flowcontrol,sender_name,sender_name_enforced,
trace,maxRedelivery
log_trace
"Log_Trace"writesinformationtothespecifiedlogfilebasedonthetraceoptions
logtracewillbewrittentologfile.
Console_trace
ConsoleTracewillbeusefulwhenyoustartyourserverincommonwindow,andalllogs
willbedisplayedthere,andofcourseitwrittentologfilesalsowhenyouconfigureit.
Whathappensifthemessageexpires/exceededthevaluespecifiedbymaxredelivery
propertyonqueue?
Ifthejms_preserve_undeliveredpropertyissettotrue,thenitmoveshemessageto
undeliveredmessagequeue,ifsettofalse,themessageisdeletedbytheserver.
Whatarethewildcardsthatweuseinems?howdotheyworkforqueuesandtopics?
*,>
Wecansubscribetowildcardtopics,butcantpublishtothem.Whereasincaseof
queueswecanteithersend/receive.
Arebridgestransitive?
No
Tellmeaboutflowcontrolondestinations?
Sometimestheproducermaysendmessagesfasterthantheconsumerscanreceive
them.So,themessagecapacityontheserverwillbeexhausted.Soweuseflowcontrol.
Flowcontrolcanbespecifiedondestinations.
Tellmeaboutflowcontrolonbridgesandroutes?
Flowcontrolhastobespecifiedonbothsidesofbridgeswhereasonroutesitoperates
differentlyonsendersideandreceiverside.
Name3configurationfilesandtellmewhatitconsistsof?
a.Queues.conf
b.Topics.conf
c.Routes.conf
d.Factories.conf
e.Stores.conf
f.Groups.conf,users.conf,transports.conf
Namesomeadministrativeleveldestinationproperties?
a.View
b.Create
c.Delete
d.Modify
e.Purge
HowcanyouchangetheconfigurationpropertiesofEMSserver?
Youcanchangeinthetibemsd.conffileoryoucanchangeusingtheemsadminconsole.
TellmeaboutmulticastinginEMS?
a.Multicastisamessagingmodelthatbroadcastsmessagestomanyconsumersat
onceratherthansendingmessagesindividuallytoeachconsumer.EMSusesPragmatic
generalmulticasttobroadcastmessagespublishedtomulticastenabledtopics.
b.Eachmulticastenabledtopicisassociatedwithachannel.

http://aruntibco.blogspot.in/

12/32

1/20/2015

Tibco
Whataretheadvantagesanddisadvantagesofmulticasting..
a.Advantages:Asthemessagebroadcastsonlyoncetherebyreducingtheamountof
bandwidthusedinpublishand
subscribemodel.Reducesthenetworktraffic.
b.Disadvantages:Offersonlylasthopdelivery.Socantbeusedtosendmessages
betweenservers.
Onwhatdestinationscanyouusemulticast?
Topics
Suppose,yougotanerrorwhileaccessingaqueue,thatyoudonthavenecessary
permissionstoaccessthequeue.Whatmightbethesolution/reason?
Theuserthatisassignedtothequeueandtheuserusedwhilecreating.
Howdoesthesecondaryserverknowthattheprimaryserverisfailed?
Basedonheartbeatintervals
Howdoyouaddemsservertoadministrator?
Usingdomainutility
Howdoyouremoveindividualmessagesfromdestinations?
Usingpurgecommand.
ConnectionandSessionthreadinginEms
Connection:Multithread
Session:Singlethread
Wheredoyouuseabridgeinrealtime?
weuseinscenarioslikepublishingmessagefromTopictoQueue,Storemessagein
EMSforretrievalincaseifthereisanyproblemwhilemovingdatafromoneprocessto
another.
WheneveryouaredecidedtousemessageselectorsonBW,usebridgesanduse
messageselectoronbridges,whichismorepowerfulthanusingmessageselectorson
BW.
WhereistheAppManagelocatedat?
/tra//bin
3files(batch)arereadyfordeployment.outofwhichonly2filesmustbedeployed
together
andnotdeploytheotherone.HowcanwedothisusingAppManage?
Batchmeansisitasingleearwithmultipleprocessarchives,ifso,dontpassthethrid
processarchiveintheconfigfile.
WhatarethestepstoperformServerSideLoadBalancingonthelocalmachine?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNameissameinthetibemsd.conffileinboththefolders.
3.Changetheportnumberinthesecondfolderstibemsd.conffile(listen=tcp://xxxx)
4.Startbothcopiesoftheserversfromthecommandprompt(ex:C:\..
\ems\5.1\bin\tibemsdconfig
5.C:\..\cfgmgmt\ems\data\tibemsd.conf)
6.InTIBCODesigner,modifytheJMSConnectionProvideURLtocontainboththe
servers
(ex:tcp://localhost:7222|tcp://localhost:7223)
WhatarethestepstosetupFaultToleranceserversonthelocalmachine?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNamesandListenportsarenotthesameinthe
tibemsd.conffileinboththefolders.
3.Changetheportnumberinthetibemsd.conffile(i.eft_active=listenportofthe
otherserver)inboththe
cfgmgmtfolders.
4.Startbothcopiesoftheserversfromthecommandprompt
(ex:C:\..\ems\5.1\bin\tibemsdconfigC:\..\cfgmgmt\ems\data\tibemsd.conf)
WhatistheuseofBridges?
Someapplicationsrequirethesamemessagetobesenttomorethanonedestination
possiblyofdifferenttypes.Soweusebridges

http://aruntibco.blogspot.in/

13/32

1/20/2015

Tibco
WhatisthesyntaxtocreateBridgeswithoutMessageSelector?
createbridgesource=queue:bridgequeuetarget=topic:bridgetopic
Whatisthesyntaxtodeleteabridge?
deletebridgesource=queue:bridgequeuetarget=topic:bridgetopic
WhatisthesyntaxtocreateBridgeswithMessageSelector?
createbridgesource=queue:bridgequeuetarget=topic:bridgetopicselector="keyword"
WhatistheuseofBridgesandRoutes?
Bothareusedtochannelmessagesfromsenderstoreceivers.Bridgeactasconnector
betweentwodifferentqueueandRoutesactasconnectorbetweendifferentserverfor
sendingmessageandreceivingacknowledgementofdelivery.
WhatarethestepsrequiredtocreateaRoutebetweentwoServers?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNameisNOTthesameinthetibemsd.conffileinboththe
folders.
3.Changetheportnumberinthesecondfolderstibemsd.conffile(listen=tcp://xxxx)
4.Settheroutingpropertytoenabledinthetibemsd.conffilesinboththefoldersopen
factories.confunder
cfgmgmt2andchangethesettingsforGeneralConnectionFactory,
QueueConnectionFactoryand
TopicConnectionFactoryURLto(tcp://xxxx)
5.CreateRouteonServer1(routeServer2Nameurl=tcp://localhost:xxxx)
6.Createglobalqueue/topicsonbothserversasrequired
7.Startbothcopiesoftheserversfromthecommandprompt(ex:C:\..
\ems\5.1\bin\tibemsdconfig
C:\..\cfgmgmt\ems\data\tibemsd.conf)
8.Testtheroutebyusingqueue/topicinaBWProcess
HowtocreateatransportbetweenRVandEMS?
TransportcanbeestablishedbetweenRVandEMStopicorqueue.
ThemessagecanbeimportedaswellasexportedfromRV.Importantpointtoremember
is,withTopicfortransportthemessagescanbeimportedandexportedfromRVButin
thecaseofQueuesthemessagecanonlybeimportedfromRV.Followthesestepsto
establishtransportbetweenRVandEMS:
1)Forenablingthetransport:
Intheconfigurationfiletibemsd.confsettheparametertibrv_transportstoenabled.The
defaultvalueisdisabled.
2)Tosetthetypeofparametersfortranport:
Inthetransports.conffilesettheparmetersinTransportdefinitions(intheconfiguration
filetransports.conf)specifythecommunicationprotocolbetweenEMSandtheexternal
system.
Theparameterscanbeasfollows:
[RV01]
type=tibrv
topic_import_dm=TIBEMS_RELIABLE
service=7200
network=
daemon=tcp:host:7200
topic_import_dm=TIBEMS_NONPERSISTENT
Here
RV01isthenameofthetransport.
type=requiredparameterwhichcanbesettotibrvorrvcm(forcertifiedmessages)
service=UDPport.ifabsntthedefaultis7200
network=IPaddress.
Daemon=TCPPort.
topic_import_dm=deliverymodeforimportingthemessagesandthevaluescanbe
TIBEMS_RELIABLE,
TIBEMS_PERSISTENTORTIBEMS_NONPERSISTENT
Similarlytheparamterscanbesetfortopic_export_dmandqueue_import_dm.
export_headers=Thedefault
valueistrueandcanbesettofalseifthereisnorequirementofexportingtheJMS
headers.

http://aruntibco.blogspot.in/

14/32

1/20/2015

Tibco
export_properties=Thedefaultvalueistrueandcanebesettofalseifthereisno
requirementofexportingtheJMSproperties.
3)Destinationdefinitions(intheconfigurationfilestopics.confandqueues.conf)canset
theimportandexport
propertiestospecifyoneormoretransports.
Cansettheimport/exportpropertiesbyeithermakinganentryintopics.confor
queues.conffilesdirectlylike
topic.sampleimport="RV"wheretopic.sampleisthenameofthetopic.
orintheadmintooluse:
addproptopicmyTopics.newsimport="RV01,RV02"whichwilladdpropertyimportto
myTopicsintopics.conffiles
KeyPoints:
ThetransporttakesplacewhenthetopicnameandtheRVsubjectnamearesame.
Fortopics:
Whenatopicspecifiesimportonaconnectedtransport,tibemsdimportsmessagesonly
whenthetopichasregisteredsubscribers.
Forqueues:
Whenaqueuespecifiesimportonaconnectedtransport,tibemsdimmediatelybegins
importingmessagestothequeue,evenwhennoreceiversexistforthequeue.
Whenatopicandaqueuesharethesamename,atmostoneofthemmaysettheimport
property.
Forexample,ifatopicexample.transportandaqueueexample.transportareboth
defined,onlyonemayspecifytheimportproperty.
TIBCOEMSMulticastFeatures
TIBCOEMSisadistributedandreliablearchitecture,withsupportforloadbalancing,
routing,andfaulttolerantconfigurationsthattogetherremovesinglepointsoffailure.
Features
ByusingTIBCO'smessagingsolution,companieshavebeenabletoreliablysupport
over50,000messagespersecondandachieve99.999%uptime.
AdistributedmessagebuswithmultiprotocolsupportforJavaMessageService(JMS),
TIBCORendezvous,andTIBCOSmartSockets.TIBCOsupportsmanyoftheleading
openstandards,includingwebservices,andprovidesadaptersforthirdpartyapplications
andinfrastructureincludingIBMMQSeries.Thismakesitpossibleforcompaniesto
reusetheirexistinginvestmentsandfocusondeliveringnewfunctionalityBuiltin
monitoringandmanagementcapabilitiesthatprovidedetailedadministrativefunctions
andstatisticsandsupportautomationthroughanadministrativeAPIorcommandline
shell.CompaniescanalsoleverageTIBCO'scommonmonitoringandmanagement
frameworkfortopdown,endtoenddistributedmonitoringandmanagementofTIBCO
andnonTIBCOproducts
MulticastFeatures
MulticastisamessagingmodelthatallowstheEMSservertosendmessagesto
multipleconsumerssimultaneouslybybroadcastingthemoveranexistingnetwork.
Features
Multicastishighlyscalable
Multicastreducestheamountofbandwidthconsumed
Multicastreducesthenumberofoperationsperformedbytheserver
Multicastbroadcaststhemessageonlyoncewhereasincaseofpublishandsubscriber
foreachoftheconsumeracopyofthemessageisgettingpublished
Facts
Multicastdoesnotguaranteemessagedelivery
Messagesrequiringahighdegreeofreliabilityshouldnotusemulticast
Multicastofferslasthopdeliveryonlyitcannotbeusedtosendmessagesbetween
servers.
Multicastshouldnotbeusedinapplicationswheresecurityisapriority
FaultTolerancesetupA(Whichdealswithconfigurationofthefilesforfaulttolerance)
Note:TheEmsdatastoreshouldbeinSANorNAS,inactualProductionEnvironment..so
thatthedatastoreisaccessiblebybothprimaryandbackupserver

http://aruntibco.blogspot.in/

15/32

1/20/2015

Tibco
SANStorageAreaNetwork
NASNetworkAreastorage
Butforourcasewewouldusejustoperatingsystemfilesystem(sharedbybothprimary
andBackupserver)
FaultToleranceconfigurationsetup
ParameterswillbeinBoldandInclinedforeasyidentification
ConfiguringPrimaryserver
openthec:\tibco\ems\bin\tibemsd.conf(ThisfileiscalledEmsconfigurationfile)
Server=EMSSERVERRAMU(Thisvalueisuptoyourchoice)
Listen=tcp://7222(Thisvalueisuptouourchoice)
Ft_active=tcp://7444(Thisvalueisuptoyourchoice)
ConfiguringBackupserver
CreateafoldercalledBackupinthatpleasecopyallthe*.conffiles(onlyconfiguration
files)fromc:\tibco\ems\bin\andplaceitinc:\tibco\ems\bin\Backup\
Note:FromnowwewillworkintheBackupFolder,opentibemsd.conffileinthefolder
Server=EMSSERVERRAMU(Thisvaluemustmatchthevalueoftheserverparameter
inprimaryserver'stibemsd.conffile)
Listen=tcp://7444(ThisvaluemustmatchthevalueinFt_activeparamterinprimary
server'stibemsd.conffile)
Ft_active=tcp://7222(ThisvaluemustmatchthevalueinListenparameterinprimary
server'stibemsd.conffile)
store=c:\tibco\ems\bin\datastore(Thisvaluemustmatchthevalueinstoreparameterin
primaryserver'stibemsd.conffile,notethatthevalueinprimaryserver'stibemsd.conffile
isjustdatastore)

Prependthispathtoc:\tibco\ems\bin\Backup\belowlistinthebackupsever
tibemsd.conf
users=c:\tibco\ems\bin\Backup\users.conf
groups=c:\tibco\ems\bin\Backup\groups.conf
topics=c:\tibco\ems\bin\Backup\topics.conf
queues=c:\tibco\ems\bin\Backup\queues.conf
acl_list=c:\tibco\ems\bin\Backup\acl.conf
factories=c:\tibco\ems\bin\Backup\factories.conf
routes=c:\tibco\ems\bin\Backup\routes.conf
bridges=c:\tibco\ems\bin\Backup\bridges.conf
transports=c:\tibco\ems\bin\Backup\transports.conf
tibrvcm=c:\tibco\ems\bin\Backup\queues.conf
durables=c:\tibco\ems\bin\Backup\durables.conf
Ifyouobservethetibemsd.conffileinprimaryserverandcomparethetibemsd.conffile
inBackupserver
Thevaluesforsomeparametersinprimarytibemsd.conffileisjforexample
"users=users.conf"whereasinbackupservertibemsd.conffilewegive
"users=c:\tibco\ems\bin\Backup\users.conf".Thereasonwhybecausewhileinstallingthe
Emsserver,itsetsthesevaluesanditknowswheretolookforthepath,sothatsthe
reasonwhythefullpathisnotmentionedforvariousparametersintibemsd.conffor
primaryserver
FaultToleranceSetupB(whichdealswithstartingprimaryandbackupserverwhichwill
beinstandbymode)
ThispostiscontinuationofFaultToleranceSetupA
GotoAllprograms>Run>typecmd
Youwillgetacommandpromptwindow
Typecommand:cdc:\tibco\ems\bin
Nowyouwillbeinsidebindirectory
StartPrimaryServer
Typecommand:tibemsd(Thisisaapplication)
StartBackupServer

http://aruntibco.blogspot.in/

16/32

1/20/2015

Tibco
Openanothercommandprompt
Navigatetothedirectorybyenteringthebelowcommand
cdc:\tibco\ems\bin
Givethefollowingcommand
tibemsdconfigBackup\tibemsd.conf(Thisisnotdoneinprimarybutyouaredoingin
backupserver,sincePrimaryservertibemsd.conffileisinsamedirectoryastibemsd
application)
Inthebackupsevercommandpromptyoucanseethatitisinstandbymodeforprimary
(tcp://7222)
PostedbyArunat1:10AM 10comments:

Linkstothispost

Labels:TIBCOEMSFAQ'S

TIBCORVFAQ'S
RV
WhatisRendezvous
It is a framework/mechanism to integrate different applications running on
distributednetworkonheterogeneousplatforms.
WhatRendezvousdoes?
ThisisProprietarytoTIBCO,andallTIBCOapplicationslikeAdmin,Hawk,BW
andotherappswillcommunicateusingRendezvous,whichisusingNetwork
UDPprotocol.WhenamachineisbeingaddedtoTIBCOdomain,itcreatestwo
RVDfiles,onewillbeusedtodotheservices(deploy,manage)etcandanother
willbeusedtogetthestatus.
DomainandmachinearecommunicatingtoeachotherusingRVD,mostofthe
casesendmachinesindomainarebeingpartofsamesubnet,whatifamachine
isbeingpartofdifferentsubnets?therearetwosolutions.
1.Multicasting
2.RVRD
ExplainTransport
Itissoftwaremechanismforsendinganddeliveringmessages.
protocolusedbyrv.

UDP(UniversalDatagramProtocal)

Whatisdifferencebetweensynchronousandasynchronous
communication
Synchronous communication is time driven and asynchronous is event driven.
Synchronous communication expects reply or acknowledgement back and in
asynchronous communication doesnt expect any results of its communication right
away.Inmessagingperspectiverequest/replymessagingissynchronouscommunication
andpublish/subscribeisasynchronouscommunication.

WhatisthefunctionalityofRVdaemon
Its a background process RV enabled programs (programs which use RV api)
dependonrvdforreliableandefficientnetworkcommunication.
Thervdcompletesthepathwaybetweenrendezvousprogramprocessesacross
the network. It sends information into the network receives information from the
networkandfilterssubjectaddressedmessages.
WhatarethevariousparametersinNetworkcomponentandwhatdoeach
oneindicate
Service,NetworkandDaemon
http://aruntibco.blogspot.in/

17/32

1/20/2015

Tibco

ServiceparameterinstructsthervdtouseUDPorPGMserviceswheneverit
conveysmessagesonthistransport.Networkparameterinstructsthervdtousea
particularnetworkforcommunication.
Daemonparameterindicatestowhichrvdtheprogramhastoconnect
ExplainCertifiedmessagingregistrationprocessstepsandconfirmation
Process
Certifiedmessagingoffersgreatercertaintyofdelivery.evenwhentheprocesses
andtheirnetworkconnectionsareunstable.
REGISTRATION.DISCOVERY
RESGISTRATION.REQUEST
REGISTRATION.CERTIFIED
Certified
delivery
agreement)
DELIVERY.CONFIRMEDDELIVERY.COMPLETE
DifferencebetweenReliabledeliveryandCertifieddelivery?
ReliableDelivery:
Ledger:None
TimeLimit:Containsoutboundmessagesfor60seconds
NetworkTraffic:Minimal
FileStorage:Nofilestorage

CertifiedDelivery:

Ledger:The certified delivery library records outbound messages in a ledger,


eitherwithintheprogramprocessstorage,orinfilestorage.
TimeLimit:Thecertifieddeliverylibraryretainsoutboundmessagesinthe
ledgeruntileitherdeliverycompleteorthetimelimit(setbytheprogram)
expires.
NetworkTraffic:Additionalnetworkoverheadtoconfirmdeliveryofeach
certifiedmessage.
FileStorage:Optionalfilebasedledgersconsumefilestorageforeach
messageuntildeliveryiscomplete
(orthetimelimitexpires).
ExplainLoadbalancinginRendezvous,Whatarethevariousparameters
In a producer/subscriber scenario when producer is send messages faster than
subscribercanconsume,messageswillbequeuedupwithconsumerandmaybe
lost.Toaddressthissituationwecanbalancetheloadoftheconsumerbyclones
oftheconsumerprogramandbalancingtheloadamongtheconsumerinstances.
Thisisloadbalancing.Programsusedistributedqueuesforcertifieddeliverytoa
group of servers, in order to balance the load among the servers. Parameters
SchedulerweightHeartbeatIntervalSchedulerActivationInterval
ExplainfaulttoleranceinRendezvous
FaultToleranceinanetworkenvironmentischaracterizedbyrapidrecoveryfromfailures
such as process termination, hardware failure and network disconnect. Rendezvous
providesamechanismtoachievethefaulttoleranceamongtheRVprocesses.

WhatisledgerfileusedinRVfor?
CMTransportkeepsLedgerfiletorecordinformationabouteveryunresolved
outboundcertifiedmessage.
HowcanUestablishpointpointcommunicationinRV?

http://aruntibco.blogspot.in/

18/32

1/20/2015

Tibco

CanbeestablishedusingRPTPprotocoloveraUDPchannel
Whatwillhappenwhenlimitofaqueueexceeds(howtheeventobjectswill
beremovedfromaQueue)?
SendsanadvisoryQUEUE.LIMIT_EXCEEDED
Queuedispatchcallsremovetheeventobjectsattheheadofaqueue,andrunits
callbackfunction.
Callbackfunctionisaprogramcodewhichrespondstoeventsprocessing
inboundmessages.
WhatarethelimitpoliciesofaQueueinRV?
Discardnone,discardfirst,discardlast,discardnew.

WhatistheadvisorymessagethrownbyRVwhenthemaximumlimitofa
queueexceeds?
QUEUE.LIMIT_EXCEEDED

IsmessagelosspossibleinRV?Whenisitpossible?
Yes,inslowconsumeandfastproducerscenariomessagelostwillbepossible.

HowmanytypesofadvisorymessagesarethereinRV
SystemAdvisory,RVCMAdvisory,FaulttoleranceAdvisory.

Howtohandleslowconsumerswhenpublisherispublishingrapidly?
Scenario:Aproducerisproducingmessagesat100/minandconsumer
abletoprocessonlyattherateof50/min,whatisgoingtohappentoother
50messages?(UnderlyingcommunicationisRVreliable)
Useadispatcherincreaseprocessinstancestoavoidoverflow.Implementload
balancing
HowcanuimplementsecurityinRV?
UsingSSLProtocol.Canbeattainedat3layersbetweenrvdandservices,in
rvd,andbetweenrvrd.
WhataretheschedulerparametersinDQ?
Weight,Heartbeatinterval,ActivationInterval.
Ifrvdisdownandaprogramhastosendamessage,howitsends
Creatingatransportobjectintheprograminvokesnewrvdprocess.
WhatisthedifferencebetweenJMSmessagingandRVmessaging?
RVmessagingisadecentralizingmessaging/JMScentralizedmessaging
Explainrvmessaging,howdoesitwork?
RVmessagingprovidescreatingmessagesinauniversalformatassignasubject
nametothemessageandpublishthemessageontothenetwork.Messageswill
traveloverthenetworkandreachesallthenodesinthenetwork.RVprovidesRV
enablessubscriberstocapturethemessageofinterestandprocessit.
ExplainhowdoyousetupRVCMDQ?Andhowdoesitwork?
Aproducerisproducingmessagesat100/minandconsumerabletoprocessonly
attherateof50/min,whatisgoingtohappentoother50messages?(Underlying
communicationisRVreliable)
hintans:slowresponseadvisoryisthrown,oldestmessagesdiscarded
http://aruntibco.blogspot.in/

19/32

1/20/2015

Tibco

dependingonthedestinationsettings.
AprocessgroupisonRVCMDQ,canthatbemadebothloadbalancedand
faulttolerant?
Hint:no,theyaremutuallyexclusivesemantics.

Whatisthemainproblem/issuewithloadbalancingasinRVCMDQ?What
arepossibleScenarios.whenthisoccurs?
Duplicationoccurs/noncompletionofassignedtask
1.iftheworkerisslow,schedulermightreassignthetasktoanotherworker
resultinginduplication.
2.Schedulerfailsandthenewschedulerreassignsincompletetasks,resultingin
duplication.
Alsononcompletionoftaskscanoccurifaworkerhascompletetime=0andhas
acceptedthetasknevertoreturn.
WhatisRVRDfor?Howdoweconfigureanduseit?
RVRDisforroutingmessagespublishedonasubjecttomachinesonanothersubnet.
TherehastobeoneRVRDforeachsubnet,andanRVRDpairinstalledoneoneach
subnet.

HowdoyoudoloadbalancingforADBadapters?
UseRVCMDQtorunmorethanoneinstanceofanadapter.Alsoyoucanspecifybatch
processing of records (batch commit, instead of committing each record individually).
Alsoyoucanincreasethreadcount(butthatgoingtohelponlyifyouincreaseitfrom48)

SituationswereweuseCM?
a)producerneedscompulsoryackofthemessage.
b)consumercannotcompromiseonloosingmessages.
SituationswerewecannotuseCM?
highdataratebcosCMoccupiesmostofthebandwidth.
Whatisrvcache?
Theprogramrvcachestoresdatafromrecentmessages,indexedbysubjectname,and
automatically sends the cached Data to new listeners. Data stored in rvcache never
expires. It remains in the cache until superseded or augmented by data from a new
messageonthesamesubject.rvcachestoresthedatainprogrammemoryandinadisk
file.

Whatisrvtransaction?
When a group of messages are sent, even if one message is not delivered, all the
messagesarerolledback.
RVTXsupportisdeprecatedfromAE5.1.

Howwouldyouknowthatapublisherandasubscriberareincmmode?
Subscriberwillbepreregisteredwiththepublisherinacmmode.
ConfiguringTIBCORVRD
RVRDConfiguration
Neededonlywhenrunningprimaryandsecondaryadministratorsacross
separatesubnets.Weneedtoestablish2RVRDconnectionsforbothHAWK
andRendezvous(Infra).Sothesestepswillneedtobeperformedforeach.
Thestandardistonameforrouteror
Example:
http://aruntibco.blogspot.in/

20/32

1/20/2015

Tibco

C:\tibco\tibrv\bin>rvrdlistentcp:17474logfilervrd_17474.logstore
rvrd_17474.cfg
1.Obtainhttpsandhttpsport
MustviewlogfiletoobtainbothhttpsandhttpportsearchforHttp
interfacetogettheport.
Lookinrvrd_NNN.log(whereNNNisrendezvousportnumberi.e.
rvrd_17474.log)
Forex:
Httpinterfacehttp://dev1234:57265/
Httpsinterfacehttps://dev1234:57266/
MustviewlogfiletoobtainHAWKandREPOSITORYportsLookinrvrd_NNN.log
(whereNNisHAWKportnumberi.ervrd_17474.log)
Note:lookatlasttimervrdstarted,sousuallyatornearbottomoflogfile
2.CreateConnection
Usingabrowser,openuphttp://dev1234:57265httpportfromlogifle<>:
ChooseRouter
A.Rendezvous
Routername:
<18300>
B.Hawk
Routername:
<18374>
Click:AddRouter
LocalNetwork
A.Rendezvous
Name:(18300)
Service:(18300)
B.Hawk
Name:<>(18374)
Service:(18374)
Click:AddLocalNetworkInterface
Addsubjects:
A.Rendezvous
Click:LocalNetworkName
Subject:EnterEachSubjectinExactorderasPrimaryserver
Click:Import/Export
SubjectNamesare
1._RVFT.>
2._RVCM.>
3._RVCMQ.>
4._com.tibco.repo.>
5._FT.>
6.com.tibco.pof.>
7.com.tibco.pof
Neighbor
Click:Neighbor
LocalEndpoint
A.Rendezvous
Host:
Port:
B.Hawk
http://aruntibco.blogspot.in/

21/32

1/20/2015

Tibco

Host:
Port:

RemoteEndpoint
A.Rendezvous
Host:(hostyouareconnectingto)
Port:
RouterName:
A.Hawk
Host:(hostyouareconnectingto)
Port:
RouterName:
Click:AddNeighborInterface
Allthedetailsshouldbepopulatedonthisscreen.
DaemonParameters
Createuseridandpassword
ConnectedNeighbors
Checkallconnectedneighboursforappropriateservers,thefollowing
informationshouldbecorrectedforneighbours.
Note:Herethesubjectnameshouldbecom.tibco.repo.>insteadof
_com.tibco.repo.>
ForHawk(whichxxx74)port,pleasedomakesureyouareusingsubject
namesas"_HAWK.>"

RVtransportparameters
Daemon:Daemonisabackendrunningprograminfinitely.ItislikeaGatewayin
RV.IttellstheprogramwheretheRVDisrunning.Ituses'TCP'protocoland
usestcp:25(portno.)bydefault.Thisneedsipaddressandportno..
tcp:ipaddress:portno.
Service:ServicetellsyouthroughwhichporttheRVDshouldbroadcastthe
message.
Network:Ithas3parameters.Multicast,BroadcastandSenderaddress.These
shouldbeseparatedbyaSemicolon.
PostedbyArunat1:07AM 4comments:

Linkstothispost

Labels:TIBCORVFAQ'S

TIBCOFAQ'S
TIBCOFundamentals
1)

WhatisTIBCO?
TIBCO makes Integration Server software for enterprises. An Integration Server
allows a company to mix packaged applications, custom software, and legacy
softwareforuseacrossinternalandexternalnetworks.TIBCO'spatentedapproachis
calledInformationBus(TIB)

2)

WhatarethemodesofTIBCOBWInstallations?
GUImode
Consolemode
Silentmode

http://aruntibco.blogspot.in/

22/32

1/20/2015

Tibco

3)

WhataretheMajorTIBCOProducts?
TIBCOActiveMatrixBusinessWorks(UIDesign,SOA,BI)
TIBCOiProcess(BPM)
TIBCOPortalBuilder(BO)
TIBCOBusinessConnect(BI)
TIBCOBusinessEvents(BB)
TIBCOHAWK(BB)
TIBCOEMS(BB)
TIBCORendezvous(BB)

4)

WhataretheTIBCOtoolsrequiredtodesign,test,deployandmessaging?
TRA(Platform)
TIBCOBusinessWorks&TIBCODesigner(Design&Test)
TIBCOAdministrator(Deploy)
TIBCOEMS&RVD(Messaging)
TIBCOHAWK(Monitoring)

5)

WhatistheroleofTRA?
TRA stands for TIBCO Runtime Agent and it runs in the background on each
machine.
TheTRAhastwomainfunctions:
1.TheTRAagentisresponsibleforstartingandstoppingprocessesthatrunon
aMachineaccordingtothedeploymentinformation.
2. Supplies the runtime environment, that is, all shared libraries including third
partylibraries.

6)

WhatarethetoolsprovidedbyTRAInstallation?
TIBCORendezvous
TIBCOHAWK
TIBCORuntimeAgent
TIBCODesigner
JavaRuntimeEnvironment
ThirdPartycoreLibraries

7)

Whatarethe4mainpanelsoftheDesignerwindow?
1.Projectpanel
2.Palettepanel
3.Designpanel
4.Configurationpanel

8)

WhatisthebareminimumrequiredtouseTIBOCBusinessWorks
TRA
BusinessWorks

9)

Whatarestepstodesign&testaprocess?
1. Create a new Process by selecting Process Definition from the Process
Palette
2. Design the Process by configuring the required activities between the Start
activityandStopactivity
3.TotesttheProcess,switchtotheTesterpanel.Thenclickthe(>)buttonor
pressF9toloadthetestprocess

10)

Whatarethestepstobuildan.earfileusingTIBCODesigner?
1. Select the Enterprise Archive activity from General Palette and configure
theName&FileLoacation
2.InsidetheEnterpriseArchiveactivityandtheProcessArchiveactivityfrom
theProcessPalette.
3.Addtheselfstartingprocess/servicestotheProcessArchive
4. Click on Build Archive button in the Configuration tab in the Enterprise
ArchiveactivitytobuildtheEARfile

11)

Whatarethestepstobuildan.earfile(TestAPP)anddeployitfromCommand
Prompt?
1.Buildtheearfileusingbuildearutility
buildearsear/TestAPP.archiveoc:\..\deployment\TestAPP.earpc:\
..\projects\TestAPP
2.CreatethedeploymentconfigurationfileusingAppManageutility
AppManageexportearc:\..\deployment\TestAPP.earoutc:\..
\deployments\TestAPP.xml
3.EditthedeploymentconfigurationXMLfileusingatexteditor
4.DeploytheapplicationusingAppManageutility
AppManagedeployearc:\..\deployment\TestAPP.eardeployconfigc:\..
\deployment\TestAPP_Admin.xmlappTestAPPdomainAdminuseradmin
pwadmin

12)

WhatarethestepstodeployanapplicationusingtheAdministratorGUI?
1. Start the TIBCO Administrator (tibcoadmin_domainname.exe) & the TIBCO

http://aruntibco.blogspot.in/

23/32

1/20/2015

Tibco
HAWK(hawkagent_domainname.exe) agent from the command prompt or
thewindowsservices.
2.StarttheAdministratorGUIinawebbrowser(http://hostname:port)andenter
theUID&PWDforthedomain.
3. In the left Panel under the Application Management module select All
Application.
4. In the right Panel, click on New Application and select the EAR File and
clickOKbutton.
5.UnderServicesChecktheDeployonSaveoptionandthenclickonSave
buttontodeploytheapplication

13)

WhatarethestepstocreateaMasterDomainusingDomainUtilityonthehost
machine?
1.SelectDomainConfigurationunderCategoryList
2.SelectCreateaNewAdministrationDomainunderTasklistandclickon
Next
3.UnderDomainDetails,inputtheAdministrationDomain&HAWKCluster
4.UncheckDomaininformationisstoredinaDatabaseandLocalApplication
dataoptions
5.ChecktheShowAdvancedoption
6.SettheRVDaemonandRVServiceandmakesuretheyarethesame
ports
7.SimilarlysettheHAWKDaemonandHAWKServiceandclickonnext
8.SettheHTTPPortandclickandnext
9.SettheUID&PWDfortheDomainandclickonFinish

14)

WhatarethefunctionsofanAdministrator?
UserManagement
MachineManagement
ApplicationManagement
RepositoryManagement

15)

Whataretheusesofgroupingactivities?
Repeatagroupofactivitiesbasedonacondition.
Iterateoveralist.
Repeatuntilconditiontrue.
RepeatonErroruntilconditiontrue.

11

Whatisthescopeofuserdefinedprocessvariables?
Thescopeofuserdefinedprocessvariablesisonlywithintheprocessinwhichitis
defined. It does not even extend to a sub process that is invoked from the current
process.

16)

Whatarethereusablecomponentsinaproject?
Subprocess
WSDLResource
HTTPConnection
JDBCConnection
SchemaDefinition

17)

Whatarethevarioustypesofvariablesavailablewithinactivities?
ProcessVariable
LocalVariable
GlobalVariable
ErrorVariable
SharedVariable

18)

WhatarethemonitoringtoolsavailableinTIBCO?
TIBCOHAWK
TIBCOBusinessEvents

19)

WhatarethemessagingtoolsavailableinTIBCO?
TIBCOEMS
TIBCORendezvous
File,JDBC,XMLPalette

20)

WhatactivitiesarerequiredtoCreate,Copy&DeleteaFile?
CreateFileActivityTheCreateFileactivitycreatesanewfileordirectorywiththe
specifiedname.Whencreatingafile,youcanalsoprovidethefilecontents.
CopyFileActivityTheCopyFileactivityallowsyoutocopyfilesanddirectoriesto
anewlocation.
Remove File Activity The Remove File activity removes the specified file. This
activity can also remove empty directories. If a directory that is not empty is
specified,anexceptionisthrown.

http://aruntibco.blogspot.in/

24/32

1/20/2015
21)

Tibco
WhatactivitiesarerequiredtoRead,Write&RenameFiles?
Read File Activity The Read File activity is used to read a file and place its
contentsintotheactivitysoutput.
WriteFileActivityTheWriteFileactivitywritescontenttothespecifiedfile.
Rename File activity The Rename File activity is used to rename or move files.
Thisactivitycanalsorenamedirectories,butyoucannotusethisactivitytomove a
directorytoanewlocation.

22)

WhatistheuseofDataFormatActivity?
The Data Format resource contains the specification for parsing or rendering a text
string using the Parse Data and Render Data activities. This shared configuration
resourcespecifiesthetypeofformattingforthetext(delimitedcolumnsorfixedwidth
columns), the column separator for delimited columns, the line separator, and the fill
character and field offsets for fixedwidth columns. You must also specify the data
schematouseforparsingorrenderingthetext.

23)

WhatarethetwotypesofDataFormatsupportedbyTIBCO?
Delimiterseparated
Fixedformat

24)

WhatistheuseofFieldOffsetsintheDataFormatActivity?
When processing Fixed Format text, you must specify the line length and the
columnoffsets.ThisallowsaParseDataorRenderDataactivitytodeterminewhere
columns and lines begin and end. The Field Offsets tab allows you to specify the
formatoffixedwidthtext.

25)

WhatistheParseFile&RenderFileActivity?
ParseFileActivityTheParseDataactivitytakesatextstringorinputfromafile
and processes it, turning it into a schema tree based on the specified Data Format
sharedconfiguration.
RenderFileActivityTheRenderDataactivitytakesaninstanceofadataschema
and renders it as a text string. The schema processed is based on a specified Data
Formatsharedconfiguration.

26)

WhatistheFilePollerActivity?
TheFilePollerprocessstarterpollsforfilesordirectorieswiththegivennameand
startsaprocesswhenthespecifiedchange(creation,modification,deletion)is
detected.

27)

WhatistheWaitForChangeActivityusedfor?
TheWaitforFileChangeactivitywaitsforafilecreation,modification,ordeletion
eventtooccurduringprocessexecution.Whenthisactivityisexecuted,theprocess
instancesuspendsandwaitsforthespecifiedchangetooccurbeforeresuming.

28)

WhichActivityisusedtocreateaDatabasetable?
SQLDirect

29)

WhichActivitiesareusedtoexecuteastoredprocedureorastatement?
JDBCCallProcedureisusedtoexecuteastoredprocedure.
SQLDirectisusedtoexecuteadatabasestatement(Create,Alter,Deleteetc.)

30)

Whichactivityisusedtoestablishaconnectiontoadatabase?
JDBCConnection

31)

Whatarethestepsneedtoestablishadatabaseconnection?
1.AddJDBCConnectionfromtheJDBCPalettetotheproject
2.SettheConnectionTypetoJDBC
3.SelecttheJDBCDriverformtheDropDownListBox(ex:Oracle)
4.IntheDatabaseURL,setthehostname,portnumberanddatabase
name
5.SettheUsername&Passwordforthedatabase
6.Testtheconnection

32)

Howdoyouaddorretrievearecordformadatabase?

http://aruntibco.blogspot.in/

25/32

1/20/2015

Tibco
JDBCQueryisusedtoexecuteselectstatementtoretrieverecordsfroma
database
JDBCUpdateisusedtoaddrecordstoadatabaseviainsertstatement

33)

WhatistheuseofFetchintheJDBCQueryActivity?
TheFetchbuttonontheJDBCQueryactivityallowsyoutosynchronizetheactivity
withthecontentsofthedatabase.IfyoudonotclicktheFetchbuttonbeforeapplying
yourchanges,TIBCOActiveMatrixBusinessWorksdisplaysanerrordialog prompting
youtofirstfetchtheoutputschema.

34)

CanweuseJNDItoconnecttoadatabaseinsteadofJDBC?
We can used the JDBC Connection Activity to use the JNDI Context (in the
Connection Type Dropdown box) instead of a JDBC Connect to establish a
databaseconnection

35)

WhichactivityisusedtocreateaXMLSchema?
SchemaformtheXMLToolspaletteisusedtodefinetheXMLSchema

36)

WhatisXMLElement&Attribute?
XMLElementsXMLElementscontaintheopeningandclosingtags,childelements,
anddata.
(Ex:
Robert
A+
)
XMLAttribute
Anattributeappearswithintheopeningtagofanelement.XMLrequiresthatallXML
attributeshaveavalue.Thismeansallattributeshavetobeequaltosomething!In
thefollowingexampleactive="true"istheattribute.
(Ex:
Robert
A+
)

37)

WhatistheuseofTransformXMLActivity?
TheTransformXMLactivityallowsyoutotransformaninputXMLdocumentintothe
output specified by the given XSLT File shared configuration resource. Normally,
transformationofdataoccursbymappingprocessvariablestoanactivitys input and
applying XPath expressions to perform any transformation. If you have an XSLT file
thatyouareusingfortransformations, or if an outside source supplies an XSLT file,
this activity allows you to use the XSLT file instead of manually creating the
mappings.

38)

WhatisParseXMLactivity?
The Parse XML activity takes a binary XML file or an XML string and processes it,
turningitintoanXMLschematreebasedontheXSDorDTDspecified.Thepreferred
waytoparseXMLfilesistouseaReadFileactivitysettobinarymodetoread the
XMLfile.ThenpassthebinaryfilecontentstotheParseXMLactivity.

39)

WhatisRenderXMLActivity?
TheRenderXMLactivitytakesaninstanceofanXMLschemaelementandrendersit
as a stream of bytes containing XML or an XML string. The schema is processed
basedontheXSDfilespecified.
WSDL,SOAP,Service,HTTPPalette

40)

WhatisWSDL?

http://aruntibco.blogspot.in/

26/32

1/20/2015

Tibco
WSDLstandsforWebServicesDescriptionLanguage.AWSDLfileisanXML
instanceoftheXMLSchema.AWSDLresourceiscomposedofaseriesof
definitionsthatdescribetheformatandrolesofmessagesusedinwebservices.

41)

WhatistheuseofWSDLPalette?
TheWSDLpaletteisusedforcreating,editing,validating,importing,andviewing
WSDLfiles.Thesefilesaresharedresourcesthatdescribewebservices.TheWSDL
palettesresourcesareusedtocreateandreuseabstractdefinitions,namely:
Messages,whichdescribethedatabeingexchanged
PortTypes,whichdefineasetofoperations
Operations,whichdescribetheactivitiessupportedbythewebservice

42)

WhatarethetwotypesofWSDLrequiredtocreateaWebService?
AbstractWSDL(DescribesStructure&Elements)
ConcreteWSDL(AbstractWSDLwithTransport)

43)

WhatarethebasiccomponentsofaWSDL?
Message(Containstherequestandresponseofawebservice)
PortType(LogicalFoldertoorganizethewebserviceresources)
Operation(Servicesofferedbythewebservice)

44)

WhatarethestepstocreateanAbstractWSDL?
1.SelectWSDLactivityfromtheWSDLpalatte
2.DescribetherequiredMessagesfortheWSDLandtheschemamappingfor
theMessages
3.CreatetheLogicalPortbyaddingthePortTypeActivitytotheWSDL
4.AddtherequiredOperationstothePortTypeActivity.
5.DesigntheOperationofferedbythewebservice.

45)

WhatarethestepstocreateaConcreteWSDL?
1.CreatetheAbstractWSDL
2.GettheXMLWSDLfromeitherSOAPEventSourceortheServiceWSDL
andsaveitina*.wsdlfile
3.ImportthesavedconcreteWSDLfileintotheproject

46)

Whatarethetwowaystocreateawebservice?
SOAPEventSource
ServicePalette

47)

WhatistheadvantageofusingtheServicePaletteovertheSOAPEvent
Source?
UsingtheSOAPEventSource,youcanrunonlyoneoperationatatime.Whileusing
theServicePaletteyoucanrunmultipleoperationssimultaneously

48)

WhatarethestepstocreateawebserviceusingSOAPEventSource?
1.DefineXSD
2.DefinetheHTTP/JMSConnection
3.CreateAbstractWSDLfromtheXSD
4.DefinetheProcessforthewebserviceandreplaceStartActivitywiththe
SOAPEventSourceActivityfromtheSOAPPalette
5.SetthePortTypetoAbstractWSDLandtheTransporttoHTTP/JMS
ConnectionfortheSOAPEventSource
6.CopytheXMLWSDLformtheSOAPEventSourcetocreatetheConcrete
WSDL
7.Completethedesignforthewebserviceprocess
8.CreateaClientProcessandinvokethewebserviceusingtheSOAP
RequestReplyActivty.
9.SettheServiceOftheSOAPRequestReplytopointtotheConcrete
WSDL.

49)

WhatarethestepstocreateawebserviceusingServicePalette?
1.DefineXSD
2.DefinetheHTTP/JMSConnection
3.CreateAbstractWSDLfromtheXSD
4.RightClicktheAbstractWSDLandselectToolsorMultiUser>Generate
WebService>FromWSDL
5.SelecttheTransport
6.GeneratetheConcreteWSDLfromtheWSDLSourceoftheServiceWSDL
7.DefinetheLogicalOperation
8.CreateaClientProcessandinvokethewebserviceusingtheSOAP
RequestReplyActivty.
9.SettheServiceOftheSOAPRequestReplytopointtotheConcrete
WSDL

50)

WhatistheOperationactivityintheWSDLPaletteusedfor?
The Operation component describes the message formats for the incoming and
outgoingmessagesrequiredbytheactivitiessupportedbytheportType.Oneormore

http://aruntibco.blogspot.in/

27/32

1/20/2015

Tibco
Operation components can be added to a PortType component selected in your
project.

51)

WhatistheRetrieveResourceActivityusedfor?
TheRetrieveResourcesactivitygeneratesaWSDLfilecontainingaconcreteservice
(ConreteWSDL)descriptionofanyprocessdefinitionthathasaSOAPEventSource
processstarter.ThisallowsclientstoaccesstheWSDLforawebservice.Theclient
can then use the WSDL file to invoke the web service. The Retrieve Resources
activitycanalsobeusedtoretrieveanyotherresources,includingXSDsandWSIL.

52)

WhatistheSOAPEventSourceActivityusedFor?
The SOAP Event Source process starter creates a process instance for incoming
SOAPrequests.SOAPisastandardprotocolforinvokingwebservices.Thisallows
you to create a web service using process definitions. Upon retrieval of the WSDL,
theclientcanperformaSOAPrequesttoinvokethewebservice.

53)

WhatistheSOAPSendReplyactivityusedfor?
The SOAP Send Reply activity sends a reply to an application that sent a SOAP
request. This activity is primarily used in process definitions that implement web
services. When a SOAP Event Source is used as the process starter, the SOAP
Send Reply activity is used to send the reply to the request that starts the process
instance.

54)

WhatisSOAPFault?
TheSOAPFaultelementisusedtocarryerrorand/orstatusinformationwithina
SOAPmessage.

55)

Whatisthedifferencebetween"SOAPoverJMS"and"SOAPoverHTTP"?
The advantage of using SOAP over JMS over SOAP over HTTP is reliability as
youmayusethepersistenceandacknowledgmentfeaturesbuiltinthestandard.The
same applies if you need to establish asynchronous communication or need to use
theloadbalancingfeaturesprovidedbyJMSservers.Youcanachievethisusing http
buttheimplementationwouldbemuchmorecomplicated.

56)

WhatistheContextResourceusedfor?
TheContextResourceallowsyoutospecifyaschematoholdcontextdatafroman
incoming request or outgoing replies to a service. This allows you to pass on data,
such as the username and password sent by the requesting application. Also, you
canpassdatafromtheprocessthatimplementsanoperationbacktotheServicefor
anyoutgoingreplymessage.TheContextResourcecanalsobeusedtostoreSOAP
headersormessageattachments.

57)

WhatistheGetContextactivityusedfor?
TheGetContextactivityretrievesthevalueofthespecifiedContextResource. This
is useful if your process definition requires some context information from an
incomingrequest(LikeUsername&Passwordetc.).
Messaging

58)

WhataretheMessagingToolsProvidedbyTIBCO?
EMS
Rendezvous

59)

WhatisthedifferencebetweenEMS&RVD?
EMS

RVD

60)

UsesTCP
FunctionswithintheIPLayer
CanbeusedwithintheIntranetandtheInternet
SlowerthanRVD
UsesUDP
FunctionswithintheNetworkLayer
ConsiderablyFasterthanEMS
CanbeusedonlywithintheIntranet(LAN)

WhataretheMessagingModes?
P2P(Queue)

http://aruntibco.blogspot.in/

28/32

1/20/2015

Tibco
Pub/Sub(Topic)

61)

WhatarethetwotypesofDeliveryModesinMessaging?
Synchronized
Asynchronized

62)

WhataretheServicesprovidedbyMessaging?
Reliable(AtLeastOnce)
Guaranteed(AtMostOnce)
Transactional(OnlyOnce)

63)

WhatarefilesusedbyTIBCOtomaintaintheConnectiondetails?
Meta.db(ConnectionDetails)
Async.db(Fire&ForgetMessages)
Sync.db(AcknowledgeBackMessages)

64)

WhataretheconfigurationfilesusedbyTIBCOEMS?
Tibemsd.conf
Queue.conf
Topic.conf

65)

Whatisthemaximumsizeandmaximumnumberofmessagepossibleusing
TIBCOEMS?
MaximumMessageSize=512MB[BothTopic&Queue]
MaximumNo.OfMessages=3600messages/second

66)

WhatistheMaximumRetransmissionTime?
MaximumRetransmissionTime=60seconds

67)

WhatarethedeliverymodessupportedbyEMSserver?
Persistent
Nonpersistent
Reliable

68)

WhatarethemessagetypessupportedbyEMS?
Text
XML
Bytes
Stream
Simple
Object
ObjectRef
Map

69)

WhatarethedifferenttypesofQueues?
StaticQueue
DynamicQueue
TempQueue
SystemQueue

70)

Whatarethepermissionsthatyoucangranttouserstoaccessqueues?
Receive
Send
Browse

71)

Whatarethepermissionsthatyoucangranttouserstoaccesstopics?
Subscribe
Publish
Durable
Use_durable

72)

Howdoyouremoveindividualmessagesfromdestinations?
Usingpurgecommand,youcandeletemessagesfromqueuesandtopics.

73)

WhatistheuseofDurableoption?
Durable option enables persistence for EMS messages by creating Local Inboxes at

http://aruntibco.blogspot.in/

29/32

1/20/2015

Tibco
the receiver end. The Message will exist as a reference till it is consumed by the
correspondingreceivers.

74)

WhatisJMSqueuerequestor?
TheJMSQueueRequestoractivityisusedtosendarequesttoaJMSqueuename
andreceivearesponsebackfromtheJMSclient

75)

WhatisJMStopicrequestor?
TheJMSTopicRequestor activity is used to communicate with a JMS applications
requestresponse service. This service invokes an operation with input and output.
The request is sent to a JMS topic and the JMS application returns the response to
therequest.

76)

WhatisthedifferencebetweenQueuesandTopics?
Queue
GuaranteedService
OnlytheTargetgetsthemessage(OnemessageperConsumer)
UsesPeertoPeerModetodelivermessages
Blocking
LoadBalancingispossible
Topic
ReliableService
Everyoneactivegetsthemessage(OnemessagemayConsumers)
UsesPub/Submodetodelivermessages
NonBlocking
LoadBalancingisnotPossible

77)

Whatistheuseofsecuredqueuesandtopics?
Settingsecurepropertytoqueues/topicscanrestrictunauthorizedusersfrom
publishing/sendingandsubscribing/receivingthemessages.

78)

WhatisLoadBalancing?
Load Balancing is a technique to distribute workload evenly across two or more
machines or resources, in order to get optimal resource utilization, maximize
throughput, minimize response time, and avoid overload. Using multiple Receivers
with load balancing, instead of a single Receiver, may increase reliability through
redundancy.

79)

HowisLoadBalancingimplementedonbothQueue&Topic?
Topic:LoadBalancingisonlypossibleonQueues
Queue:LoadBalancingisimplementedonthereceiversend.SinceLoadBalancing
notpossibleonthesenderside.

80)

WhatisCertifiedMessaging?
Rendezvous (RV) uses 'UDP'. Therefore each message is sent as a packet with a
sequencenumberandasubjectattached. So, RV is also called as "Subject Based
Messaging". Rendezvous Daemon (RVD) converts the message into packets and
publish to the network. At the receiver end, RVD again converts the packets to the
messageandsendsittothereceiver.Thismessageisstoredonlyfor60secondsin
theRVDbeforethemessageislost.Toavoidthis,RVintroducedaconceptcalled
'Certified Messaging(CM)'. RVCM uses Ledger to save the messages. The sender
storesalloutboundmessagesoftheregisteredreceiverswhichhaveanagreementin
theledgerunlessthesenderreceivesanacknowledgementfromthereceiver.

81)

WhatisthedifferencebetweenRVDandRVRD?
RVDisUsedforlocalsubnetcommunication.
RVRDisUsedforRemotecommunication.

82)

WhatarethestepstoperformServerSideLoadBalancingonthelocal
machine?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNameissameinthetibemsd.conffileinboththe
folders.
3.Changetheportnumberinthesecondfolderstibemsd.conffile(listen=
tcp://xxxx)
4.Startbothcopiesoftheserversfromthecommandprompt(ex:C:\..

http://aruntibco.blogspot.in/

30/32

1/20/2015

Tibco
\ems\5.1\bin\tibemsdconfigC:\..\cfgmgmt\ems\data\tibemsd.conf)
5.InTIBCODesigner,modifytheJMSConnectionProvideURLtocontain
boththeservers(ex:tcp://localhost:7222|tcp://localhost:7223)

83)

WhatisFaultTolerance?
Fault Tolerance is the ability of a system to respond gracefully to an unexpected
hardware or software failure. Fault Tolerant systems mirror all operations, i.e. every
operationisperformedontwoormoreduplicatesystems,soifonefailstheother can
takeover.

84)

WhatarethestepstosetupFaultToleranceserversonthelocalmachine?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNamesandListenportsarenotthesameinthe
tibemsd.conffileinboththefolders.
3.Changetheportnumberinthetibemsd.conffile(i.eft_active=listenportof
theotherserver)inboththecfgmgmtfolders.
4.Startbothcopiesoftheserversfromthecommandprompt(ex:C:\..
\ems\5.1\bin\tibemsdconfigC:\..\cfgmgmt\ems\data\tibemsd.conf)

85)

WhatistheuseofBridges?
Someapplicationsrequirethesamemessagetobesenttomorethanonedestination
possiblyofdifferenttypes.Soweusebridges.

86)

WhatisthesyntaxtocreateBridgeswithoutMessageSelector?
createbridgesource=queue:bridgequeuetarget=topic:bridgetopic

87)

Whatisthesyntaxtodeleteabridge?
deletebridgesource=queue:bridgequeuetarget=topic:bridgetopic

88)

WhatisthesyntaxtocreateBridgeswithMessageSelector?
createbridgesource=queue:bridgequeuetarget=topic:bridgetopicselector="keyword"

89)

WhatistheuseofBridgesandRoutes?
Both are used to channel messages from senders to receivers. Bridge act as
connector between two different queue and Routes act as connector between
differentserverforsendingmessageandreceivingacknowledgementofdelivery.

90)

WhatarethestepsrequiredtocreateaRoutebetweentwoServers?
1.MakeaduplicatecopyofthecfgmgmtFolderandrenameittocfgmgmt2
2.MakesurethattheServerNameisNOTthesameinthetibemsd.conffilein
boththefolders.
3.Changetheportnumberinthesecondfolderstibemsd.conffile(listen=
tcp://xxxx)
4.Settheroutingpropertytoenabledinthetibemsd.conffilesinboththefolders
5.openfactories.confundercfgmgmt2andchangethesettingsfor
GeneralConnectionFactory,QueueConnectionFactoryand
TopicConnectionFactoryURLto(tcp://xxxx)
6.CreateRouteonServer1(routeServer2Nameurl=tcp://localhost:xxxx)
7.Createglobalqueue/topicsonbothserversasrequired
8.Startbothcopiesoftheserversfromthecommandprompt(ex:C:\..
\ems\5.1\bin\tibemsdconfigC:\..\cfgmgmt\ems\data\tibemsd.conf)
9.Testtheroutebyusingqueue/topicinaBWProcess
Adapters

91)

WhatareAdapters?
Adaptersareconnectorstodatasourcestocatcheventchanges.OnceanAdapter
catchesaeventchange,itpublishesthemessagetoamessageboxusingeither
EMSorRVD

92)

Whatarethedifferenttypesofadapters?
TechnicalAdapters(FileAdapter,DBAdapter)
FunctionalAdapters(PeopleSoftAdapter,SAPR3Adapter)
CustomAdapters

93)

Whatarethetypesofadapterservices?
SubscriberService
PublisherService

http://aruntibco.blogspot.in/

31/32

1/20/2015

Tibco
RequestResponseService

94)

Whatarethe3mainconfigurationelementscommonforallAdapters?
DesignTime(ForBWTesting)
RunTime(ForAdminDeployment)
Service(Pub/Sub,RequestReply)

95)

WhatisPublishbyvalueandPublishbyreference?
InPublishbyValue,allthespecifiedcolumnsinthesourcetablearecopiedintothe
Publishingtable.
InPublishbyreference,onlythespecifiedkeycolumnvaluesarecopiedtothe
publishingtable.

96)

WhatisthedifferencebetweenJDBCactivitiesandADBAdapter?
ADBusesODBCtoconnect,JDBCusesJDBC
ADBismoresuitableforinstanceswhereyouhavealotofprocessing
ADBismoresuitableforinstanceswhereyouwantthataparticularactionona
DBTabletriggersaBWprocess.
ADBadapterisbestforpublishingfromdatabase.
ForsimpleinsertsandupdatesthenADBsubscriberisbest.
IncaseofinsertorupdatetodatabasethencheckifyouhavecomplexJDBC
inserts,transactionmanagementandotherdynamicqueriesthenJDBC
activitiesarebest.
JDBCismoresuitableforrunningdynamiccodewhereinruntimeyoucan
executestatementswithdifferentvaluesdependingonprocessexecution.

97)

WhataremodesofoperationforFileAdapterinRecordMode?
Synchronousmodeuponreceivinganevent,thepublicationservicewillallow
otherservicesintheinstanceonlyafteritcompletestheprocessingand
publishingofallthefilesthatmatchthespecifiedcriteria.
InAsynchronousmodethepublicationserviceallowsotherservicesofthe
instancetoreceiveeventswhileitisprocessingandpublishingafile.By
defaultSubscriptionservicealwaysoperatesinAsynchronousmode.

98)

WhataresupportedSQLOperationsindatabaseadapters?
ThedatabaseadaptersupportsthefollowingSQLoperationsforpublishingand
subscribing:
INSERT
UPDATE
DELETE
UPDATE/INSERT(updateifrowexists,otherwiseinsert)

99)

WhatarethetransporttypessupportedbyADBadapters?
Rendezvous
JMS

B
PostedbyArunat1:04AM 6comments:

Linkstothispost

Labels:TIBCOFAQ'S

Home

OlderPosts

Subscribeto:Posts(Atom)

Simpletemplate.PoweredbyBlogger.

http://aruntibco.blogspot.in/

32/32

Das könnte Ihnen auch gefallen