{"id":1833,"date":"2010-10-14T12:50:28","date_gmt":"2010-10-14T17:50:28","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=1833"},"modified":"2011-01-10T16:29:17","modified_gmt":"2011-01-10T21:29:17","slug":"oracle-esb-1013-tips","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=1833","title":{"rendered":"Oracle ESB 10.1.3 Tips"},"content":{"rendered":"<span id=\"Rename_ESB_System_from_ESB_Console\"><h3>Rename ESB System from ESB Console<\/h3><\/span>\n<p>When you create a new &#8220;System&#8221; from ESB console, it was given a name such as &#8220;System0&#8221;. It took me a while to figure out how to change the name. You can *actually* click the name (i.e. System0) on the page and change it. Good hiding, Oracle.<\/p>\n<span id=\"Enable_Debatching_for_File_Adapter\"><h3>Enable Debatching for File Adapter<\/h3><\/span>\n<p>A new 10.1.3.3 feature allows you to debatch XML files. Setting up XML debatching requires you to download and configure the XML pull-parsing library(StaX).<\/p>\n<p>1. Download the API (jsr173_1.0_api.jar) and RI (jsr173_1.0_ri.jar) from the following location:<\/p>\n<p><a href=\"http:\/\/jcp.org\/aboutJava\/communityprocess\/final\/jsr173\/index.html\">http:\/\/jcp.org\/aboutJava\/communityprocess\/final\/jsr173\/index.html<\/a><\/p>\n<p>You must go to the section for &#8220;Reference Implementations&#8221; and select from the available reference implementations.<\/p>\n<p>2. Copy the two jar files to SOA_ORACLE_HOME\\bpel\\lib.<\/p>\n<p>3. Register both jar files in server.xml (available under SOA_ORACLE_HOME\\j2ee\\MID_TIER\\config) under the oracle.bpel.common shared library.<\/p>\n<pre lang=\"xml\">\r\n<shared-library name=\"oracle.bpel.common\" version=\"10.1.3\">\r\n<code-source path=\"C:\\product\\bpel\\lib\\jsr173_1.0_api.jar\"\/> \r\n<code-source path=\"C:\\product\\bpel\\lib\\jsr173_1.0_ri.jar\"\/>\r\n<\/shared-library>\r\n<\/pre>\n<span id=\"Use_orcl:sequence-next-val_in_Standalone_Java_App\"><h3>Use orcl:sequence-next-val() in Standalone Java App<\/h3><\/span>\n<p>* Add to classpath<br \/>\nSOA_ORACLE_HOME\\integration\\esb\\lib\\bpm-services.jar<br \/>\nSOA_ORACLE_HOME\\integration\\esb\\lib\\xsu12.jar<br \/>\nSOA_ORACLE_HOME\\integration\\esb\\lib\\orabpel.jar<br \/>\n* Add namespace to xsl:stylesheet:<\/p>\n<pre lang=\"xml\">\r\n<xsl:stylesheet version=\"1.0\"\r\n      xmlns:orcl=\"http:\/\/www.oracle.com\/XSL\/Transform\/java\/oracle.tip.pc.services.functions.ExtFunc\"\r\n<\/pre>\n<p>* Create sequence in Oracle database:<\/p>\n<pre lang=\"sql\">\r\nCREATE SEQUENCE MY_SEQ\r\n START WITH     1\r\n INCREMENT BY   1\r\n ORDER\r\n NOCYCLE;\r\n<\/pre>\n<p>* Use orcl:sequence-next-val() function:<\/p>\n<pre lang=\"xml\">\r\n<xsl:variable name=\"seqno\" \r\n  select=\"orcl:sequence-next-val('MY_SEQ','jdbc:oracle:thin:scott\/tiger@localhost:1521:ORCL')\"\/>\r\n<xsl:value-of select=\"$seqno\" \/>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Rename ESB System from ESB Console When you create a new &#8220;System&#8221; from ESB console, it was given a name such as &#8220;System0&#8221;. It took me a while to figure out how to change the name. You can *actually* click &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=1833\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[69],"tags":[],"class_list":["post-1833","post","type-post","status-publish","format-standard","hentry","category-oc4j"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-tz","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1833"}],"version-history":[{"count":8,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1833\/revisions"}],"predecessor-version":[{"id":1888,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1833\/revisions\/1888"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}