Sei sulla pagina 1di 16

ADB is an adapter that is seperate from the Businessworks Process.

In other words the BW process actually has to make an external call either through RV or JMS to have the ADB adapter to do the actual change in the database. JDBC is actually an activity that is part of the BW process itself and does not make a seperate call through JMS or RV but rather directly read/write to the database from the BW process. 1) The advantage of ADB is that it has exception tables that will record any insert or update errors. 2) once it exits the BW process based on the transport used it can guarantee that a modification is delivered using the RV or JMS transport framework to handle that guarantee. 3) ADB lets you do upserts while JDBC you will have to check first before doing an insert or update. 4) JDBC is often a lot easier to configure and is more direct to the database. ADB you are abstracting the DB to an adapter. 5) ADB Adapter will generate a schema for you to match the table you are trying to write to. JDBC you will just write your own SQL statements. 6) You really dont need to know SQL using ADB (although it is recommended that you understand it and as a developer you should know it) but with JDBC you have to know SQL. Biggest benefits of the ADB which is to monitor and alert a BW process when ever a database is modified through a publishing table that is generated when you configure a database. The ADB Adapter will actually create the publishing table as well as the triggers that will generate an alert via RV or JMS. The other nice side effect of this is that the publishing table becomes a default history log of the changes to the monitored database table. Hope this helps you get a better idea of what the differences are. -Solution 1: earBUDDY GUI tool: You can also use earBuddy to view the global variables in ear files. With earbuddy, just select a number of ear files, drag and drop them over the earBuddy gui, then you will see the configuration for all selected files at once -solution 2:local deployment from transport option Try a different approach extracting data out of an existing EAR: Take your EAR and deploy it in a domain using TIBCO Admin. Be sure to select Transport=Local (Edit application configration TAB Advanced) as the transport option for deployment. You get the entire project tree except the archives in <TIBCO_HOME>/tra/domain/<Your domain name>/datafiles/<Name of deployment>_root For instance in folder defaultVars you have got file defaultVars.substvar containing the root level global variables stored in your EAR file.

-Soltuion 3 : Appmanage utility To extract the data from the ear file using appmanage as follows: AppManage -export -ear <source-path>\<file-ear> -out <target-path>\<file_xml_output> Example: AppManage -export -ear C:\tibco\deploy\Components_JMS.ear -out C:\tibco\deploy\file_GV.xml The result is obtained in the xml file. Best Regards, Siva. If you guys are looking for Tibco Training , do please reach me Root2Node@gmail.com Mode of training : Online Requirements: HP virtual room/Team viewer and will share conf toll free number. http://tibcowithbts.wordpress.com/online-tibco-training/
Leave a comment
Posted by siva@21five77 on January 5, 2013 in Tibco Admin, Tibco Business Works, Tibco Interview Questions

Exporting an EAR file from Administrator


We can export an EAR file and its configuration file of deployed application in Admin with AppMange command AppManage -export -out c:\temp\SRIK.xml -genEar -ear c:\temp\Srik.ear -app root/folder1/ExampleApp -user <username> -pw <password> -domain <domain name> The deployment configuration file and EAR file are created in the c:\temp folder. The application is embedded in root/folder1/, which is relative to the Application Management root in the TIBCO Administrator GUI. We can export all applications EARs in an administration domain using the appManage -batchExport option. Example, AppManage -batchExport -user <user name> -pw <password> -domain <domain name> -dir c:\temp\test Regards, Siva

2 Comments
Posted by siva@21five77 on November 10, 2012 in Tibco Admin

performance tuning in Tibco Administrator


Hardware: CPU, Memory and Disk resources Engine: Number of engines, number of threads, job creators, flow control, job pool, etc. Process Design: User scripts, sub-processes, inline processes, checkpoints, logging activities Process Instances: Max jobs, Flow limit you do performance tune for the processes that are deployed in administrator, until you deployed the processes you can not see all these options discussed by other folks, and deploying components in LB mode also will help your applications run better..

Leave a comment
Posted by siva@21five77 on August 17, 2012 in Tibco Admin

What is the advantage of scripted deployment in Tibco and how it differs then normal deployment? and the difference.
Below are the scenario: 1. Whenever the TIBCO Administrator is down we have to deploy application from TRA -> Appmanage. 2. In case we have to deploy various applications using same global parameters, we have to provide every time these parameters in TIBCO administrator while deployment. In such case its better to get a best practice to deploy application from backend using the scripts. Below are the advantages: 1. If Admin is down we are able to deploy application 2. We use a properties file (XML) which is having all the variables which can be used by various similar Applications. Hence, similar domain can be created fast. If your application is not complex and needs only machine bindings defined for each domain, you can use theAppManage utility to create the deployment If your application is complex and needs more then machine bindings defined, you can import an EAR file into the TIBCO Administrator GUI Is this useful? Strongly!! Its okay.. Noo-Its just crap!

