Welcome to Siva's Blog

~-Scribbles by Sivananda Hanumanthu
My experiences and learnings on Technology, Leadership, Domains, Life and on various topics as a reference!
What you can expect here, it could be something on Java, J2EE, Databases, or altogether on a newer Programming language, Software Engineering Best Practices, Software Architecture, SOA, REST, Web Services, Micro Services, APIs, Technical Architecture, Design, Programming, Cloud, Application Security, Artificial Intelligence, Machine Learning, Big data and Analytics, Integrations, Middleware, Continuous Delivery, DevOps, Cyber Security, Application Security, QA/QE, Automations, Emerging Technologies, B2B, B2C, ERP, SCM, PLM, FinTech, IoT, RegTech or any other domain, Tips & Traps, News, Books, Life experiences, Notes, latest trends and many more...

Friday, November 25, 2011

Quote of the Day!

A great quote from Dr. Kalamji-

"The Dream Is Not What You See In Sleep, Dream Is Which Does Not Let You Sleep!!!"

Friday, November 18, 2011

JTA Timeout Errors - BPEL 10g

JTA Timeout Errors - BPEL 10g

As a BPEL Developer, you may have come across many times the below error -

"JTA transaction is not present or the transaction is not in active state. The current JTA transaction is not present or it is not in active state when processing activity or instance "1255921-BpInv2-BpSeq2.5-5......"

Basically, you will get this JTA timeout error if some of the partner links in your BPEL are taking so much of time than the default specified transaction time value on the OC4J app server for BPEL execution. Then, you need follow the below steps to tune your BPEL engine to take care of the transaction processing.



Set the transaction-timeout and syncMaxWaitTime properties as follows:
Property
File Location
This Value Must Be...
Example
transaction-timeout
SOA_Oracle_Home\j2ee\home\config\transaction-manager.xml
Larger than the transaction-timeout value in orion-ejb-jar.xml and the syncMaxWaitTime value.
7200
transaction-timeout
SOA_Oracle_Home\j2ee\home\application-deployments\orabpel\ejb_ob_engine\orion-ejb-jar.xml
Less than the transaction-timeout value in transaction-manager.xml.
Note: You must set all transaction-timeout properties that display in this file.
3600
syncMaxWaitTime
SOA_Oracle_Home\bpel\domains\domain_name\config\domain.xml
where domain_name is the name of the domain to which you are deploying.
Less than the transaction-timeout value in orion-ejb-jar.xml.
240


Reference: http://docs.oracle.com/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm

Tuesday, October 25, 2011

11g OSB Installation separately with Derby Server

11g OSB Installation separately with Derby Server:-

OSB 11g Installationn with Derby Server:-

Required Softwares:

wls1033_oepe111150_win32.exe

ofm_osb_generic_11.1.1.3.0_disk1_1of1.zip

--------

First, Install WLS with OEPE

wls1033_oepe111150_win32.exe

then Install OSB 11g

C:\Siva\Softwares\11g OSB with Derby server\ofm_osb_generic_11.1.1.3.0_disk1_1of1\osb\Disk1>setup.exe -jreLoc C:\Siva\Installations\11gOSB\Oracle\Middleware\jdk160_18

-----------

Then configure the OSB domain

C:\Siva\Installations\11gOSB\Oracle\Middleware\oracle_common\common\bin> config.cmd

Even if it fails with 1527 connection to the Derby Server, please move ahead

------------

Starting and Stopping the OSB Server

C:\Siva\Installations\11gOSB\Oracle\Middleware\user_projects\domains\base_domain>startWebLogic.cmd

URLs:

http://localhost:7001/sbconsole

http://localhost:7001/console
----------------

 

Thursday, October 20, 2011

Retrieving or Selecting key/values from Array list without using while loop in BPEL


Retrieving or Selecting key/values from Array list without using while loop

We usually make use of while loop to select indexed key/value pair in the middle of execution of BPEL and this is too cumbersome and performance not good. Hence, use the below xpath syntax to get value for the respective key from the array list of key/value pairs.

/client:ArrayTestProcessRequest/client:cust[contains(client:Name,'Siva')]/client:Value

/client:ArrayTestProcessRequest/client:cust[client:Name='Siva']/client:Value

Respective schema would be like: