Tuesday, February 26, 2013

correlation set BPEL


Part1

structure>>correlationsets>>process>>correlationsets>>green plus icon >>set any name(Say EmployeeIdentifierSet)>>add new property>>name(say EmployeeIdentifier)>>type chooser icon and select string as the property type >>OK

PART2

The value of a property is associated with the content of the messages sent to or from the process at such exchange moments. 
These associations etween the property and a particular message exchange are specified using property alias definitions 
Structure>>node Property Aliases >>Click on the green plus icon to create a new property alias >>Accept the default interaction type of Message Type >>Open the node Message Types and the child node Partner Links. Find and expand the node for partner link from where  this value is coming>>Select the payload node>>Type / (forward slash) in the Query field. A selection of available element names is presented >>choose  and press\. again till u reach your element

PART3

We need to specify now that the Reply activity instantiates the correlation set: 
Open the activity editor by double clicking the Reply activity>> Go to the Correlations tab>>Click the green plus icon to add a correlation set that is associated with this message exchange. >>select the correlation set u wanna use>>You need to set Initiate to yes to indicate that this Reply step is the moment when this correlation set is instantiated and the identifier for this process instance is fixated 

PART4

Usage of some functions in bpel

xpath20:add-dayTimeDuration-to-dateTime(xpath20:current-dateTime(),'P43DT2H' 

It means add 43 days and 2 hours to current Date and time

Also refer to

https://blogs.oracle.com/reynolds/entry/whats_the_time_mr_bpel

BPEL Transformation help


Shortcuts Jdeveloper

  • control+shift+S  :For the structure window
  • To see in t the line numbers in the jdev source code: Right click where the red arrow is in the pic below and choose Toggle Line numbers
  •  
    PIC1

Monday, February 25, 2013

Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine.


Following settings in setSOADomainENV worked for me

set JAVA_OPTIONS=%JAVA_OPTIONS%
set DEFAULT_MEM_ARGS=-Xms512m -Xmx512m
set PORT_MEM_ARGS=-Xms512m -Xmx1024m

if "%JAVA_VENDOR%" == "Oracle" goto OracleJVM
set DEFAULT_MEM_ARGS=%DEFAULT_MEM_ARGS% -XX:PermSize=128m -XX:MaxPermSize=512m
set PORT_MEM_ARGS=%PORT_MEM_ARGS% -XX:PermSize=256m -XX:MaxPermSize=512m


I have a windows 7 system(32 bit) with 4 GB RAM