VoteView ResultsPolldaddy.com

Leave a comment
Posted by siva@21five77 on August 8, 2012 in Tibco Admin

Process configuration parameters Max Jobs, Flow Limit & Activation Limit
Here is in my words and easy to remember than bookish content. Max concurrent running jobs = Thread Count Max Jobs = Number of jobs that can stay in memory. Once this is reached, the rest are paged to disk. Flow Limit = No. of jobs that are created. (Max Jobs + Jobs Paged On Disk) Cheers, Siva

Leave a comment
Posted by siva@21five77 on June 19, 2012 in Tibco Admin

How to add a TIBCO Hawk Rulebase to an Tibco admin Application?


1. Generate Rulebase according to previous steps. 2. Login to TIBCO administrator using your credentials. In TIBCO Administrator, click Application Management. 3. Select the application for which the rulebase has been defined, and expand it. 4. In the Configuration Builder pane, click the service or process name for which the rulebase has been defined. A service is named with .arr suffix. A process is named with a .par suffix. 5. Click the Monitoring tab. 6. In the Rulebases panel, click Add. 7. Click Browse and in the window that appears, navigate to the directory where the rulebase is stored and select the rulebase. Click OK. 8. Click Save. When you deploy the service, TIBCO Hawk Agent saves the rulebase file in the <installpath>\tibco\tra\domain\<domain-name>\rulebase folder. When the conditions specified in the rulebase occur, the results display in the Resource Management > Machines View Machine panel

Leave a comment

Posted by siva@21five77 on June 19, 2012 in Tibco Admin, Tibco HAWK

TIBCO Admin Password retrieval


1. Create a new plain text file pw.txt and put one line in the file: pw=#!your_new_password 2. Go to <tra_home>/<version>/bin and run obfuscate pw.txt. 3. Copy the obfuscated password in pw.txt after #! to the following four places: - repo.securePassword in tibcoadmin_<domain>.tra under <admin_home>/domain/<domain>/bin - AUTH_<domain>.dat, assuming your admin user name is admin <<<<<<<<<<<&l t;<<<<<< <dir name=com.tibco.pof.authorization.User lastModified=1166119387448 id=-18> . <string name=mCaseSensitiveName value=admin/> <string name=mName value=test/> <assoc name=mCredentialValues> <string name=__nullkey value=1/> <string name=0 value=#!/k+XpdSNcXZ8Jn8pJLsCihxOEw0AR006:0:0/> >>>>>>>>>>>>>>>>>> - Credential in AdministrationDomain.properties under <tra_home>/domain/<domain>. - and Credential in AuthorizationDomain.properties under <tra_home>/domain/<domain>. Please stop Admin domain before you do the above, restart Admin afterwards, then login with the new password. Regards, Mourya.

Leave a comment
Posted by siva@21five77 on June 18, 2012 in Tibco Admin, Tibco Interview Questions

How to reset Tibco default user ID and pwd in Tibco EMS 22MAY
Q) How to reset Tibco default user ID and pwd in Tibco EMS Solution: EMS admin password has been lost, it is easy to recover. In EMS all local users and their passwords stored in the users.conf file by default. You can find correct file in the tibemsd.conf:
users = "C:/tibco/tibco/cfgmgmt/ems/data/users.conf"

In the users.conf find admin user:


admin:$2$Z1t2XOwg$vsDsUT+GVRHRiX+OPU/oOsn0:"Administrator"

and remove encrypted password between colons:


admin::"Administrator"

Then restart EMS daemon. Connect to your EMS using EMS Administration Tool and login as admin without password:
> connect

Login name (admin): Password: Connected to: tcp://localhost:7222 Then set a new password for admin:
tcp://localhost:7222> set password admin 123

Password of user 'admin' has been modified

1 Comment
Posted by siva@21five77 on May 22, 2012 in Tibco Admin, Tibco EMS, Tibco EMS Interview Questions

