Posts

Showing posts from March, 2013

B2B Trading Partner Lookup sql query

How B2B looks for the Trading Partner Agreement in the MDS database SELECT * FROM DEV_SOAINFRA.B2B_LIFECYCLE WHERE ((SENDER_NAME        = <Sender Name e.g. MyCompany>) AND ((RECEIVER_NAME        = <Recipient Name e.g. ACME>) AND ((DOCTYPE_NAME         = <Document Name e.g. CUSDEC>) AND ((DOC_PROTOCOL_VERSION = <Document version e.g. D96B>) AND ((DIRECTION            = <Can be INBOUND or OUTBOUND>) AND (STATE                 = 'Active'))))));

Custom character set in Oracle B2B

Image
To add a custom character set in B2B follow the steps: 1. In Oracle B2B Document Editor, click Tools > Character Set Registry. In the Character Set Registry window, select the character set you want to duplicate. 2. Click the Duplicate icon, or Right click and Duplicate. 3. In the Duplicate Character Set Properties window, accept the defaults and add any other characters at the end of the Charset blank; then click OK. 4. Right click on the Custom Character Set and click the Export icon. Name the file CUST.cs and save it. 5. Copy CUST.cs to SOA_HOME\soa\thirdparty\edifecs\XEngine\config\charsets 6. Edit SOA_HOME\soa\thirdparty\edifecs\Common\Modules\XEngine.dat and add the entry File=XEngine\config\charsets\CUST.cs 7. Restart the SOA server.

Change the default heap size of JRockit JVM

To change the default heap size go to your <WebLogic Home>\user_projects\domains\soa_domain\bin\setSOADomainEnv.sh or .cmd and modify the values of PORT_MEM_ARGS=-Xms768m –Xmx1536m. By default it looks like set PORT_MEM_ARGS=-Xms768m -Xmx1536m I have modified it to set PORT_MEM_ARGS=-Xms6144m -Xmx6144m –Xns2048m -Xms sets the initial size of the heap. For SOA, its recommend to set it to the same size as the maximum heap size -Xmx sets the maximum size of the heap. -Xns sets the size of the young generation (nursery) in generational concurrent (-Xgc: gencon ) and generational copying garbage collectors (-Xgc: gencopy ) If the nursery size ( -Xns ) has not been set the default size depends on the type of garbage collector and the number of CPUs: For the generational copying garbage collector (-Xgc: gencopy ) the default nursery size is 320 KB per CPU; for example, the default for a ten CPU system using gencopy would be 3200 KB (3.2 MB). For the generati