To add EMS server to TIBCO administrator in both windows and Unix , follow these steps:
Note: To add the ems server, both Administrator and EMS should be up and running. 1. Make sure the TRA installalled on the machine where EMS server is running. 2. Run Domain Utility from TIBCO_HOME/TRA/<version that matches to ur domain>/BIN/DomainUtility.exe (Windows) or .bin (Unix) 3. In windows you can double click the domain utility, but in unix use ./<PATH to TRA BIN>/DomainUtility Note: To enable GUI mode in Unix, your desktop must have xwindows terminal like reflection,cygwin or xwindows etc. Puty does not support xwindows properly. 4. Choose EMS administration from the menu list. 5. Click Add EMS server to TIBCO domain and next. 6. Enter all the details that is required for EMS (Version, path of tibemsd executable (.exe in windows, .bin in unix) 7. Enter the port number, user name and password 8. Test the connection

Tibco Business Works

Difference between soap and service palette when/how to use?


We can create web services in two ways. SOAP Event Source Service Palette Service Palette offers architectural advantage over SOAP Event Source when you want to develop web services. Service Palette offers multiple operations defined at a higer level while the configuration is scattered when you use SOAP event source to implement multiple operations in the service. One of the differences between Service palette and soap event source is when it comes to sequencing. When you use SOAP Event source you have sequencing key in the Misc tab and this field can contain an XPath expression that specifies which processes should run in order. Process instances with sequencing keys that evaluate to the same value will be executed sequentially in the order the process instance was created. Using the SOAP Event Source, you can run only one operation at a time. While using the Service Palette you can run multiple operations simultaneously When to use services/soap activity: When you have to use multiple transports, use services to build ur websevices, using soap activity you can configure only one transport. Steps to create a web service . 1. Define XSD 2. Define the HTTP / JMS Connection 3. Create Abstract WSDL from the XSD 4. Right Click the Abstract WSDL and select Tools or Multi-User > Generate Web Service > From WSDL 5. Select the Transport 6. Generate the Concrete WSDL from the WSDL Source of the Service WSDL 7. Define the Logical Operation 8. Create a Client Process and invoke the web service using the SOAP Request Reply Activty. 9. Set the Service Of the SOAP Request Reply to point to the Concrete WSDL Regards, Siva , Root2node@gmail.com

Leave a comment
Posted by siva@21five77 on November 25, 2012 in Tibco Business Works

what is difference between the SOAP over JMS and SOAP over HTTP?
Consider using SOAP over HTTP for:

Externally facing web services (e.g. customers or suppliers) For simple point-to-point and stateless services Where you need a thin client with no MOM installations Consider using SOAP over JMS for: High-volume distributed messaging Asynchronous messaging Where a transaction boundary is needed in the middleware Where the message consumers are slower than the producers Guaranteed deliver and/or only once delivery of messages Publish/subscribe Distributed peer systems that might at times be disconnected

Leave a comment
Posted by siva@21five77 on November 10, 2012 in Tibco Business Works

Detecting & handling duplicate process instances


Duplicate messages should be detected and discarded to avoid processing the same event more than once. Duplicate detection is performed when a process instance executes its first Checkpoint activity. To detect duplicates, a value must be specified for the duplicateKey element in the Checkpoint activity input schema. This value should be some unique key contained in the event data that starts the process. For example, the order ID value is unique for all new orders or JMS Message ID in case of message is received from JMS. Duplicate detection can only be done across multiple engines on different machines if a database is used to store process engine data. If you are running fault tolerant process engines (that is, only one process engine is running at a particular time), or if all process engines run on the same machine, you can use a file system for process engine storage. When a duplicate is detected, the Checkpoint activity fails with the DuplicateException. You can place an error transition from the Checkpoint activity or Catch activity to a series of activities to handle the duplicate message. If no error transition is specified, the process instance terminates and duplicate messages are effectively ignored.

In this example, when a duplicate message is detected, the duplicate message is confirmed so that it is no longer redelivered, then the transition is taken to the end of the process definition.

Leave a comment
Posted by siva@21five77 on November 4, 2012 in Tibco Business Works

Event Candidate Key & Event time out 30OCT


Event Candidate Key: Expression used to evaluate whether the incoming message is appropriate for this process. This expression is specified in XPath, and only data from the incoming event is available for use in this XPath expression.

Event time out The amount of time a message will wait (in milliseconds) if it is received before this task is reached in the process. If the event timeout expires, an error is logged and the event is discarded. If no value is specified in this field, the message waits indefinitely. If zero is specified, the event is discarded immediately, unless this has already been reached

Leave a comment
Posted by siva@21five77 on October 30, 2012 in Tibco Business Works

Tibco Business Works 03SEP

TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop integration projects. TIBCO BusinessWorks includes a graphical user interface (GUI) for defining business processes and an engine that executes the process. TIBCO BusinessWorks also works with TIBCO Administrator, a web-based GUI for monitoring and managing run-time components. TIBCO BusinessWorks Key Components TIBCO BusinessWorks key components work together as follows: The TIBCO Designer graphical user interface (GUI) supports adapter configuration, process design, and testing of the integration project in one easy to use interface. You can use TIBCO Designer in test mode to incrementally verify your design during development. The TIBCO BusinessWorks engine runs the business processes in test mode and at run-time. TIBCO Administrator supports deployment, security administration, and monitoring and management of processes and machines. TIBCO Administrator consists of the TIBCO Administration Server and the web browser based TIBCO Administrator GUI. The TIBCO Runtime Agent (TRA) runs on each machine and executes scripts, sends alerts, and performs recovery as specified. Optionally, TIBCO BusinessWorks interacts with TIBCO InConcert in its implementation of ManualWork activities.

Leave a comment

Posted by siva@21five77 on September 3, 2012 in Tibco Business Works

How you perform performance tuning on BW engine and EMS ? 27AUG


Performance Tuning in BW engine!! Max jobs Flow limit Activation Limit Java heap size Performance Tuning in EMS!! Performance Tuning: Performance tuning can be done at EMS server level/Administrator level In EMS it can be done using prefetch mechanism,thereby regulating the consumption of messages. The prefetch mechanism is avialable in both queues and topics In Administrator, performance tuning is done by adjusting the count of the threads.also by setting the flow limit, activation limit, max limit.

Leave a comment
Posted by siva@21five77 on August 27, 2012 in Tibco Business Works, Tibco EMS

purpose of a Lock shared configuration resource 30JUL


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
Leave a comment
Posted by siva@21five77 on July 30, 2012 in Tibco Business Works, Tibco BW Interview Questions

How to find the DateTime Difference from two different Time Zone? 18JUL
You can use this simple below function. tib:compare-dateTime((tib:translate-timezone(current-dateTime(), +05:30)), tib:translate-timezone($Start/root/InputDateTime, +05:30))

Leave a comment
Posted by siva@21five77 on July 18, 2012 in Tibco Business Works

Dfferece between XA and JDBC transaction group 18MAY


Both types of transactions will provide atomic, all-or-nothing functionality. There are some differences however 1. All parties to a JDBC transaction must be JDBC activities. Thus a JDBC transaction cannot include a JMS activity, however an XA transaction can. 2. All parties to a JDBC transaction must use the same JDBC connection. Thus activities taking place against different databases cannot be a part of the same JDBC transaction, although they could if they were using an XA transaction. 3. XA transactions require a separate XA transaction manager to coordinate the transaction. With JDBC transactions as long as you have BW and a database youre good. Note: JMS sender will not participate in the JDBC transaction, and will not be backed out if the JDBC transaction is backed out. However both JDBC activitites as well as JMS activities can participate in XA transactions. So if you require the behavior that you just described you will need to use XA transactions. I hope this helps! Regards, Mourya If you are interested for the Online Tibco Training please reach us @ mourya4tibco@gmail.com
Leave a comment
Posted by siva@21five77 on May 18, 2012 in Tibco Business Works, Tibco BW Interview Questions

what differce between BW and active matrix 16MAY


BusinessWorks is a different platform than ActiveMatrix. BusinessWorks has been the integration and ServiceCreation platform of TIBCO for long. BusinessWorks (I would say Classic) is having a runtime enviornment which is based upon Administrator where you can deploy BW , Adapters etc

As for ActiveMatrix, its a new line from TIBCO , which is providing a runtime based on SCA and is developed using OSGi. ActiveMatrix is a new runtime for TIBCO Products, now you can have the ability to deploy BW , Java, .Net etc So, to concolude , BW is different from AMX , BW can be deployed seperalty on its old stack, or can be deployed on AMX infrastructure which is providing modern runtime, with monitoring and policy management. BusinessWorks has been known by its name untill 5.6 , and then was rebranded to ActiveMatrix BusinessWorks to indicate the new line from TIBCO Rrgards, Mourya.

How to invoke a Tibco Web Service. 13MAY


If you are using version 5.3 and up you do not need to define your own WSDL (unless you are an expert on WSDLs and can hand generate it from scratch or your a glutton for pain), you should be able to generate a webservice using the webservice generator wizard. You need to do the following to generate a SOAP service. 1) Define your input, output and fault output in an xsd schema. 2) Create a subprocess which contains either the input and output as the start and end respectively or input and output/fault in your start and end of your subprocess. 3) right click over your subprocess or if you have multiple subprocesses you want to turn into SOAP services place them all into a folder and right click over the folder and there should be an option at the bottom that says Tools or Multi-User > Generate Webservice Once you create this service you should look into using an http receiver and http response activity with the SOAP retrieve resource activity to allow people to get your wsdl from your service. Once you do that you can use Axis or a Tibco BW Webservice client using the SOAP Request Reply activity to draw your wsdl automatically from your soap service. You should read the BW documentation on the Retrieve Resource, and the SOAP Request Reply activities for more specific instructions. Hope this helps

Leave a comment
Posted by siva@21five77 on May 13, 2012 in Tibco Business Works

How to create web service in BW ? 10MAY


Step 1: First create a XML schema.

Then take the wsdl pallete configure input messasge,output message,and port type(which contain operation). This wsdl is called abstract wsdl. To make this concerete wsdl we have to take soap event source or service pallet. If you take soap event source we have to add binding to this which is called Http connection. In soap event source we can add one operation but if you use service pallet you can add more operation. Step 2 : The another way Create WSDL with required Messages and configure Porttype with operations in it. Now create HTTP Shared Connection using HTTP palette. Now select WSDL and right click on WSDL. Select Tools Or Multi-User >Generate Web Service>From WSDL menu. It will popup dialog.Enter HTTP transport and click Generate. This will create BW SOAP Service. Make sure to implement Operation processes for generated Service. Above step will generate BW Service Agent resource. Go to its WSDL tab. That will be your concrete WSDL. Save that WSDL in project. Take new BW process and drop Soap Request Reply activity from SOAP palette and configure it with concrete WSDL. This will be your BW Soap Client. Hope this will help you.

Leave a comment
Posted by siva@21five77 on May 10, 2012 in Tibco Business Works, Tibco BW Interview Questions, Tibco Interview Questions Tags: WebServices WSDL

Secure Sockets Layer (SSL) protocol 09MAY

1. Secure Sockets Layer (SSL) is a protocol that provides secure authentication and transmits encrypted data over the Internet or an internal network. 2. TIBCO Enterprise Message Service supports the Secure Sockets Layer (SSL) protocol. 3. SSL uses public and private keys to encrypt data over a network connection to secure communication between pairs of components: between an EMS client and the tibemsd server between the tibemsadmin tool and the tibemsd server between two routed servers between two fault-tolerant servers

4. Digital certificates are data structures that represent identities. EMS uses certificates to verify the identities of servers and clients. A digital certificate is issued either by a trusted third-party certificate authority, or by a security officer within your enterprise. 5. JMS Java clients can use either JSSE (from Sun JavaSoft) or the SSL implementation from Entrust.

Leave a comment
Posted by siva@21five77 on May 9, 2012 in Tibco Business Works, Tibco BW Interview Questions, Tibco EMS, Tibco Interview Questions, TIBCO Messaging

What are the types of grouping or group actions in TIBCO BW? 09MAY
Grouping Activities Type of Group Actions in tibco bw. None: Used for grouping without looping Transaction Groups: Used to group activities that participate in a transaction. Eg. JDBC group activities Iterate Loop: Used to iterate a group once for every item in a list Repeat Until True Loop: Used to iterate a group until the specified condition is true Repeat On Error Until True Loop: Used to iterate a group when an error occurs If Groups: To conditionally execute business logic While True Groups: Repeats the series of grouped activities as long as the given condition evaluates as true. Critical Section: Used to synchronize process instances so that only one process instance executes the grouped activities at any given time. Pick First: Allow process execution to wait for one or more events
Leave a comment
Posted by siva@21five77 on May 9, 2012 in Tibco Business Works, Tibco BW Interview Questions, Tibco Interview Questions

TIBCO BW Performance Tuning by JVM parameters


Every BusinessWorks engine runs in a Java Virtual Machine. As a result, the settings on the JVM influence the engine performance. Java provides below parameters to tune the memory usage and optimize engine performance. i. HEAP SIZE: Following parameter used to set the heap size in bwengine.tra, designer.tra files for the engine: Example: tibco.env.HEAP_SIZE=256M These values determine the amount of memory to be used by the engine. ii. GARBAGE COLLECTION: The java object, such as a job, occupies memory from the time it is created to the time it is destroyed. Java provides garbage collection, an automated mechanism to clean up objects that still exist but are no longer used. To retrieve the garbage collection metrics for the BusinessWorks engine, specify the -verbose:gc option when starting the JVM used by the engine. You can set the Java memory parameters by using the java.extended.properties option in the bwengine.tra file. For example, specify the following in the bwengine.tra to set the heap size to 512M and retrieve the garbage collection metrics for the engine. java.extended.properties -Xms512m -Xmx512m -verbose:g

Potrebbero piacerti anche