<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5705818669612605666</id><updated>2012-02-17T03:16:07.701+05:30</updated><category term='wlntio.dll'/><category term='WebCenter 11g'/><category term='Performance Pack'/><category term='Feature Pack'/><category term='Weblogic 11g'/><category term='Oracle BPEL'/><category term='XPath'/><category term='ORA-01005'/><category term='DB Adapter'/><category term='BEA-000438'/><category term='DB'/><category term='SOA 11g'/><category term='JBO-26061'/><category term='BPM 11g'/><category term='BAM'/><category term='ADF 11g'/><category term='SOA 11.1.1.4'/><category term='SOA 11.1.1.5'/><category term='Oracle DB 11g'/><category term='FMW 11g'/><category term='JDeveloper 11g'/><category term='CLOB'/><category term='Weblogic 10.3.4'/><category term='DBSequence'/><title type='text'>Sathyam's SOA Blog</title><subtitle type='html'>A blog to publish explored SOA techniques that amused &amp;amp; challenged my journey...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7541762132129343550</id><published>2012-02-12T17:36:00.001+05:30</published><updated>2012-02-12T17:37:53.786+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Weblogic 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='DB Adapter'/><category scheme='http://www.blogger.com/atom/ns#' term='SOA 11g'/><title type='text'>SOA 11g DB Sequence Reset Issue</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Ever wondered why the primary key sequence is reset while using a DB adapter to insert records from your SOA application?&lt;br /&gt;&lt;br /&gt;The issue is that the DB adapter pre-allocates sequence values based on the value configured in the DB Adapter's outbound connection pool.&lt;br /&gt;&lt;br /&gt;To overcome this issue, ensure that the "sequencePreallocationSize" property value matches the value that was specified for sequence increment in DB during sequence creation. For example 1.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/--vSDD_Hn9B4/TzerEYuOhPI/AAAAAAAAG3o/ZMpY4cYQmk4/s1600/dbadapter.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="172" src="http://4.bp.blogspot.com/--vSDD_Hn9B4/TzerEYuOhPI/AAAAAAAAG3o/ZMpY4cYQmk4/s400/dbadapter.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7541762132129343550?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7541762132129343550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2012/02/soa-11g-db-sequence-reset-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7541762132129343550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7541762132129343550'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2012/02/soa-11g-db-sequence-reset-issue.html' title='SOA 11g DB Sequence Reset Issue'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/--vSDD_Hn9B4/TzerEYuOhPI/AAAAAAAAG3o/ZMpY4cYQmk4/s72-c/dbadapter.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-9051631140112231579</id><published>2012-02-12T15:26:00.001+05:30</published><updated>2012-02-12T15:29:05.650+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BAM'/><category scheme='http://www.blogger.com/atom/ns#' term='BPM 11g'/><title type='text'>BPM 11g BAM Data Object not created automagically</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Have you ever faced a situation where the BAM DO was not getting created automagically when you deploy and run your BPM 11g (In this case I am using BPM 11.1.1.5 with FP) process as expected? Here are the list of checks that you must make to ensure that everything was setup as documented.&lt;br /&gt;&lt;br /&gt;1. Ensure that the BAM deployment configurations are done in Oracle WebLogic Console (Go to Deployments -&amp;gt; BAM Adapter -&amp;gt; Configurations -&amp;gt; Outbound Connection Pool and provide the BAM connection details for eis/bam/soap and update the deployment plan)&lt;br /&gt;&lt;br /&gt;2. Go to Oracle WebLogic EM console, ensure that the 'Disable Actions' property is empty (By default, this property will hold a value as 'BAMCommand') under the soa-infra domain 'System MBean Browser'&lt;br /&gt;&lt;br /&gt;3. Ensure that the 'Enable BAM' option is selected. Go to 'BPM Project Navigator', right click on the process -&amp;gt; Project Preferences -&amp;gt; Select 'Enable BAM' option. Also ensure that the BAM Adapter JNDI is provided as configured in the deployments (refer step 1 above). By default the JNDI is eis/bam/soap. Leave the Data Object location to Samples/Monitor Express which would the default location where the BAM DO will be created 'automagically'&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://4.bp.blogspot.com/-0GSWQ0K0Mns/TzeH5R0JcyI/AAAAAAAAG3Y/xBFxRQpatNg/s1600/BAM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/-0GSWQ0K0Mns/TzeH5R0JcyI/AAAAAAAAG3Y/xBFxRQpatNg/s400/BAM.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;4. Ensure at least one business indicator (dimension) must have been created in the BPM process for which you would ideally pass/set values from within multiple stages in your process so that the runtime data is sent to BAM real-time&lt;br /&gt;&lt;br /&gt;5. Before deploying the BPM process (after enabling BAM), ensure that any previous versions of the process are undeployed from Oracle WebLogic server &lt;br /&gt;&lt;br /&gt;6. DO NOT execute the setup.bat or setup.sh script available under &lt;oracle_middleware_home&gt;/Oracle_SOA1/bam/samples/bam/monitorexpress/bin&lt;/oracle_middleware_home&gt;&lt;br /&gt;&lt;br /&gt;I have noticed that this had caused the following error while BAM tries to create the data object dynamically (version 11.1.1.5 with FP). On closer observation of the bam server diagnostic logs the following error is sighted which in itself is not very intuitive to fix as it complains of constraint violation in orabam MDS database during the creation of the BPM BAM DO.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #990000;"&gt;Exception: oracle.bam.adc.common.exceptions.UniqueConstraintViolationException: BAM-01273: Active Data Cache unique constraint violation&lt;/div&gt;&lt;div style="color: #990000;"&gt;&amp;nbsp; at oracle.bam.adc.dse.oracle.OracleExceptionHelpers.getStorageException(OracleExceptionHelpers.java:134)&lt;/div&gt;&lt;div style="color: #990000;"&gt;&amp;nbsp; at oracle.bam.adc.dse.oracle.OracleStorageEngine.insertDataSetRow(OracleStorageEngine.java:1216)&lt;/div&gt;&lt;div style="color: #990000;"&gt;&amp;nbsp; at oracle.bam.adc.kernel.datasets.DatasetBase.insertRowInternal(DatasetBase.java:630)&lt;/div&gt;&lt;div style="color: #990000;"&gt;&amp;nbsp; at oracle.bam.adc.kernel.datasets.DatasetBase.insertRow(DatasetBase.java:592)&lt;/div&gt;&lt;div style="color: #990000;"&gt;&amp;nbsp; at oracle.bam.adc.kernel.datasets.SystemDataset.insertRowInternal(SystemDataset.java:172)&lt;/div&gt;&lt;div style="color: #990000;"&gt;..&lt;/div&gt;&lt;div style="color: #990000;"&gt;..&lt;/div&gt;&lt;div style="color: #990000;"&gt;..&lt;/div&gt;&lt;div style="color: #990000;"&gt;Caused by: java.sql.SQLIntegrityConstraintViolationException: SQLError(1) SQLState(23000) ORA-00001: unique constraint (DEV_ORABAM.SYS_C007296) violated&lt;/div&gt;&lt;br /&gt;In order to fix this issue, do the following;&lt;br /&gt;Go to BAM console -&amp;gt; Active Studio -&amp;gt; Delete the following reports pertaining to BAM monitor express&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Monitor Express Dashboard&lt;/li&gt;&lt;li&gt;Monitor Express Summary&lt;/li&gt;&lt;li&gt;Monitor Process Details&lt;/li&gt;&lt;li&gt;Fault Report&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Go to BAM Console -&amp;gt; Architect -&amp;gt; Delete the following Data Objects pertaining to BAM monitor express in the order specified below;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;INTERVAL&lt;/li&gt;&lt;li&gt;COUNTER&lt;/li&gt;&lt;li&gt;COMPONENT&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;7. Undeploy existing process composite if any&lt;br /&gt;&lt;br /&gt;8. Restart your servers&lt;br /&gt;&lt;br /&gt;9. Deploy the BPM process&lt;br /&gt;&lt;br /&gt;10. Trigger an instance. Voila!! the BAM Data Object should have got created in your BAM console&lt;br /&gt;&lt;br /&gt;11. Now, play around with the BAM DO and build your custom real-time dashboard reports&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-9051631140112231579?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/9051631140112231579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2012/02/bpm-11g-bam-data-object-not-created.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9051631140112231579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9051631140112231579'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2012/02/bpm-11g-bam-data-object-not-created.html' title='BPM 11g BAM Data Object not created automagically'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-0GSWQ0K0Mns/TzeH5R0JcyI/AAAAAAAAG3Y/xBFxRQpatNg/s72-c/BAM.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4685936216293813511</id><published>2012-01-29T16:40:00.000+05:30</published><updated>2012-01-29T16:40:33.500+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BPM 11g'/><title type='text'>BPM 11g complex human task MDSException</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Oracle BPM 11g offers 'complex' user tasks which are helpful in defining complex user tasks - for instance dynamically define participant list using business rules. This is all fine. However, while compiling the BPM process where complex user task builds participant list using business rules, we might stumble upon a compilation error;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #990000;"&gt;Error: BPM-71504: Unexpected error parsing  ‘oramds:///soa/shared/workflow/TaskEvidenceService.xsd’.&amp;nbsp; Cause:  oracle.mds.exception.MDSException: MDS-00054: The file to be loaded  oramds:/soa/shared/workflow/TaskEvidenceService.xsd does not exist..&amp;nbsp;  Action: Verify that file is valid and accessible&lt;/div&gt;&lt;br /&gt;This is a known issue as the process is unable to read the workflow related schemas' from MDS repository. This is due to the fact that there are additional slashes added to the oramds url at design time. The fix is to manually remove them from the XSD files created. Open the generated XSD files in the BPM project and ensure that additional slashes are removed from the schema imports.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;oramds:///soa/shared/workflow/TaskEvidenceService.xsd should read as oramds:/soa/shared/workflow/TaskEvidenceService.xsd [2 additional slashes must be removed manually].&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4685936216293813511?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4685936216293813511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2012/01/bpm-11g-complex-human-task-mdsexception.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4685936216293813511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4685936216293813511'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2012/01/bpm-11g-complex-human-task-mdsexception.html' title='BPM 11g complex human task MDSException'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6457164791688440464</id><published>2012-01-29T16:00:00.001+05:30</published><updated>2012-01-29T16:41:11.310+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BPM 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='JDeveloper 11g'/><title type='text'>JDeveloper "oramds" protocol support not available error</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Recently I stumbled upon an issue in JDeveloper where 'execData' element under the 'Data Associations' of user task activity would show an 'error'. This means that none of the process runtime variables available within this element could be used within the process.&lt;br /&gt;&lt;br /&gt;On closer observation, I noticed that there were warnings when JDeveloper is booted as shown below;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #990000;"&gt;"oramds" protocol support not available because no application was associated with IDE context.&lt;/div&gt;&lt;div style="color: #990000;"&gt;Unable to open an input stream for ORAMDS URL "/soa/shared/workflow/WorkflowTask.xsd".&lt;/div&gt;&lt;div style="color: #990000;"&gt;"oramds" protocol support not available because no application was associated with IDE context.&lt;/div&gt;&lt;div style="color: #990000;"&gt;Unable to open an input stream for ORAMDS URL "/soa/shared/workflow/WorkflowCommon.xsd".&lt;/div&gt;&lt;div style="color: #990000;"&gt;"oramds" protocol support not available because no application was associated with IDE context.&lt;/div&gt;&lt;div style="color: #990000;"&gt;Unable to open an input stream for ORAMDS URL "/soa/shared/workflow/TaskEvidenceService.xsd".&lt;/div&gt;&lt;div style="color: #990000;"&gt;"oramds" protocol support not available because no application was associated with IDE context.&lt;/div&gt;&lt;div style="color: #990000;"&gt;Unable to open an input stream for ORAMDS URL "/soa/shared/workflow/TaskEvidenceService.xsd".&lt;/div&gt;&lt;br /&gt;However, I was not using any MDS connections in my BPM process. Issue was that if there is any open project in JDeveloper which uses MDS and if it is not the first project to load while JDeveloper starts, other projects are unable to load the execData information.&lt;br /&gt;&lt;br /&gt;Solution is to either close the BPM project that uses MDS connection or ensure that it is the first project to load when JDeveloper loads. Now, there would be no warnings during JDeveloper boot and execData elements are accessible within user tasks.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6457164791688440464?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6457164791688440464/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2012/01/jdeveloper-oramds-protocol-support-not.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6457164791688440464'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6457164791688440464'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2012/01/jdeveloper-oramds-protocol-support-not.html' title='JDeveloper &quot;oramds&quot; protocol support not available error'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-870827887420042471</id><published>2011-12-21T16:55:00.000+05:30</published><updated>2011-12-21T16:55:53.019+05:30</updated><title type='text'>Note on changing BPM process outcome</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Have you ever wondered how to effect changes performed to the human task definitions on the corresponding ADF task iterator bindings? - particularly at a later stage after generating the ADF forms.&lt;br /&gt;&lt;br /&gt;I encountered similar requirement where the outcome of my human task activity was to be changed. One of the ways that I discovered is to right click on the corresponding 'Data Control' and choose 'Edit Definition'. This will prompt a message stating that the bindings would be refreshed as per the latest changes on the human task definition. On confirmation, you are now free to choose the 'modified' bindings in your ADF page.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-870827887420042471?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/870827887420042471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/12/note-on-changing-bpm-process-outcome.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/870827887420042471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/870827887420042471'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/12/note-on-changing-bpm-process-outcome.html' title='Note on changing BPM process outcome'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4248133665904529474</id><published>2011-12-09T17:45:00.000+05:30</published><updated>2011-12-09T17:45:29.212+05:30</updated><title type='text'>Oracle BAM ICommand by-pass credential prompts</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;I came across a requirement where the BAM data object must be updated with new rows recursively. For this, I created the DO XML files containing the valid layout format and data. However, while calling the icommand import script recursively from a shell script, I faced credential issues as the username/password cannot be provided dynamically everytime.&lt;br /&gt;&lt;br /&gt;In order to overcome this issue, Oracle BAM provides a feature to configure the default credentials in the config file;&lt;br /&gt;&lt;br /&gt;&amp;lt;Oracle_Middleware_Home&amp;gt;/Oracle_SOA1/bam/config/BAMICommandConfig.xml&lt;br /&gt;&lt;br /&gt;Open this file and add the following entries;&lt;br /&gt;&lt;br /&gt;&amp;lt;ICommand_Default_User_Name&amp;gt;weblogic&amp;lt;/ICommand_Default_User_Name&amp;gt;&lt;br /&gt;&amp;lt;ICommand_Default_Password&amp;gt;your password&amp;lt;/ICommand_Default_Password&amp;gt;&lt;br /&gt;&lt;br /&gt;This would ensure that every time the icommand script is invoked, the default credentials are picked up. Happy scripting :)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4248133665904529474?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4248133665904529474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/12/oracle-bam-icommand-by-pass-credential.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4248133665904529474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4248133665904529474'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/12/oracle-bam-icommand-by-pass-credential.html' title='Oracle BAM ICommand by-pass credential prompts'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-847834670075948476</id><published>2011-11-20T17:55:00.000+05:30</published><updated>2011-11-20T17:55:37.613+05:30</updated><title type='text'>ADF 11g JBO-25002: Definition "VO" of type View Definition is not found Error</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Generally this is an error encountered at run-time when you try to 'recreate' a VO (view object) in an ADF application. The reason is that, even though the old VO is deleted from the ADF model project, the traces are still left out under the APP Module configuration.&lt;br /&gt;&lt;br /&gt;This usually happens when the view objects are associated to the model project App module during VO creation.&lt;br /&gt;&lt;br /&gt;To resolve this error, open the App module XML file and remove the &lt;viewusage&gt; reference.&lt;/viewusage&gt;&lt;br /&gt;&lt;br /&gt;Redeploy the application and you are good to go.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-847834670075948476?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/847834670075948476/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/adf-11g-jbo-25002-definition-vo-of-type.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/847834670075948476'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/847834670075948476'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/adf-11g-jbo-25002-definition-vo-of-type.html' title='ADF 11g JBO-25002: Definition &quot;VO&quot; of type View Definition is not found Error'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4513026431662386342</id><published>2011-11-19T18:14:00.002+05:30</published><updated>2011-12-16T15:44:34.805+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Feature Pack'/><category scheme='http://www.blogger.com/atom/ns#' term='SOA 11.1.1.5'/><category scheme='http://www.blogger.com/atom/ns#' term='FMW 11g'/><title type='text'>FMW 11g PS4 (11.1.1.5) upgrade with Feature Pack on Windows 7 and Linux</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;With the Oracle Feature Pack for BPM being released just under 2 months ago which provides a variety of new BPM features and bug fixes, I have tried to provide a quick reference guide through this post.&lt;br /&gt;&lt;br /&gt;Some new features (not exhaustive) below;&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Enhanced BPM Process Composer&lt;/li&gt;&lt;li&gt;Report generation&lt;/li&gt;&lt;li&gt;Instance Patching (Make your in-flight instances follow a new BPM definition)&lt;/li&gt;&lt;li&gt;Manage attachments and documents by integrating with Oracle ECM&lt;/li&gt;&lt;li&gt;Ability to generate simulation reports based on run-time data&lt;/li&gt;&lt;li&gt;BPM workspace look &amp;amp; feel customization&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;For a exhaustive list of features refer to &lt;a href="http://www.oracle.com/technetwork/middleware/bpm/learnmore/whatsnewbpmfeaturepack-487968.html" style="color: blue;" target="_blank"&gt;What's New in BPM Suite 11.1.1.5 Feature Pack&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you are currently on PS3 (11.1.1.4), then download the following patches to upgrade to PS4 (11.1.1.5) first before applying the feature pack;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;Oracle SOA Suite&amp;nbsp; : 12395090&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;Oracle OSB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 12395134&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;Oracle ECM Suite : 12395130&lt;/b&gt;&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;Oracle WebCenter : 12395099&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;(Note: These patches can be downloaded from My Oracle Support for customers)&lt;br /&gt;&lt;br /&gt;Refer to Oracle® Fusion Middleware Patching Guide 11&lt;i&gt;g&lt;/i&gt; Release 1 (11.1.1.5.0) for installation instructions&lt;b&gt;. &lt;/b&gt;This should be straight forward.&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;Now, time to upgrade your SOA/BPM PS4 with Feature Pack. Download the following Oracle patch from My Oracle Support;&lt;br /&gt;&lt;br /&gt;12413651&lt;br /&gt;&lt;br /&gt;This bundles the following patches/bug fixes;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;12413651 - soa bpm 11.1.1.5.0 features pack&lt;br /&gt;12319055 - soa bpm 11.1.1.5.0 features pack - em support&lt;br /&gt;12614083 - policy binding getting removed from jrf policy cache on undeploy&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;Also contains the JDeveloper extensions for SOA and BPM PS4 (11.1.1.5) Feature Pack.&lt;br /&gt;&lt;br /&gt;Few important things to note while applying Feature Pack.&lt;br /&gt;&lt;br /&gt;1. Ensure that you religiously follow the readme document. For example, if the document requires you to create a folder to unzip 3 zip files into the PATCH_TOP folder, then don't try to unzip other patch files into this folder or keep other stuff. Consequence will result in failure of OPatch.&lt;br /&gt;&lt;br /&gt;2. At the end of the installation, Feature Pack requires you to execute the psa (patch set assistant) to update the schemas. New features on 'Advanced Replication' is being introduced in this release which will not work if you are running Oracle XE 11g database as 'Advanced Replication' is not supported in express editions. However, this will still work on Oracle XE 10 release but not recommended as you may violate the license restrictions. Warning: Check your license terms.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;Note: This is not a 'loss' of functionality/feature in Oracle XE 11g. Oracle has just ensured that the license restrictions are reinforced at the product level starting with 11 release.&lt;/div&gt;&lt;br /&gt;Oracle documentation recommends use of a Oracle database enterprise edition &lt;br /&gt;&lt;br /&gt;Instructions to apply feature pack on Windows: (For linux, the instructions are pretty straight forward and clear in the patch read me. Hence not reproducing it here.)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #e69138;"&gt;&lt;u&gt;&lt;b&gt;Pre-Requisites:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;1. Stop all servers&lt;br /&gt;&lt;b&gt;2. &lt;/b&gt;Important: Back up your database and middleware home&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #e69138;"&gt;&lt;u&gt;&lt;b&gt;Patching oracle_common:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;1. Set ORACLE_HOME environment variable to $MW_HOME/oracle_common&lt;br /&gt;2. Create a folder 'Patch_Top' in the file system&lt;br /&gt;3. Copy p12413651_ORACOMMON_111150_Generic.zip, p12319055_111150_Generic.zip and p12614083_111150_Generic.zip into the 'Patch_Top' folder and extract them using a recommended unzip utility (for example: 7-zip)&lt;br /&gt;4. Start the command prompt ('cmd') as an 'Administrator'. You can do this by right-click on cmd and select 'Run As Administrator'. This step if not performed would result in 'OPatch' failure.&lt;br /&gt;5. change to the 'Patch_Top' directory and execute the following opatch command;&lt;br /&gt;&lt;br /&gt;%ORACLE_HOME%\OPatch\opatch napply&lt;br /&gt;&lt;br /&gt;6. Follow the on-screen instructions and wait till the message 'OPatch Completed Successfully'.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #e69138;"&gt;&lt;u&gt;&lt;b&gt;Patching Oracle_SOA1:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;1. Set ORACLE_HOME environment variable to $MW_HOME/Oracle_SOA1&lt;br /&gt;2. Create a folder 'Patch_Top_SOA' in the file system&lt;br /&gt;3.  Copy p12413651_SOA_111150_Generic.zip into the  'Patch_Top_SOA' folder and extract using a recommended unzip utility  (for example: 7-zip)&lt;br /&gt;4. Start the command prompt ('cmd') as an  'Administrator'. You can do this by right-click on cmd and select 'Run  As Administrator'. This step if not performed would result in 'OPatch'  failure.&lt;br /&gt;5. change to the 'Patch_Top_SOA' directory and execute the following opatch command;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;%ORACLE_HOME%\OPatch\opatch napply&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;6. Follow the on-screen instructions and wait till the message 'OPatch Completed Successfully'.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #e69138;"&gt;&lt;u&gt;&lt;b&gt;Updating the schemas using PSA:&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;br /&gt;1. Set ORACLE_HOME environment variable to $MW_HOME/Oracle_SOA1&lt;br /&gt;2. Start the command prompt ('cmd') as an  'Administrator'. You can do this by right-click on cmd and select 'Run  As Administrator'.&lt;br /&gt;3. Execute psa.bat as follows&lt;br /&gt;&lt;br /&gt;psa.bat -dbType&amp;nbsp; &lt;db_type&gt; -dbConnectString &lt;db_connect_string&gt; -dbaUserName &lt;dba_user_name&gt; -schemaUserName &lt;schema_user_name&gt;&lt;/schema_user_name&gt;&lt;/dba_user_name&gt;&lt;/db_connect_string&gt;&lt;/db_type&gt;&lt;br /&gt;&lt;br /&gt;example: psa -dbType Oracle -dbConnectString //localhost:1521/ORCL -dbaUserName SYS -schemaUserName DEV_SOAINFRA&lt;br /&gt;&lt;br /&gt;Finally, perform the post installation tasks as recommended under the following link to complete the feature pack upgrade;&lt;br /&gt;&lt;br /&gt;www.oracle.com/technetwork/middleware/soasuite/documentation/bpm-postinstall-ps4fp-487857.pdf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here we come to the end of this long post. Your environment is now ready with the latest PS4 Feature Pack. Enjoy. Write to me if you face any hurdles.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4513026431662386342?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4513026431662386342/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/fmw-11g-ps4-11115-upgrade-with-feature.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4513026431662386342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4513026431662386342'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/fmw-11g-ps4-11115-upgrade-with-feature.html' title='FMW 11g PS4 (11.1.1.5) upgrade with Feature Pack on Windows 7 and Linux'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-1736516427697759583</id><published>2011-11-18T20:58:00.001+05:30</published><updated>2011-11-18T20:59:20.774+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle DB 11g'/><title type='text'>New Dimension to resolve ORA-01078 LRM-00109</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Not a database expert though, I came across this issue which kept me busy for some time. When trying to issue 'startup' command from sql prompt in a terminal/command prompt, I hit this issue;&lt;br /&gt;&lt;br /&gt;ORA-01078: failure in processing system parameters&lt;br /&gt;LRM-00109: could not open parameter file '/home/oracle/oracle/product/10.2.0/db_1/dbs/init_orcl.ora'&lt;br /&gt;&lt;br /&gt;A quick reference to various blogs, forums and Oracle Docs on the web advised to check few things with possible solutions like,&lt;br /&gt;&lt;br /&gt;1.) Check whether the parameter file is present in the location mentioned above. (Solution was to generate the pfile and place it under the dbs folder)&lt;br /&gt;&lt;br /&gt;2.) If the pfile is available, then check the permissions on the pfile specified&lt;br /&gt;&lt;br /&gt;3.) set the ORACLE_HOME and ORACLE_SID environment variables&lt;br /&gt;&lt;br /&gt;Although there is no denial of the aforesaid issues/solutions, I observed that the ORACLE_SID is case sensitive (which is not the case when you connect from sql developer/ other tools). When I issued the ORACLE_SID value as orcl (lower case), I got the error under consideration. However, when I changed the environment variable to hold the value as ORCL (upper case) then the issue was resolved.&lt;br /&gt;&lt;br /&gt;You can issue lsnrctl -status command to find out the SID of your database instance and set it in ORACLE_SID variable (case sensitive !!!)&lt;br /&gt;&lt;br /&gt;Sounds silly. Yeah. One of the small things which keep us wondering and perplexed.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-1736516427697759583?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/1736516427697759583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/resolving-ora-01078-lrm-00109-in-new.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/1736516427697759583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/1736516427697759583'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/11/resolving-ora-01078-lrm-00109-in-new.html' title='New Dimension to resolve ORA-01078 LRM-00109'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-136255377354039034</id><published>2011-09-16T16:19:00.002+05:30</published><updated>2011-09-16T16:54:33.307+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOA 11.1.1.4'/><category scheme='http://www.blogger.com/atom/ns#' term='JDeveloper 11g'/><title type='text'>JDeveloper 11g: Error Finding SOA configured servers to deploy archive</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While deploying a SOA composite in the SOA server, sometime the following error is encountered.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;"Error finding SOA configured servers to deploy archive. Deployment cannot continue. java.lang.NullPointerException"&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;At first instinct, re-visiting the 'App Server Connection' and running the server connection tests in JDeveloper did not reveal any issues and all the test results were successful.&lt;br /&gt;&lt;br /&gt;On closer observation, we can notice that proxy server settings are turned on in JDeveloper which is causing the issue during the actual SOA deployment. Disable the proxy settings Tools -&amp;gt; Preferences -&amp;gt; Web Browser and Proxy -&amp;gt; Uncheck 'Use HTTP Proxy Server' option.&lt;br /&gt;&lt;br /&gt;Restart JDeveloper and deploy the SOA composite. Voila, it got deployed this time perfectly.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-136255377354039034?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/136255377354039034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/09/jdeveloper-11g-error-finding-soa.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/136255377354039034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/136255377354039034'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/09/jdeveloper-11g-error-finding-soa.html' title='JDeveloper 11g: Error Finding SOA configured servers to deploy archive'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-9219746490066201982</id><published>2011-09-06T16:03:00.001+05:30</published><updated>2011-09-06T16:04:27.415+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADF 11g'/><category scheme='http://www.blogger.com/atom/ns#' term='WebCenter 11g'/><title type='text'>Oracle WebCenter 11g Frame Busting</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While trying to add a webpage portlet in Oracle WebCenter 11g either as a portlet or as a simple webpage hosted in the server, most of the times we encounter the following error;&lt;br /&gt;&lt;br /&gt;"WARNING: Unable to load content in a frame. Frame content will load at the top level."&lt;br /&gt;&lt;br /&gt;This is an obvious issue of iframe busting where the ADF layout of the webpage is unable to fit itself within the portlet container and hence is complaining. To overcome this issue, we need to add few lines of code to the web.xml file of the ADF project and redeploy the webpage.&lt;br /&gt;&lt;br /&gt;Under the &amp;lt;web-app&amp;gt; root element of the web.xml, add the following &amp;lt;context-param&amp;gt; ;&lt;br /&gt;&lt;br /&gt;&amp;lt;context-param&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-name&amp;gt;oracle.adf.view.rich.security.FRAME_BUSTING&amp;lt;/param-name&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;param-value&amp;gt;never&amp;lt;/param-value&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/context-param&amp;gt;&lt;br /&gt;&lt;br /&gt;And there we go, WebCenter portal doesn't complain anymore on loading the webpage. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-9219746490066201982?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/9219746490066201982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/09/oracle-webcenter-11g-frame-busting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9219746490066201982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9219746490066201982'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/09/oracle-webcenter-11g-frame-busting.html' title='Oracle WebCenter 11g Frame Busting'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-3187675771128764544</id><published>2011-08-24T17:26:00.000+05:30</published><updated>2011-08-24T17:26:47.780+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Oracle DB 11g'/><title type='text'>TNS Listener supports no services</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While using Oracle 11g database, we encountered an issue where the database listener was unable to connect to any DB service although the associated database server was started, up and running. No matter how many times we issued lsnrctl start commands, the listener was unable to tie to the running database service. The listener reported the following on startup;&lt;br /&gt;&lt;br /&gt;LSNRCTL for Linux: Version 11.2.0.1.0 - Production&lt;br /&gt;&lt;br /&gt;Copyright (c) 1991, 2009, Oracle.&amp;nbsp; All rights reserved.&lt;br /&gt;&lt;br /&gt;Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))&lt;br /&gt;STATUS of the LISTENER&lt;br /&gt;------------------------&lt;br /&gt;Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTENER&lt;br /&gt;Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TNSLSNR for Linux: Version 11.2.0.1.0 - Production&lt;br /&gt;Start Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11-AUG-2011 07:16:06&lt;br /&gt;Uptime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12 days 19 hr. 24 min. 0 sec&lt;br /&gt;Trace Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&lt;br /&gt;Security&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON: Local OS Authentication&lt;br /&gt;SNMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFF&lt;br /&gt;Listener Parameter File&amp;nbsp;&amp;nbsp; /oracle/dbhome/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora&lt;br /&gt;Listener Log File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /oracle/dbhome/app/oracle/diag/tnslsnr/soabpm-vm/listener/alert/log.xml&lt;br /&gt;Listening Endpoints Summary...&lt;br /&gt;&amp;nbsp; (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))&lt;br /&gt;&lt;span style="color: #cc0000;"&gt;The listener supports no services&lt;/span&gt;&lt;br /&gt;The command completed successfully&lt;br /&gt;&lt;br /&gt;To overcome this issue, leave the listener started and reboot the 11g database. After 11g DB restart, issue the lsnrctl status command and see that the services are now registered successfully with the listener.&lt;br /&gt;&lt;br /&gt;LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 24-AUG-2011 02:40:07&lt;br /&gt;&lt;br /&gt;Copyright (c) 1991, 2009, Oracle.&amp;nbsp; All rights reserved.&lt;br /&gt;&lt;br /&gt;Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))&lt;br /&gt;STATUS of the LISTENER&lt;br /&gt;------------------------&lt;br /&gt;Alias&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LISTENER&lt;br /&gt;Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TNSLSNR for Linux: Version 11.2.0.1.0 - Production&lt;br /&gt;Start Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11-AUG-2011 07:36:00&lt;br /&gt;Uptime&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 days 0 hr. 24 min. 0 sec&lt;br /&gt;Trace Level&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; off&lt;br /&gt;Security&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON: Local OS Authentication&lt;br /&gt;SNMP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OFF&lt;br /&gt;Listener Parameter File&amp;nbsp;&amp;nbsp; /oracle/dbhome/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora&lt;br /&gt;Listener Log File&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /oracle/dbhome/app/oracle/diag/tnslsnr/soabpm-vm/listener/alert/log.xml&lt;br /&gt;Listening Endpoints Summary...&lt;br /&gt;&amp;nbsp; (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))&lt;br /&gt;Services Summary...&lt;br /&gt;Service "orcl.local" has 1 instance(s).&lt;br /&gt;&amp;nbsp; Instance "orcl", status READY, has 1 handler(s) for this service...&lt;br /&gt;Service "orclXDB.local" has 1 instance(s).&lt;br /&gt;&amp;nbsp; Instance "orcl", status READY, has 1 handler(s) for this service...&lt;br /&gt;The command completed successfully&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-3187675771128764544?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/3187675771128764544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/tns-listener-supports-no-services.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3187675771128764544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3187675771128764544'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/tns-listener-supports-no-services.html' title='TNS Listener supports no services'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-8547182789927624596</id><published>2011-08-24T17:09:00.001+05:30</published><updated>2011-08-24T17:09:31.800+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Weblogic 10.3.4'/><title type='text'>Weblogic 11g Domain Creation Failed</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While creating domain in Weblogic server for FMW 11g, the following may be encountered if the config.cmd (or) config.sh file is executed from $MiddlewareHome/wlserver_10.3/common/bin folder.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Preparing...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Extracting Domain Contents...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Creating Domain Security Information...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Domain Creation Failed!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Domain Location: /oracle/fmwhome/user_projects/domains/base_domain&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Reason: null&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Exception:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;Traceback (innermost last):&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;&amp;nbsp; File "&lt;iostream&gt;", line 17, in ?&lt;/iostream&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: #990000;"&gt;TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To resolve this error, use the config.cmd (or) config.sh executable from $MiddlewareHome/Oracle_ECM1/common/bin folder. This error occurs because, the standard execution wizard is unable to execute the jython scripts that will get executed during domain creation.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-8547182789927624596?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/8547182789927624596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/weblogic-11g-domain-creation-failed.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8547182789927624596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8547182789927624596'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/weblogic-11g-domain-creation-failed.html' title='Weblogic 11g Domain Creation Failed'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-488879606860222014</id><published>2011-08-19T16:20:00.003+05:30</published><updated>2011-08-19T17:46:03.099+05:30</updated><title type='text'>Portletize ADF Faces jspx page</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In this post, let us see how to portletize an ADF 11g application. This post will demonstrate how to expose a ADF faces page as a JSR 168 standard portlet which can run within Oracle WebCenter portal.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Pre-Requisites:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;Download JDev WebCenter Extension from the following link.&lt;br /&gt;&lt;div style="color: #741b47;"&gt;&lt;a href="http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml"&gt;http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/156082.xml&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Go to Help -&amp;gt; Check for Updates -&amp;gt; Choose 'Install From Local File' option and select the downloaded webcenter framework bundle zip file for install&lt;br /&gt;&lt;br /&gt;From your ADF application, expand the ViewController project, right click on the jspx ADF faces page which you want to portletize and choose 'Create Portlet Entry...'. In the resulting popup window, enter portlet name, display name, portlet title, short title, description and click OK. This action will generate a portlet deployment descriptor automatically for the page. You can portletize 1 or more pages of your ADF application under a single portlet deployment descriptor.&lt;br /&gt;&lt;br /&gt;While deploying the ADF application, JDeveloper will prompt for confirmation whether the JSR 168 portlet producer has to be deployed. Press OK to confirm. We now have to identify the WSRP WSDL URL which will be used to register the portlet in WebCenter. Pick up the ADF application URL from the deployment log and enter the following in a browser window;&lt;br /&gt;&lt;br /&gt;&amp;lt;ADF_Application_URL&amp;gt;/info&lt;br /&gt;&lt;br /&gt;Click on the WSRP v1 link and copy the WSDL URL from the resulting screen.&lt;br /&gt;&lt;br /&gt;Let us now register the portlet producer with WebCenter spaces. Follow the steps below to achieve this;&lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" class="x1a" id="emTemplate:ch_targetinfo" summary=""&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td valign="bottom"&gt;&lt;br /&gt;1. Login to EM console as weblogic&lt;br /&gt;2. Expand WebCenter -&amp;gt; WebCenter Spaces -&amp;gt; webcenter(11.1.1.4.0) (WC_Spaces)&lt;br /&gt;3. Choose 'Register Producer' from the WebCenter dropdown option&lt;br /&gt;4. Under the 'Add New Portlet Producer' screen, choose producer type as 'WSRP Producer', enter a 'connection name' and provide the WSDL URL which we copied above earlier&lt;br /&gt;5. Test the portlet producer and click OK&lt;br /&gt;&lt;br /&gt;This will ensure that the registered portlet is now available as a portlet in WebCenter portal which can be used as required.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-488879606860222014?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/488879606860222014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/portletize-adf-faces-jspx-page.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/488879606860222014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/488879606860222014'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/portletize-adf-faces-jspx-page.html' title='Portletize ADF Faces jspx page'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6567845144517184467</id><published>2011-08-18T15:52:00.004+05:30</published><updated>2012-02-12T14:53:22.290+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADF 11g'/><title type='text'>ADF 11g "No Credential Mapper" Error on WebLogic</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While migrating the ADF 11g application with model project on to various environments, the following error is encountered;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;"java.security.PrivilegedActionException:  weblogic.common.ResourceException:  java.security.PrivilegedActionException:  weblogic.common.ResourceException: No credential mapper entry found for password indirection user......"&lt;/div&gt;&lt;br /&gt;This error occurs because, JDeveloper generates an application-level data source with password indirection. JDeveloper creates a weblogic-jdbc.xml file for each database connection stored in the application resources. In order to get rid of the above error, we should ensure that the jdbc settings are not synchronized during ear generation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Go to 'Application Properties' -&amp;gt; Deployment -&amp;gt; Uncheck the 'Auto Generate and Synchronize weblogic-jdbc.xml Descriptors During Deployment' option.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-ruLMZkR0WOs/TzeE5JHcWPI/AAAAAAAAG3Q/bxfZG6D4Y20/s1600/weblogic-jdbc.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="456" src="http://3.bp.blogspot.com/-ruLMZkR0WOs/TzeE5JHcWPI/AAAAAAAAG3Q/bxfZG6D4Y20/s640/weblogic-jdbc.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;After the above setting, generate the ear file for the ADF application which can now be deployed on different environments.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6567845144517184467?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6567845144517184467/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-11g-no-credential-mapper-error.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6567845144517184467'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6567845144517184467'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-11g-no-credential-mapper-error.html' title='ADF 11g &quot;No Credential Mapper&quot; Error on WebLogic'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-ruLMZkR0WOs/TzeE5JHcWPI/AAAAAAAAG3Q/bxfZG6D4Y20/s72-c/weblogic-jdbc.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7796844953603960857</id><published>2011-08-18T15:41:00.000+05:30</published><updated>2011-08-18T15:41:02.692+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ADF 11g'/><title type='text'>ADF 11g model project generic datasource</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While creating a ADF model project in an ADF application, we define the connect string (hard coded) to connect to the database. However, while migrating the ADF application on to different environments, the connect string values might change and has to be referred dynamically from the data source created in the application server. To ensure that the ADF application points to the data source, we can define the configuration settings in the model project 'AppModule'.&lt;br /&gt;&lt;br /&gt;Step 1: Right Click on the 'AppModule' and go to 'Configurations...'&lt;br /&gt;&lt;br /&gt;Step 2: Under the 'Manage Configurations' dialog, edit the AppModuleLocal and AppModuleShared business components&lt;br /&gt;&lt;br /&gt;Step 3: Under the 'Connection Type' panel, choose 'JDBC DataSource' and enter the data source name that is created on the application server&lt;br /&gt;&lt;br /&gt;Step 4: Save and deploy the ADF application.&lt;br /&gt;&lt;br /&gt;Now, we have ensured that the ADF application model refers to the application server data source. This will keep the ADF application generic as we have externalized the database connection details.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7796844953603960857?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7796844953603960857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-11g-model-project-generic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7796844953603960857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7796844953603960857'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-11g-model-project-generic.html' title='ADF 11g model project generic datasource'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-5180096276617770073</id><published>2011-08-11T20:59:00.000+05:30</published><updated>2011-08-11T20:59:27.744+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DBSequence'/><category scheme='http://www.blogger.com/atom/ns#' term='ADF 11g'/><title type='text'>ADF generate primary key using DBSequence and display to user</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;In this post, I am going to demonstrate a way of generating and displaying a Oracle DB sequence and show that to user in a Oracle ADF page.&lt;br /&gt;&lt;br /&gt;Step 1: Create a DB sequence in the database. For example let us consider order_sequence as the DB sequence&lt;br /&gt;&lt;br /&gt;Step 2: In the ADF application, under the model project create an entity object for the table which has the primary key (for example, order_id) for which the DB sequence created above will be used for data insertion&lt;br /&gt;&lt;br /&gt;Step 3: Open the Entity Object, go to Java tab and click on the 'Edit' button to auto-generate the entity object java class&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. Select 'Generate Entity Object Class' check box&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. Under the 'Include' grouping select 'Create Method' in additions to the default selected 'Accessors' option&lt;br /&gt;&lt;br /&gt;Step 4: Now, click on the hyperlink which shows the auto-generated entity object java class and add the following java code under the create() method that is generated&lt;br /&gt;&lt;br /&gt;super.create(attributeList);&lt;br /&gt;SequenceImpl s = new SequenceImpl("ORDER_SEQUENCE", getDBTransaction());&lt;br /&gt;super.create(attributeList);&lt;br /&gt;Object obj = s.getSequenceNumber();&lt;br /&gt;this.setOrderId((Number)obj);&lt;br /&gt;&lt;br /&gt;Now, drag and drop the view object from the ADF data controls as a form with input text. Everytime, the form is invoked, a new sequence number will be generated from database and will be displayed in the UI. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-5180096276617770073?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/5180096276617770073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-generate-primary-key-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/5180096276617770073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/5180096276617770073'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/08/adf-generate-primary-key-using.html' title='ADF generate primary key using DBSequence and display to user'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-2059980142430657648</id><published>2011-04-29T17:11:00.000+05:30</published><updated>2011-04-29T17:11:41.496+05:30</updated><title type='text'>Migrate Oracle BAM Reports and DO across environments 11.1.1.4</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Today, I am blogging on the migration of Oracle BAM reports and Data Objects across environments.&lt;br /&gt;&lt;br /&gt;First we should export the built BAM reports and data objects as XML objects from the development environment. ICommand utility bundled with Oracle SOA suite comes in handy for this purpose.&lt;br /&gt;&lt;br /&gt;1. Ensure that the server on which Oracle BAM reports are available is up &amp;amp; running as the ICommand utility extracts the reports/data objects from the MDS store&lt;br /&gt;&lt;br /&gt;2. If you have developed the BAM reports under the 'Shared Reports', issue the following icommand in the command prompt/terminal window;&lt;br /&gt;&lt;br /&gt;change directory to &lt;middleware_home&gt;\Oracle_SOA1\bam\bin &lt;/middleware_home&gt;&lt;br /&gt;&lt;br /&gt;icommand -CMD EXPORT -NAME "/public/Report/Samples/&amp;lt;&lt;report name=""&gt;&amp;gt;" -TYPE report -file Report.xml &lt;/report&gt;&lt;br /&gt;&lt;br /&gt;This will generate Report1.xml under the bin directory.&lt;br /&gt;&lt;br /&gt;To export a data object issue the following icommand;&lt;br /&gt;&lt;br /&gt;icommand -CMD EXPORT -NAME "/Samples/Monitor Express/&amp;lt;&lt;do name=""&gt;&amp;gt;" -file DO.xml&lt;/do&gt;&lt;br /&gt;&lt;br /&gt;This will generate DO.xml under the bin directory.&lt;br /&gt;&lt;br /&gt;Transfer the generated xml files to the destination server (As per the following example, the xmls are migrated into the bin directory) &lt;br /&gt;&lt;br /&gt;3. Now, login to the server where the exported BAM reports and DOs should be installed &lt;br /&gt;&lt;br /&gt;4. Ensure that the server is up &amp;amp; running. Change directory to &lt;middleware_home&gt;\Oracle_SOA1\bam\bin&lt;/middleware_home&gt;&lt;br /&gt;&lt;br /&gt;5. Issue the following icommand to import the DO &amp;amp; report XMLs&lt;br /&gt;&lt;br /&gt;&lt;pre class="oac_no_warn" style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;icommand -CMD IMPORT -file DO.xml&lt;/span&gt;&lt;/pre&gt;&lt;pre class="oac_no_warn" style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;icommand -CMD IMPORT -file Report1.xml&lt;/span&gt;&lt;/pre&gt;&lt;pre class="oac_no_warn" style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="oac_no_warn"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Wait for the success message and verify the successful import of&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class="oac_no_warn"&gt;&lt;span style="font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;reports &amp;amp; DOs in the destination server&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-2059980142430657648?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/2059980142430657648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/04/migrate-oracle-bam-reports-and-do.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2059980142430657648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2059980142430657648'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/04/migrate-oracle-bam-reports-and-do.html' title='Migrate Oracle BAM Reports and DO across environments 11.1.1.4'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-8388345544776619987</id><published>2011-04-08T16:24:00.000+05:30</published><updated>2011-04-08T16:24:16.511+05:30</updated><title type='text'>BEA-280101 Persistent File Store using Bufferd I/O</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While installing the Oracle SOA suite 11g on a 64-bit environment (using a 64-bit JVM), 64-bit native server libraries are created automatically in the Middleware home. However, these may not get referenced during the SOA domain startup. As a result of this, you may encounter the following Weblogic 'Warning' message in the server logs. Although being a warning message that our intuition immediately asks to ignore, this particular warning makes us inquisitive as it threatens of a 'Significantly degraded performance'.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&amp;lt;BEA-280101&amp;gt; &amp;lt;The persistent file store "_WLS_xxxdomain" is  forced to use buffered I/O and so may have significantly degraded  performance. Either the OS/hardware environment does not support the  chosen write policy or the native wlfileio library is missing. See store  open log messages for the requested and final write policies. See the  documentation on store synchronous write policy configuration for  advice.&amp;gt;&lt;/div&gt;&lt;br /&gt;To overcome this Weblogic warning, ensure that the generated 64-bit native libraries are referenced during server start-up.&lt;br /&gt;&lt;br /&gt;Go to &amp;lt;Middleware_Home&amp;gt;\user_projects\domains\&amp;lt;SOA Domain&amp;gt;\bin\SetSOADomainEnv.cmd&amp;nbsp; (or SetSOADomainEnv.sh if Linux) and add the -Djava.library.path to JAVA_OPTIONS as shown below;&lt;br /&gt;&lt;br /&gt;set JAVA_OPTIONS=%JAVA_OPTIONS% -Djava.library.path=&amp;lt;Middleware_Home&amp;gt;\wlserver_10.3\server\native\win\x64 [Depending on whether your OS is Windows or Linux the path might slightly change]&lt;br /&gt;&lt;br /&gt;After performing the above configuration, restart the server and Weblogic warning should now disappear.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-8388345544776619987?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/8388345544776619987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/04/bea-280101-persistent-file-store-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8388345544776619987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8388345544776619987'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/04/bea-280101-persistent-file-store-using.html' title='BEA-280101 Persistent File Store using Bufferd I/O'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4143251485036911128</id><published>2011-03-20T16:30:00.000+05:30</published><updated>2011-03-20T16:30:27.705+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='BPM 11g'/><title type='text'>Oracle BPM 11g ORABPEL-02118 Variant not found Exception</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;While modelling the BPM workflow, there might be few service tasks to call external services. These services would essentially be referenced in the SCA composite.xml (External References Swim Lane). These would then be wired to the BPMN workflow when the service task is added on the BPM process and the service is referred. Until this moment everything is fine as expected. &lt;br /&gt;&lt;br /&gt;However, when the external service definitions change, we will have to rebuild/refresh the adapters in the SCA so that the service definition changes are reflected properly. Now, everything seems good but at run-time, the process throws ORABPEL-02118 Variant not found exception (Detailed exception looks as below)&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&amp;lt;Error&amp;gt; &amp;lt;oracle.soa.bpel.engine.dispatch&amp;gt; &amp;lt;BEA-000000&amp;gt; &amp;lt;failed to handle message&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;ORABPEL-02118 Variant not found.&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;The variable "Services.Externals.UpdateDBRecord.reference" is not declared in the current scope. All variables must be declared in the scope before being accessed.&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;This was an internal error. The flow was not generated correctly by the BPMN compiler.&lt;/div&gt;&lt;div style="color: #cc0000;"&gt;Contact Oracle Support Services. Provide the error message, the composite source, and the exception stack trace in the log files (with the logging level set to debug mode).&lt;/div&gt;&lt;br /&gt;On closer look at the Composite.xml we can notice that the wiring between the service adapters and BPMN workflow component missing. This is an intermittent issue. Solution would be to manually add the 'wiring' information into the Composite.xml and re-deploy. [Where UpdateDBRecord is the external service referenced]&lt;br /&gt;&lt;br /&gt;&amp;lt;wire&amp;gt;                                                                            &amp;lt;source.uri&amp;gt;BPMProcess/Services.Externals.UpdateDBRecord.reference&amp;lt;/source.uri&amp;gt;&lt;br /&gt;&amp;lt;target.uri&amp;gt;UpdateDBRecord&amp;lt;/target.uri&amp;gt;&lt;br /&gt;&amp;lt;/wire&amp;gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4143251485036911128?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4143251485036911128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/oracle-bpm-11g-orabpel-02118-variant.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4143251485036911128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4143251485036911128'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/oracle-bpm-11g-orabpel-02118-variant.html' title='Oracle BPM 11g ORABPEL-02118 Variant not found Exception'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-3272633623992457404</id><published>2011-03-16T16:52:00.004+05:30</published><updated>2011-03-16T17:03:48.243+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORA-01005'/><category scheme='http://www.blogger.com/atom/ns#' term='JBO-26061'/><category scheme='http://www.blogger.com/atom/ns#' term='ADF 11g'/><title type='text'>ADF Runtime DB Connection Error</title><content type='html'>While creating an ADF Fusion Web Application with a database datacontrol, the following error is encountered while running the application.&lt;br /&gt;&lt;br /&gt;oracle.jbo.DMLException: JBO-26061: Error while opening JDBC connection.&lt;br /&gt;at oracle.jbo.server.ConnectionPool.createConnection(ConnectionPool.java:253)&lt;br /&gt;at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:168)&lt;br /&gt;at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:546)&lt;br /&gt;at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:327)&lt;br /&gt;at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:104)&lt;br /&gt;Truncated. see log file for complete stacktrace&lt;br /&gt;java.sql.SQLException: ORA-01005: null password given; logon denied&lt;br /&gt;&lt;br /&gt;This is because, the ADF model project fails to register the password with the app server which cause this SQL exception. &lt;br /&gt;&lt;br /&gt;In order to overcome this error, edit the EXTRA_JAVA_PROPERTIES and append &lt;span style="font-weight:bold;"&gt;-Djps.app.credential.overwrite.allowed=true&lt;/span&gt; property under the setSOADomainEnv.cmd (In Windows) or setSOADomainEnv.sh (In Linux) file as follows. This file will be located under &amp;lt;&amp;lt;Middleware_Home&amp;gt;&amp;gt;\user_projects\domains\&amp;lt;Your_Domain_Name&amp;gt;\bin folder.&lt;br /&gt;&lt;br /&gt;set EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% &lt;span style="font-weight:bold;"&gt;-Djps.app.credential.overwrite.allowed=true&lt;/span&gt; -da:org.apache.xmlbeans...&lt;br /&gt;&lt;br /&gt;Restart the Oracle Weblogic server.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-3272633623992457404?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/3272633623992457404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/adf-runtime-db-connection-error.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3272633623992457404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3272633623992457404'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/adf-runtime-db-connection-error.html' title='ADF Runtime DB Connection Error'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-2708505225006733204</id><published>2011-03-11T23:34:00.008+05:30</published><updated>2011-08-24T22:50:09.339+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Performance Pack'/><category scheme='http://www.blogger.com/atom/ns#' term='wlntio.dll'/><category scheme='http://www.blogger.com/atom/ns#' term='BEA-000438'/><category scheme='http://www.blogger.com/atom/ns#' term='SOA 11.1.1.4'/><category scheme='http://www.blogger.com/atom/ns#' term='Weblogic 10.3.4'/><title type='text'>Weblogic 10.3.4 Installation &amp; Configuration on 64-bit windows</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;Today, I am going to explain the installation steps &amp;amp; configuration of Oracle Weblogic 10.3.4 for SOA suite 11g (11.1.1.4) in a 64-bit windows environment. Because, of late, I have been seeing a lots of queries in forums with same query/issue (BEA-000438: loading performance pack issue) with no relevant answers. Probably this post would help in resolving all the issues;&lt;br /&gt;&lt;br /&gt;1. First things first; Ensure that you download the correct version of the Weblogic installer (wls1034_generic.jar)&lt;br /&gt;2. Download the 64-bit JDK/JRE of Oracle Java (Latest version on date is jdk-6u24-windows-x64.exe)&lt;br /&gt;3. The generic 64-bit Weblogic installer doesn't come bundled with a 64-bit JVM. Hence install the Java downloaded in step 2 on your windows environment. Care must be taken to ensure that the default installation directory (&lt;span style="color: red;"&gt;C:\Program Files&lt;/span&gt;) is changed - Catch here is that Weblogic doesn't recognize WELL the Java installation directory with a space in folder name. So be sure to install the Java in a folder path where none of the folder names have a space (Eg. &lt;span style="color: #009900;"&gt;C:\Java&lt;/span&gt;)&lt;br /&gt;4. Now from the command prompt, execute the following command to install the Weblogic 10.3.4 64-bit;&lt;br /&gt;java -D64 -jar wls1034_generic.jar&lt;br /&gt;[-D64 ensures that the weblogic installation is going to be on the 64-bit JDK.]&lt;br /&gt;5. Follow steps to install the Weblogic 10.3.4 server - Installation will prompt for the JDK selection, choose C:\Java (You will find this information in documentation)&lt;br /&gt;6. Now, when you start the server, you may find the following error;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;Error&amp;gt; &amp;lt;Socket&amp;gt; &amp;lt;BEA-000438&amp;gt; &amp;lt;Unable to load perf&lt;br /&gt;ormance pack. Using Java I/O instead. Please ensure that wlntio.dll is in: 'C:\O&lt;br /&gt;racle\fmwhome\wlserver_10.3\server\native\win\32;C:\Oracle\fmwhome\wlserver_10.3&lt;br /&gt;\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\Oracle\fmwhome\wlserver_10.3\serve&lt;br /&gt;r\native\win\32\;C:\Oracle\fmwhome\wlserver_10.3\server\bin;C:\Program~\Java\jdk&lt;br /&gt;1.6.0_24\jre\bin;C:\Program~\Java\jdk1.6.0_24\bin;C:\Oracle\fmwhome\wlserver_10.&lt;br /&gt;3\server\native\win\32\oci920_8;C:\oraclexe\app\oracle\product\10.2.0\server\bin&lt;br /&gt;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem'&lt;br /&gt;&lt;br /&gt;7. Go to the following location &amp;lt;&amp;lt;Weblogic_Home_Directory&amp;gt;&amp;gt;\wlserver_10.3\server\native\win\x64. Copy the wlntio.dll file and paste it under C:\Java\bin directory (if you have choosen to install Java in C:\Java).&lt;br /&gt;8. Now, start the server and the error must be gone - Performance pack is now loaded in Weblogic 10.3.4&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-2708505225006733204?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/2708505225006733204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/weblogic-1034-installation.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2708505225006733204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2708505225006733204'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/weblogic-1034-installation.html' title='Weblogic 10.3.4 Installation &amp; Configuration on 64-bit windows'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-8873870237632291221</id><published>2011-03-04T12:02:00.002+05:30</published><updated>2011-03-04T12:32:31.718+05:30</updated><title type='text'>Oracle SOA Suite 11g Flex Fields</title><content type='html'>Hello All,&lt;br /&gt;Its been a long time since I wrote a blog entry and the rather elaborate pause was due to lots of travelling around. Now I am back and hopefully will blog on latest Oracle FMW techniques that I find interesting or worth sharing.&lt;br /&gt;&lt;br /&gt;In this blog, I am going to demonstrate the concept of Flex Fields in Oracle SOA suite 11g. The latest release is 11.1.1.4. Flex Fields are one of the useful features available for a manual/human task activity where the worklistapp user will be able to search for a task available under his 'Tasks' based on a value from the payload. This sounds really interesting because, if the user has huge list of tasks and wants to attend to few tasks on priority (probably based on the PO amount) - Flex Fields comes handy to help.&lt;br /&gt;&lt;br /&gt;While defining a human task activity under the SCA composite, add the parameters under the data tab, which has to be made available as flex fields for the user. Define the parameters as simple types (Complex type parameters are not supported as flex fields). We will assign values to these parameters from the payload request in the BPEL process. Under the assignments tab, create a role and assign the task to be handled by the user (eg., weblogic, jcooper) and complete the definition.&lt;br /&gt;&lt;br /&gt;Under the BPEL process drag drop the human task activity into the process flow from the SOA constructs panel and map the human task to the activity we defined earlier in the composite. This human task activity will also ask for parameter value definition that we defined as flex field params - Map the variables from payload appropriately to these flex fields.&lt;br /&gt;&lt;br /&gt;Now, lets perform the critical piece of assigning the payload variables (that are required as flex fields) to the systemManagedAttributes. This will help in defining the labels for the flex fields in the BPM worklistapp which can be shown to the user for performing a search. Expand the human task activity and in the first assign node, create a copy operation and assign the payload variables to the /task:task/task:systemManagedAttributes/task:textAttribute1. [Important thing to note is Oracle SOA provides set of system attributes in various datatypes such as  text, number, date, url etc.. We should be mapping our payload variables to appropriate datatype attributes]. Save and deploy the composite.&lt;br /&gt;&lt;br /&gt;We now have to perform a final mapping in the BPM worklistapp in order to define the labels for the flex fields. Login as weblogic user into the BPM worklistapp and click on administration link. Select 'Public Flex Fields' in the left panel and search for the human task for which the flex fields must be defined (Edit Mappings for task link) . This will bring up the map attributes page where we can create labels for the flex fields. These have to be mapped to the systemManagedAttributes [Remember the assign copy operation where we assigned the payload variables to the systemManagedAttributes]. Once done for all flex fields, save and close.&lt;br /&gt;&lt;br /&gt;Try creating an instance of the process and when the tasks come into the BPM worklistapp for the user, the user will be able to search the tasks based on the flex field values. Some more sophistication can be achieved by way of advanced search where the labels will appear as search criteria and different logical conditions can be used to perform the search. (For eg. PO Value - greater than - 50000 will show all tasks whose PO value is &gt; 50000).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-8873870237632291221?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/8873870237632291221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/oracle-soa-suite-11g-flex-fields.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8873870237632291221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8873870237632291221'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2011/03/oracle-soa-suite-11g-flex-fields.html' title='Oracle SOA Suite 11g Flex Fields'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-8953620354739571853</id><published>2009-10-04T14:16:00.006+05:30</published><updated>2009-10-04T15:29:40.076+05:30</updated><title type='text'>Oracle BPEL Correlation Exemplified</title><content type='html'>Correlation is one of the important &amp;amp; tricky technique available within Oracle BPEL PM. In this blog, I have taken a simple route to explain the correlation technique.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;Synchronous &amp;amp; Asynchronous web services:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Whenever a synchronous web service is invoked from Oracle BPEL via a partnerlink, only one port is established for communication with the exposed web service which is used by both request &amp;amp; response messages.&lt;br /&gt;However, when an asynchronous web service is invoked,  two ports are opened for communcation: one for request &amp;amp; one for response messages.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;strong&gt;How does Oracle BPEL identify asynchronous responses?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As response from an asynchronous web service is not guaranteed to be received within a specified time frame, and many instances of the same service might be invoked before even a response can be obtained, how does Oracle BPEL identify and relate the responses to the appropriate requests and proceed for completion of further activities that may be scheduled? The answer is "WS-Addressing".&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;What is WS-Addressing?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;WS-Addressing is a transport-neutral mechanism by which web services communicate addressing information. SOAP envelopes &amp;amp; headers used within web services for transporting data throught transport layers like HTTP does not possess intelligence to specify unique addressing information. Hence, WS-Addressing evolved which contained endpoint references (EPR) and message information headers for identification. This information is processed independently of the transport mechanism or application.&lt;br /&gt;For reference on WS-Addressing &lt;a href="http://www.w3.org/Submission/ws-addressing/"&gt;click here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;By default, Oracle BPEL PM implements WS-Addressing for all asynchronous web service calls, hence we don't have to explicitly implement identification relationship between the incoming &amp;amp; outgoing messages.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;Correlation:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;In short, Correlation is a BPEL technique which provides correlation of asynchronous messages based on the content of the message.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;strong&gt;Why &amp;amp; Where Correlation?&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following are few scenarios in which we would be required to implement Correlation to identify &amp;amp; relate message communication;&lt;br /&gt;1. When the external web service called doesn't have WS-Addressing capability&lt;br /&gt;2. When the message travels through several services and response is solicited by the initial service from the last service directly&lt;br /&gt;For instance, request flow pro1 -&gt; pro2 -&gt; pro3 and response is received from pro3 -&gt;pro1&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#006600;"&gt;Implementing Correlation:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;a.) Creating Correlation Sets:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In Structure Window of the JDeveloper IDE, right click on the Correlation Sets and choose 'Create Correlation Set'&lt;br /&gt;Provide a name for your correlation set being created.&lt;br /&gt;In the properties section, select 'Add' to display the property chooser window&lt;br /&gt;Choose 'Create' to create a property on which the correlation has to be initiated. Provide a name and type for the property.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;b.) Associating the Correlation set on receive/invoke, pick activities&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Go the the correlations tab on the activity (invoke/receive/pick) on which you need to set &amp;amp; validate the correlation&lt;br /&gt;Add the created correlation set to the activity&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;Initiate Attribute: (Value Set - yes, no)&lt;/span&gt;&lt;br /&gt;When set to yes, correlation set is initiated with the values of the properties available in the message being transferred&lt;br /&gt;When set to no, correlation set validates the value of the property available in the message&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;Pattern Attribute: (Value Set - in, out, in-out)&lt;/span&gt;&lt;br /&gt;When the value is 'in', it means that the correlation property is set/validated on the incoming message&lt;br /&gt;When the value is 'out', it means that the correlation property is set/validated on the message going out of BPEL&lt;br /&gt;In case of 'in-out', the property will be set/validated on both incoming &amp;amp; outgoing messages&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;c.) Creating Propery Alias:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In the Structure Window of the JDeveloper, right click on the 'Property Aliases' and select 'Create Propery Alias'&lt;br /&gt;Select the message type that you want to set to the correlation propery (already created)&lt;br /&gt;&lt;br /&gt;Now, correlation design is complete. However, correlation will not be established unless we reference the correlations on the WSDL file of the BPEL process. To do this, import the correlation WSDL file (created under the project) in the BPEL process main WSDL.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-8953620354739571853?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/8953620354739571853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/10/oracle-bpel-correlation-exemplified.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8953620354739571853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/8953620354739571853'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/10/oracle-bpel-correlation-exemplified.html' title='Oracle BPEL Correlation Exemplified'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4699441548289295934</id><published>2009-09-08T18:16:00.004+05:30</published><updated>2009-09-08T18:24:02.348+05:30</updated><title type='text'>BPEL Process Manager Server (10.1.3.4) Connection Failed</title><content type='html'>After upgrading to Oracle SOA 10.1.3.4 Integration Server connection cannot be established through JDeveloper. When looking into the OPMN log files the following error was logged;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;java.lang.IllegalStateException: MessageDrivenHome:: application state=3 - Application: 'hw_services' is not in RUNNING state.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;at com.evermind.server.ejb.MessageDrivenHome.checkRunningState(MessageDrivenHome.java:1216)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;at com.evermind.server.ejb.MessageDrivenConsumer.run(MessageDrivenConsumer.java:162)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;at java.lang.Thread.run(Thread.java:595)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To overcome this issue, login to the em console (Application Manager) [http://hostname:portname/em] and restart the &lt;strong&gt;&lt;span style="color:#cc33cc;"&gt;hw_services&lt;/span&gt;&lt;/strong&gt; available under the oc4j_soa instance. This should resolve the connection issue &amp;amp; a retry for establishing connection via JDeveloper will succeed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4699441548289295934?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4699441548289295934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/bpel-process-manager-server-10134.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4699441548289295934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4699441548289295934'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/bpel-process-manager-server-10134.html' title='BPEL Process Manager Server (10.1.3.4) Connection Failed'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-3109415728549225675</id><published>2009-09-08T12:07:00.006+05:30</published><updated>2009-09-08T18:37:55.158+05:30</updated><title type='text'>Oracle ESB 10.1.3.4 ConsoleTransactionException</title><content type='html'>While starting Oracle SOA instance, all ESB services are not getting started &amp;amp; refreshed before orabpel service starts. When this happens no service can be accessed from the Oracle ESB and the following exception is sighted in the ESB Console.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.tip.esb.console.exception.ConsoleTransactionException: File repository not initialized.May be ESB bootstrap failed Please review ESB prameters for their correctness. at oracle.tip.esb.console.XMLConsoleManagerImpl.commit(XMLConsoleManagerImpl.java:2317) at oracle.tip.esb.console.XMLConsoleManagerImpl.deleteSystem(XMLConsoleManagerImpl.java:637) at oracle.tip.esb.configuration.servlet.command.DeleteSystemCommand.execute(DeleteSystemCommand.java:34) at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109) at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64) at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:400) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:414) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) ".&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;One of the solution to overcome this issue is to ensure that the ESB services are getting started successfully before orabpel service starts. One can follow the following steps to overcome this issue;&lt;br /&gt;&lt;br /&gt;1. Login to the 'Application Manager' (em console) and stop the orabpel service under oc4j_soa. Ensure that the hw_service is also stopped.&lt;br /&gt;2. Now change to the &lt;soa_home&gt;\opmn\bin directory via command prompt and issue the following command&lt;br /&gt;opmnctl stopall&lt;br /&gt;3. Once all services are stopped, issue the following command to start all services&lt;br /&gt;opmnctl startall&lt;br /&gt;4. Login back to the Application Manager console and start the orabpel service under oc4j_soa instance&lt;br /&gt;&lt;br /&gt;Now, things should work fine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-3109415728549225675?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/3109415728549225675/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/oracle-esb-10134-consoletransactionexce.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3109415728549225675'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3109415728549225675'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/oracle-esb-10134-consoletransactionexce.html' title='Oracle ESB 10.1.3.4 ConsoleTransactionException'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-2490576584364646073</id><published>2009-09-02T13:48:00.004+05:30</published><updated>2009-09-02T13:58:09.799+05:30</updated><title type='text'>Oracle ESB org.apache.slide.structure.ObjectNotFoundException</title><content type='html'>"org.apache.slide.structure.ObjectNotFoundException" exception is thrown in ESB console during runtime. This error occurs when ESB artifacts are developed on JDeveloper and moved from one workspace to another. The JDeveloper will not be able to eventually update the file locations in the related artifacts when the project is moved from one application/workspace to another.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#990000;"&gt;&lt;strong&gt;&lt;u&gt;Detailed Error Description:&lt;/u&gt;&lt;/strong&gt; (As logged in ESB Error Trace)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Error occured while transforming payload using XSL "esb:///ESB_Projects/Application1_***/***.xsl". Reason : Could not load XSL transform into the cache for XSL/XSLT "esb:///ESB_Projects/Application1_***/***.xsl"! Reason : org.apache.slide.structure.ObjectNotFoundException: No object found at /files/ESB_Projects/Application1_***!&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;u&gt;&lt;span style="color:#990000;"&gt;Solution:&lt;/span&gt;&lt;br /&gt;&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt;DO NOT move the ESB projects to a different JDeveloper workspace, as this is not supported by Oracle ESB (till 10.1.3.4)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-2490576584364646073?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/2490576584364646073/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/oracle-esb-orgapacheslidestructureobjec.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2490576584364646073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/2490576584364646073'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/09/oracle-esb-orgapacheslidestructureobjec.html' title='Oracle ESB org.apache.slide.structure.ObjectNotFoundException'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7832364778786798982</id><published>2009-05-27T21:38:00.003+05:30</published><updated>2009-05-27T22:08:20.908+05:30</updated><title type='text'>Import DVM using Java-Ant</title><content type='html'>While writing an Ant build script to deploy the BPEL/ESB processes, it became absolutely important to deploy/import the DVMs automatically using Ant build scripts. While surfing thru the web, I came across a piece of Java code that will accomplish this task. I have made few enhancements to the code which will dynamically get the DVM file details from a property file for import.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Pre-Requisites:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;1. You will need to import the commons-codec-1.3.jar available in the SOA suite ($SOA_Home\Integration\esb\lib)&lt;br /&gt;2. Download the commons-httpclient-3.1.jar from the internet (Any older version will throw errors!)&lt;br /&gt;3. Import commons-logging.jar from $SOA_Home\Integration\esb\lib folder&lt;br /&gt;&lt;br /&gt;&lt;u&gt;&lt;b&gt;Functional Aspects:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;&lt;br /&gt;a.) The following piece of code will use a property file called ImportDVM.properties which will contain the dynamic parameters such as hostname, port number, username, password and more importantly the dvm file(s) location&lt;br /&gt;&lt;br /&gt;b.) Multiple DVM files can be imported at a time by providing a comma (,) separated list of DVM file locations for the "dvm" parameter in the properties file&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Java Source Code:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;import java.io.ByteArrayOutputStream;&lt;br /&gt;import java.io.File;&lt;br /&gt;import java.io.InputStream;&lt;br /&gt;import java.util.Properties;&lt;br /&gt;import java.util.StringTokenizer;&lt;br /&gt;import org.apache.commons.httpclient.HttpClient;&lt;br /&gt;import org.apache.commons.httpclient.methods.GetMethod;&lt;br /&gt;import org.apache.commons.httpclient.methods.PostMethod;&lt;br /&gt;import org.apache.commons.httpclient.methods.multipart.FilePart;&lt;br /&gt;import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;&lt;br /&gt;import org.apache.commons.httpclient.methods.multipart.Part;&lt;br /&gt;import org.apache.commons.httpclient.methods.multipart.StringPart;&lt;br /&gt;&lt;br /&gt;public class ImportDVM {&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;Properties props = new Properties();&lt;br /&gt;try {&lt;br /&gt;InputStream in = Class.forName("ImportDVM").getResourceAsStream("ImportDVM.properties"); // Properties file to define your dynamic parameters&lt;br /&gt;props.load(in);&lt;br /&gt;String esbHost = props.getProperty("hostname");&lt;br /&gt;int esbPort = Integer.parseInt(props.getProperty("port"));&lt;br /&gt;String username = props.getProperty("username");&lt;br /&gt;String password = props.getProperty("password");&lt;br /&gt;String fileLocation = props.getProperty("dvm"); //dvm file location&lt;br /&gt;StringTokenizer st = new StringTokenizer(fileLocation, ",");&lt;br /&gt;while (st.hasMoreTokens()) {&lt;br /&gt;String dvm = st.nextToken();&lt;br /&gt;importDVM(esbHost, esbPort, username, password, dvm);&lt;br /&gt;}&lt;br /&gt;} catch (Exception ex) {&lt;br /&gt;ex.printStackTrace();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;public static void importDVM(String esbHost, int esbPort, String username, String password, String fileLocation) {&lt;br /&gt;try {&lt;br /&gt;InputStream is = null;&lt;br /&gt;HttpClient client = new HttpClient();&lt;br /&gt;int responseCode = 0;&lt;br /&gt;client.getHttpConnectionManager().getParams().setConnectionTimeout(90000);&lt;br /&gt;&lt;br /&gt;// Authenticate&lt;br /&gt;String authUrl = "http://"+esbHost+":"+esbPort+"/esb/j_security_check?j_username="+username+"&amp;amp;j_password="+password;&lt;br /&gt;GetMethod auth = new GetMethod(authUrl);&lt;br /&gt;responseCode = client.executeMethod(auth);&lt;br /&gt;&lt;br /&gt;// ImportDVM&lt;br /&gt;File targetFile = new File(fileLocation);&lt;br /&gt;PostMethod post = new PostMethod("http://"+esbHost+":"+esbPort+"/esb/esbConfiguration/executeCommand?action=ImportDVM");&lt;br /&gt;post.setRequestHeader("User-Agent", "ESB Client/1.0");&lt;br /&gt;//StringPart s1 = new StringPart("importType","map");&lt;br /&gt;//StringPart s2 = new StringPart("importMode","overwrite");&lt;br /&gt;//FilePart f1 = new FilePart(targetFile.getName(), targetFile);&lt;br /&gt;Part[] parts = {new StringPart("importType","map"), new StringPart("importMode","overwrite"), new FilePart(targetFile.getName(), targetFile)};&lt;br /&gt;System.out.println(Part.getLengthOfParts(parts));&lt;br /&gt;post.setRequestEntity(new MultipartRequestEntity(parts, post.getParams()));&lt;br /&gt;responseCode = client.executeMethod(post);&lt;br /&gt;System.out.println("Response code: " + responseCode);&lt;br /&gt;is = post.getResponseBodyAsStream();&lt;br /&gt;ByteArrayOutputStream baos = new ByteArrayOutputStream();&lt;br /&gt;int c;&lt;br /&gt;while ((c = is.read()) != -1) {&lt;br /&gt;baos.write((char)c);&lt;br /&gt;}&lt;br /&gt;byte[] responseBody = baos.toByteArray();&lt;br /&gt;post.releaseConnection();&lt;br /&gt;String response = new String(responseBody);&lt;br /&gt;System.out.println(response);&lt;br /&gt;} catch (Exception e) {&lt;br /&gt;e.printStackTrace();&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;u&gt;Executing from Ant:&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So far so good. Now it turns out to be very simple. Just compile the class and call this using the "java" ANT task.&lt;br /&gt;You got a class not found exception huh? Yup, you have forgotten to keep the Java class location in your classpath.&lt;br /&gt;&lt;br /&gt;We are now good to go!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7832364778786798982?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7832364778786798982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/import-dvm-using-java-ant.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7832364778786798982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7832364778786798982'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/import-dvm-using-java-ant.html' title='Import DVM using Java-Ant'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-9125637930447596688</id><published>2009-05-11T23:57:00.005+05:30</published><updated>2009-05-12T00:09:46.873+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='XPath'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle BPEL'/><title type='text'>Issue with BPEL Date Functions</title><content type='html'>The Oracle BPEL date function xp20:current-dateTime() comes in very handy whenever we require to track/print the current system timestamp inside a BPEL process at runtime. However, there is a glitch with this function during the daylight savings timezone settings, as this function returns the timestamp 1 hr ahead of the actual time during the daylight savings. This issue was logged with Oracle and the issue was attributed to the JDK version (1.5.0_06) bundled with the SOA suite 10.1.3.3. To resolve this issue at hand, an upgrade to at least JDK version 1.5.0_16 is recommended.&lt;br /&gt;&lt;br /&gt;However, to overcome this issue even more easily, you can use the Oracle BPEL XPath extension function ora:getCurrentDateTime()  to get the current system timestamp exactly  even during daylight saving settings. If you have the same issue, try this out and this should work as it worked fine for me ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-9125637930447596688?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/9125637930447596688/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/issue-with-bpel-date-functions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9125637930447596688'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/9125637930447596688'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/issue-with-bpel-date-functions.html' title='Issue with BPEL Date Functions'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-3175932366507494340</id><published>2009-05-09T01:10:00.005+05:30</published><updated>2009-05-09T01:40:19.217+05:30</updated><title type='text'>Passing BPEL variables to XSL</title><content type='html'>I have always wondered, it would be great to pass runtime variable data from the BPEL process to a XSL file for processing within the transformation. To achieve this you can follow the steps as given below;&lt;br /&gt;&lt;br /&gt;1. Create a custom schema (namely xslproperties.xsd) as given below &amp;amp; import this schema into your BPEL process.&lt;br /&gt;&lt;br /&gt;&amp;lt;xml version="1.0" encoding="windows-1252" ?&gt; &lt;br /&gt;&amp;lt;xsd:schema xmlns:xsd="&lt;a href="http://www.w3.org/2001/XMLSchema%22"&gt;http://www.w3.org/2001/XMLSchema"&lt;/a&gt; &lt;br /&gt;            xmlns:p="&lt;a href="http://schemas.oracle.com/service/bpel/common%22"&gt;http://schemas.oracle.com/service/bpel/common"&lt;/a&gt;&lt;br /&gt;             xmlns="&lt;a href="http://schemas.oracle.com/service/bpel/common%22"&gt;http://schemas.oracle.com/service/bpel/common"&lt;/a&gt; &lt;br /&gt;            targetNamespace="&lt;a href="http://schemas.oracle.com/service/bpel/common%22"&gt;http://schemas.oracle.com/service/bpel/common"&lt;/a&gt;&lt;br /&gt;             elementFormDefault="qualified"&gt;   &lt;br /&gt;&amp;lt;xsd:element name="parameters"&gt;&lt;br /&gt;     &amp;lt;xsd:complexType&gt;       &lt;br /&gt;&amp;lt;xsd:sequence&gt;         &lt;br /&gt;&amp;lt;xsd:element name="item" minOccurs="1" maxOccurs="unbounded"&gt;           &lt;br /&gt;&amp;lt;xsd:complexType&gt;             &lt;br /&gt;&amp;lt;xsd:sequence&gt;               &lt;br /&gt;&amp;lt;xsd:element name="name" type="xsd:string"/&gt;               &lt;br /&gt;&amp;lt;xsd:element name="value" type="xsd:string"/&gt;             &lt;br /&gt;&amp;lt;/xsd:sequence&gt;           &lt;br /&gt;&amp;lt;/xsd:complexType&gt;         &lt;br /&gt;&amp;lt;/xsd:element&gt;       &lt;br /&gt;&amp;lt;/xsd:sequence&gt;     &lt;br /&gt;&amp;lt;/xsd:complexType&gt;   &lt;br /&gt;&amp;lt;/xsd:element&gt;   &lt;br /&gt;&amp;lt;/xsd:schema&gt;&lt;br /&gt;&lt;br /&gt;2. Create a variable (for instance, xslParameters) in your BPEL process of type xslproperties.xsd&lt;br /&gt;3. Now, assign the values to this schema using a transformation activity. You can assign the variable name to the &amp;lt;name&gt; element &amp;amp; variable value to the &amp;lt;value&gt; element&lt;br /&gt;4. If you have to pass multiple variables to the XSL, use the for-each element in the transformation. Optionally you can also build the schema using the "XML Fragment" assign operation and assign values to it&lt;br /&gt;5. The processXSLT() function has 3 parameters. The first parameter holds the XSL file name, the second parameter is the input variable/data for the XSLT to process and the third parameter is the properties. We are now interested in the third parameter which helps us to pass the BPEL variables to the XSLT.&lt;br /&gt;6. Pass the variable xslParameters (As created in step 2) as the third parameter as shown below;&lt;br /&gt;ora:processXSLT('XSLT_File.xsl',bpws:getVariableData(’inputVariable’,'payload’),bpws:getVariableData('xslParameters '))&lt;br /&gt;7. Now, you can obtain all the variable values inside the XSLT file using the &amp;lt;xsl:param name="variable1"/&gt; instruction and you can use this just like a variable inside your XSL file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-3175932366507494340?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/3175932366507494340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/passing-bpel-variables-to-xsl.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3175932366507494340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/3175932366507494340'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/05/passing-bpel-variables-to-xsl.html' title='Passing BPEL variables to XSL'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6496419717864115253</id><published>2009-04-23T02:00:00.003+05:30</published><updated>2009-04-23T02:08:54.709+05:30</updated><title type='text'>Customizing BPEL Process Instance Titles</title><content type='html'>When there were several BPEL process instances getting created in the BPEL console, it often really becomes hard to identify a instance for tracking/debugging purposes. Since, all the BPEL process instances use a generic naming convention consisting of an unique instance id (sequence generated within Oracle BPEL PM) and the BPEL process name; all instances would hold the same name except for the change in instance id.&lt;br /&gt;&lt;br /&gt;In order to give a valid instance name for the BPEL processes, you can make use of the setTitle(String str1); method inside a Java Embedding activity inside the BPEL process, which will ensure that the 'str1' parameter is set as the instance title for all instances created for this BPEL process. You can pass dynamic run-time parameters and customize the BPEL instance titles, so that the BPEL instances can be identified more uniquely in a business sense. This also enables easy &amp;amp; effective instance tracking from the BPEL console.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6496419717864115253?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6496419717864115253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/04/customizing-bpel-process-instance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6496419717864115253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6496419717864115253'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/04/customizing-bpel-process-instance.html' title='Customizing BPEL Process Instance Titles'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7389098708650533984</id><published>2009-03-15T16:39:00.006+05:30</published><updated>2009-03-15T18:16:13.598+05:30</updated><title type='text'>Pass Variables between Java &amp; BPEL Process</title><content type='html'>When using Java embedding activity in a BPEL process for processing BPEL variables , it will be required to pass the variables between Java and the BPEL process. In such cases, you can use&lt;br /&gt;the following methods to get/set the variables;&lt;br /&gt;&lt;br /&gt;getVariableData(bpelVariable); method will fetch that variable value to be used inside the Java embedding activity&lt;br /&gt;&lt;br /&gt;setVariableData(bpelVariable, Value); method sets the Value (processed in the Java embedding activity) to the bpelVariable, which can be used in the BPEL process for further processing.&lt;br /&gt;&lt;br /&gt;However, the variable datatype conversions should be properly handled in BPEL process and Java embedding activity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7389098708650533984?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7389098708650533984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/03/pass-java-variable-to-bpel-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7389098708650533984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7389098708650533984'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/03/pass-java-variable-to-bpel-process.html' title='Pass Variables between Java &amp; BPEL Process'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7902838043966379979</id><published>2009-03-14T23:09:00.004+05:30</published><updated>2009-03-14T23:27:01.990+05:30</updated><title type='text'>Lost BPEL Instances? - Use Force Dehydration</title><content type='html'>There will be many instances when it will be really puzzling to find out whether the BPEL instance was triggered or not, where we often say that the "BPEL instance is lost". Actually, in reality, the BPEL process could have resulted in some kind of exception during the process which gets suppressed completely by the BPEL PM and the instance neither gets persisted or dehydrated in the orabpel schema nor shown up in BPELConsole.&lt;br /&gt;&lt;br /&gt;This will be really troublesome, as we will not be able to identify whether the problem lies in the external system driving the BPEL instance or within the BPEL process itself after consumption of data. In such cases, you can use the checkpoint(); Java method inside a Java embedding activity to force the instance to be dehydrated as soon as the instance gets triggered in BPEL. This will ensure that the BPEL instance is shown up in the BPEL console if it is instantiated. You can use the following piece of code in your BPEL process to force dehydration.&lt;br /&gt;&lt;br /&gt;&amp;lt;bpelx:exec name="CheckPointOne" language="java" version="1.5"&gt;&lt;br /&gt;&amp;lt;![CDATA[checkpoint();]]&gt;&lt;br /&gt;&amp;lt;/bpelx:exec&gt;&lt;br /&gt;&lt;br /&gt;Now, all your BPEL instances will be available in the BPELConsole for debugging issues that are not actually propagated/thrown to BPELConsole by the OPMN.&lt;br /&gt;&lt;br /&gt;However, there are certain drawbacks while using the force dehydration mechanism, as this will cause drop in performance of the BPEL process during run-time due to the additional overhead of persisting the instance whenever this method is called. So please make justified use of this method before using this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7902838043966379979?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7902838043966379979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/03/lost-bpel-instances-use-force.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7902838043966379979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7902838043966379979'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/03/lost-bpel-instances-use-force.html' title='Lost BPEL Instances? - Use Force Dehydration'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6081446533705725987</id><published>2009-02-22T16:24:00.002+05:30</published><updated>2009-02-22T16:54:25.360+05:30</updated><title type='text'>Load XSL at runtime on the fly</title><content type='html'>While working for a project objective, we had lots of stylesheet (XSLT) files in the BPEL processes, which underwent frequent modifications. The XSL files were created and stored under a common folder inside the BPEL process, which required deployment of the BPEL process everytime we made changes to the stylesheets.&lt;br /&gt;&lt;br /&gt;This seemed very bad and time consuming, as we were compiling and deploying the entire BPEL process even for the smallest change in the stylesheet. Then I found a solution where the BPEL process would be made to pick up / load the stylesheet during runtime which will be stored at some physical location under the $SOA_Home accessible via a http URL.&lt;br /&gt;&lt;br /&gt;By dynamically constructing the http URL in the BPEL process, the BPEL process was able to load the stylesheets dynamically thereby eliminating the tight coupling between the stylesheet configuration &amp;amp; BPEL process.&lt;br /&gt;&lt;br /&gt;# Create a folder called "xsl" (user-defined) under the following location;&lt;br /&gt;$SOA_Home\bpel\system\xmllib&lt;br /&gt;&lt;br /&gt;# Place all your XSLT files under the xsl folder&lt;br /&gt;&lt;br /&gt;# Construct the dynamic HTTP URL as shown below for this folder location in your BPEL process&lt;br /&gt;&lt;br /&gt;1. Create a copy operation under the Assign activity which will construct and store the http URL for the xsl folder, and assign the value to a variable; say xsl_variable&lt;br /&gt;concat(substring-before(ora:getProcessURL(),ora:getDomainId()),'xmllib/xsl/',bpws:getVariableData('stylesheet1'))&lt;br /&gt;2. Pass this variable (In this example xsl_variable) as the first parameter to the ora:processXSLT() function&lt;br /&gt;&lt;br /&gt;After the above said modifications are performed, the stylesheets can be modified and copied into the xsl folder which will be loaded &amp;amp; transformed by the BPEL processes on the fly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6081446533705725987?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6081446533705725987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/load-xsl-at-runtime-on-fly.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6081446533705725987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6081446533705725987'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/load-xsl-at-runtime-on-fly.html' title='Load XSL at runtime on the fly'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6102145904706204659</id><published>2009-02-08T11:02:00.008+05:30</published><updated>2009-02-09T12:02:00.584+05:30</updated><title type='text'>Oracle BPEL HTTP Server Down after applying patch 10.1.3.3</title><content type='html'>We have encountered few issues while starting the oracle SOA suite after applying SOA patch 10.1.3.3. The HTTP server was still down after the SOA suite restart.&lt;br /&gt;&lt;br /&gt;On analyzing the HTTP_Server~1.log file available under $SOA_Home\opmn\logs, the following error was logged.&lt;br /&gt;&lt;br /&gt;Syntax error on line 278 of $SOA_Home/apache/apache/conf/httpd.conf:Cannot load $SOA_Home/apache/apache/modules/apachemoduleossl.dll into server: (127) The specified procedure could not be found&lt;br /&gt;&lt;br /&gt;This issue might occur if there are few DLL files pertaining to SSL missing or unavailable for the HTTP server start. If you are not using the SSL advantage, then the quick fix is to comment out the following sections of httpd.conf file (Key in # infront of the line to comment).&lt;br /&gt;&lt;br /&gt;&amp;lt;ifdefine&amp;gt;&lt;br /&gt;LoadModule ossl_module modules/ApacheModuleOSSL.DLL&lt;br /&gt;&amp;lt;/ifdefine&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;# Include the SSL definitions and Virtual Host container&lt;br/&gt;&lt;br /&gt;include "D:\product\10.1.3.1\OracleAS_1\Apache\Apache\conf\ssl.conf"&lt;br /&gt;&lt;br /&gt;Now, restart the Oracle SOA instance &amp;amp; the Http Server should run.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6102145904706204659?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6102145904706204659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/oracle-bpel-http-server-down-after.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6102145904706204659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6102145904706204659'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/oracle-bpel-http-server-down-after.html' title='Oracle BPEL HTTP Server Down after applying patch 10.1.3.3'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4588637934131684567</id><published>2009-02-03T15:51:00.008+05:30</published><updated>2009-02-05T17:10:35.829+05:30</updated><title type='text'>Oracle BPEL Remote Deployment using Ant</title><content type='html'>In the last post, we have seen how to compile &amp;amp; deploy the Oracle BPEL &amp;amp; ESB processes in the local OAS (Oracle Application Server on SOA Suite 10.1.3.3) using automated Ant build scripts. In this blog, I will try to explain the remote server deployment of Oracle BPEL processes.&lt;br /&gt;&lt;br /&gt;This essentially means that we will be able to run the Ant build script on local machine &amp;amp; deploy the compiled code on to remotely located servers on the network. To explain this with a practical scenario, we can have a build server which has the completed build setup with 2 build scripts - One which will run at regular time intervals (Daily) to check for the integrity of builds &amp;amp; another which can be triggered at desired time to deploy on to test environments.&lt;br /&gt;&lt;br /&gt;The following segment of code must be added on to the build script which does the remote server deployments.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Download the classes &lt;a href="http://static7.userland.com/oracle/gems/olaf/bpel101202antdeployment.jar"&gt;&lt;span style="color:#3366ff;"&gt;here&lt;/span&gt;&lt;/a&gt; and place them in the following location;&lt;br /&gt;&lt;br /&gt;$Oracle_SOA_Home\bpel\system\classes\com\collaxa\cube\ant\taskdefs&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;&lt;strong&gt;Step 2: &lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Add the following task definition to your Ant build script.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;strong&gt;&amp;lt;taskdef classname="com.collaxa.cube.ant.taskdefs.RemoteDeployOverHttp"&lt;br /&gt;name="deploySuitcase"&amp;gt;&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;&lt;/taskdef&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;span style="color:#cc0000;"&gt;Step 3:&lt;/span&gt; &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Compile all the required BPEL processes, so that the corresponding jar files are generated in the output folders.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Step 4:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Add a target element in the Ant build script as shown below, which takes care of deploying the compiled BPEL processes to the remote Oracle SOA @ the domain specified.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&amp;lt;target name="deploy"&amp;gt;&lt;br /&gt;&amp;lt;deploySuitcase host="$host_ip" port="$SOA_port"&lt;br /&gt;domain="default" password="$SOA_pwd"&amp;gt;&lt;br /&gt;&amp;lt;fileset dir="${basedir}"&amp;gt;&lt;br /&gt;&amp;lt;include name="bpel_Process1_1.0.jar"/&amp;gt;&lt;br /&gt;&amp;lt;/fileset&amp;gt;&lt;br /&gt;&amp;lt;/deploySuitcase&amp;gt;&lt;br /&gt;&amp;lt;/target&amp;gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;The host_ip, SOA_port, SOA_pwd are parameters that will be extracted from the external properties file during run-time.&lt;br /&gt;&lt;br /&gt;The &amp;lt;deploySuitcase&amp;gt; is the custom Ant task which takes care of deploying the jar files of compiles BPEL processes defined within the &amp;lt;fileset&amp;gt; element. You can included any number of BPEL jars that will be deployed to the remote server specified.&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000099;"&gt;Courtesy: Clemen's SOA Blog&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4588637934131684567?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4588637934131684567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/oracle-bpel-remote-deployment-using-ant.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4588637934131684567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4588637934131684567'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/02/oracle-bpel-remote-deployment-using-ant.html' title='Oracle BPEL Remote Deployment using Ant'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-6649777849973503143</id><published>2009-01-12T22:27:00.017+05:30</published><updated>2009-02-03T15:50:46.849+05:30</updated><title type='text'>Oracle BPEL/ESB Automated Build using Ant</title><content type='html'>&lt;p&gt;In this post, we will see how to use Apache Ant effectively in compiling &amp;amp; deploying Oracle BPEL/ESB projects. In any SDLC, we come across situations where it becomes very hard to detect the integrity of builds at earlier stages which leads to eleventh hour hiccups. &lt;/p&gt;&lt;p&gt;Ant build scripts comes to the rescue, providing custom tasks for compiling &amp;amp; deploying the Oracle BPEL &amp;amp; ESB projects in the OAS (We will see remote server deployments in subsequent posts).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Think of a script which runs at regular time intervals; say 2300 hrs every day and reports if there are any issues during compilation/deployment time. Wouldn't that be great to see the reports at your sight before getting along with development activities everyday. We made use of an open-source utility called "CruiseControl" for automating the Ant build scripts which we will see how to orchestrate.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Pre-Requisites:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Oracle SOA suite 10.1.3.3 installed and configured&lt;/li&gt;&lt;li&gt;Apache Ant 1.7.0&lt;/li&gt;&lt;li&gt;jaxb 2.0.0&lt;/li&gt;&lt;li&gt;commons-httpclient-3.0.1.jar&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Identification of BPEL &amp;amp; ESB processes:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Before preparing the Ant build scripts, it is very essential to identify the Oracle BPEL &amp;amp; ESB candidates that would be subject to continuous integration. Also, it is important to capture the order of deployments of these processes.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Wrapper Ant build script: &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;We can write a wrapper Ant build script which will call the "automatically created" Ant build scripts while creation of BPEL processes &amp;amp; we will leverage t&lt;!--img class="gl_spell" alt="Check Spelling" src="http://www.blogger.com/img/blank.gif" border="0" /--&gt;he Ant task described in the next section to register ESB projects wherever required.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Compiling &amp;amp; Deploying Oracle BPEL processes:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;By default, whenever an Oracle BPEL process is created in JDeveloper, an ant build script will be created which takes care of compiling and deploying that particular BPEL. For orchestrating the automated builds, we will take advantage of these build scripts to continuously integrate the BPEL processes.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Following piece of code shows the process of triggering the process-deploy Ant task available within the BPEL_Process1 BPEL project from the wrapper Ant script.&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;target name="BPEL_Process1" description="run BPEL_Process1"&gt;&lt;br /&gt;&amp;lt;property name="BPEL_Process1.file.path" value="#Location of BPEL_Process1"/&gt;&lt;br /&gt;&amp;lt;xmlproperty file="${BPEL_Process1.file.path}/bpel/bpel.xml"/&gt;&lt;br /&gt;&amp;lt;echo&gt;Building BPEL_Process1...&amp;lt;/echo&gt;&lt;br /&gt;&amp;lt;ant antfile="${BPEL_Process1.file.path}/build.xml" target="process-deploy"&gt;&lt;br /&gt;&amp;lt;property name="basedir" value="${process.dir}/${BPEL_Process1.file.path}" /&gt;&lt;br /&gt;&amp;lt;property name="process.name" value="BPEL_Process1"/&gt;&lt;br /&gt;&amp;lt;/ant&gt;&lt;br /&gt;&amp;lt;/target&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Registration of ESB Projects:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Ant comes up with a specialized task for registering the Oracle ESB projects into the SOA server.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. Extract ESBMetadataMigration.jar from $SOA_Home\Integration\esb\deployment\documentation.zip&lt;/p&gt;&lt;p&gt;2. Modify the following properties in the ESBMetadataMigrationTaskdefs.xml&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;project name="ESBMetadataMigrationTaskdefs"&gt;&lt;br /&gt;&amp;lt;property name="commons.httpclient.home" value="#commons-httpclient jar location"/&gt;&lt;br /&gt;&amp;lt;property name="jaxb.v2.0.2.home" value="#jaxb jar location"/&gt;&lt;br /&gt;&amp;lt;property name="soa.suite.home" value="#Oracle_SOA_Home"/&gt;&lt;br /&gt;&amp;lt;property name="esb.home" value="#ESBMetadataMigration.jar location"/&gt;&lt;br /&gt;&amp;lt;!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Custom ant task definitions, to enable import. - This section should be treated as immutable upon installation. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --&gt;&lt;br /&gt;&amp;lt;dirname property="imported.basedir" file="${ant.file.ESBMetadataMigrationTaskdefs}"/&gt;&lt;br /&gt;&amp;lt;taskdef resource="oracle/tip/esb/client/anttasks/antlib.xml"&gt;&lt;br /&gt;&amp;lt;classpath&gt;&lt;br /&gt;&amp;lt;pathelement location="${esb.home}/ESBMetadataMigration.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${commons.httpclient.home}/commons-httpclient-3.0.1.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${soa.suite.home}/lib/xmlparserv2.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${soa.suite.home}/integration/esb/lib/commons-logging.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${soa.suite.home}/integration/esb/lib/commons-codec-1.3.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${soa.suite.home}/integration/esb/lib/oraesb.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${jaxb.v2.0.2.home}/lib/activation.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${jaxb.v2.0.2.home}/lib/jaxb-api.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${jaxb.v2.0.2.home}/lib/jsr173_1.0_api.jar"/&gt;&lt;br /&gt;&amp;lt;pathelement location="${jaxb.v2.0.2.home}/lib/jaxb-impl.jar"/&gt;&lt;br /&gt;&amp;lt;/classpath&gt;&lt;br /&gt;&amp;lt;/taskdef&gt;&lt;br /&gt;&amp;lt;/project&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;3. Import the following config files in your ant build script&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;import file="${bpel.home}/utilities/ant-orabpel.xml"/&gt;&lt;br /&gt;&amp;lt;import file="${ESBMetaDataLoc}/ESBMetadataMigrationTaskdefs.xml"/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;4. Final step to register the ESB projects;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;target name="ESB_1" description="run ESB_1"&gt;&lt;br /&gt;&amp;lt;echo&gt;Registering ESB_1...&amp;lt;/echo&gt;&lt;br /&gt;&amp;lt;deployESBProjects esbMetadataServerHostname="${http.hostname}"&lt;br /&gt;esbMetadataServerPort="${http.port}"&lt;br /&gt;userName="${admin.user}"&lt;br /&gt;password="${admin.password}"&gt;&lt;br /&gt;&amp;lt;esbProject directory="${ESB_1.file.path}"/&gt;&lt;br /&gt;&amp;lt;/deployESBProjects&gt;&lt;br /&gt;&amp;lt;/target&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#cc0000;"&gt;Configuring CruiseControl:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Now that we have written the wrapper Ant build script to orchestrate the Oracle BPEL/ESB deployments, we can make use of the &amp;lt;target&gt; task to call each of the other targets in the necessary sequence using the 'depends' attribute.&lt;/p&gt;&lt;p&gt;This Ant script can now be made available in the CruiseControl tool which will take care of executing this build script at specified time intervals. config.xml is the CruiseControl configuration file available within the CruiseControl installation directory where we can configure various settings like time of build, mail triggers, reports etc...&lt;/p&gt;&lt;p&gt;A little deep dive into the CruiseControl configurations will allow you to configure css settings, mail templates etc...&lt;/p&gt;&lt;p&gt;Please post your comments if you need clarifications/help which I will try to resolve ASAP.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-6649777849973503143?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/6649777849973503143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/01/oracle-bpelesb-automated-build-using.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6649777849973503143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/6649777849973503143'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/01/oracle-bpelesb-automated-build-using.html' title='Oracle BPEL/ESB Automated Build using Ant'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-7149263524149218111</id><published>2009-01-01T19:53:00.006+05:30</published><updated>2009-01-01T20:42:39.726+05:30</updated><title type='text'>Oracle BPEL console throws 'No domains accessible to the user logged in.'</title><content type='html'>A common issue that is faced in Oracle BPEL development phase by a developer is "No domains accessible to the user logged in." This might be due to several reasons which I will try to elaborate in this blog based on my past experience in resolving this issue.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 1:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;First checkpoint where we can identify the detail of error description is checking the following log files;&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;Domain Log:&lt;/span&gt; $SOA_Home\bpel\domains\&lt;u&gt;default&lt;/u&gt;\logs\domain.log ('default' is the default domain name)&lt;br /&gt; - This log file will be created everytime the SOA service is started and will log any domain level startup issues&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;OPMN Log:&lt;/span&gt; $SOA_Home\opmn\logs\OC4J~oc4j_soa~default_group~1.log&lt;br /&gt; - This log file will log all the BPEL process specific logs (creation/termination)&lt;br /&gt;&lt;span style="color:#cc0000;"&gt;System Log:&lt;/span&gt; $SOA_Home\bpel\system\logs\orabpel.log&lt;br /&gt; - System level logging is provided for infrastructure, AXIS, and WSIF issues&lt;br /&gt;&lt;br /&gt;All these log files should give a clear picture about the error which might be causing this issue, based on which you can take necessary actions.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 2:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;Check whether the database on top of which Oracle SOA suite was installed is up &amp;amp; running. If not, ensure the RDBMS listener is running &amp;amp; restart SOA service.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 3:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;The Oracle SOA suite will be installed on top of a database (Oracle Lite/external Oracle DB), where three schemas would have been created during installation namely Orabpel, Oraesb, Orawsm. These schemas might have got corrupted (or) their passwords might have got changed which throws "No domains accessible to the user logged in." error in Oracle BPEL console. Ensure all 3 schemas are present in the database and their passwords are intact as specified in the datasources.xml/during installation and restart SOA service after corrections.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 4:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;If any class files have been added in the SOA suite, ensure they are properly compiled and deployed @ $SOA_Home\bpel\system\classes.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 5:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;If you have added any custom xpath functions for use in the BPEL process, you might have added entries in the $SOA_Home/bpel/system/config/xpath-functions.xml. Ensure that this file is well formed.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;Check 6:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;If you have deployed any BPEL process recently after which the Oracle BPEL console throws this error, there might be high chance for issues in the deployed BPEL process.&lt;br /&gt;All deployed BPEL processes will be picked up from the following location. Take backup of the existing processes, delete all entries and then restart SOA service.&lt;br /&gt;$SOA_Home\bpel\domains\&lt;u&gt;default&lt;/u&gt;\tmp ('default' is the default domain name)&lt;br /&gt;&lt;br /&gt;One or more of the above described checks should resolve this issue.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-7149263524149218111?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/7149263524149218111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2009/01/oracle-bpel-console-throws-no-domains.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7149263524149218111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/7149263524149218111'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2009/01/oracle-bpel-console-throws-no-domains.html' title='Oracle BPEL console throws &apos;No domains accessible to the user logged in.&apos;'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4708179117699976700</id><published>2008-12-29T13:28:00.017+05:30</published><updated>2008-12-31T15:57:01.633+05:30</updated><title type='text'>Dealing Transaction time-out(s) in Oracle BPEL &amp; ESB processes</title><content type='html'>&lt;span style="color:#000000;"&gt;This post would cover the various transaction timeout properties &amp;amp; configurations of Oracle BPEL/ESB projects that can be of great help mitigating timeout issues during runtime arising due to several performance issues.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;We had a synchronous BPEL process which would calculate, extract and generate generic XML content for use by other child BPEL processes, which were designated for various operations. The synchronous BPEL process would be called by main BPEL process which will manage the entire workflow. We had no issues in this process until the XML content generated by the synchronous process was fast &amp;amp; within the transaction time-out limits. &lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;For transactions involving complex logic calculations &amp;amp; huge data extractions, the synchronous BPEL process took plenty of time to respond which resulted in transaction time-outs and the BPEL processes never proceeded to completeness.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;To overcome this issue, we increased the transaction time-out parameters which can be configured in the Oracle SOA suite. Please note that the following settings are applicable for Oracle SOA suite 10.1.3.3 advanced installation.....&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#006600;"&gt;&lt;span style="color:#006600;"&gt;Config 1:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;While introducing receive activity in a BPEL process anticipating a response from an Asynchronous BPEL process after an invoke, if the transaction times out; configure the following setting in the BPEL console which will increase the time-out duration.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#000000;"&gt;This is the maximum time the process receiver will wait for a result before returning. Results from asynchronous BPEL processes are retrieved synchronously via a receiver that will wait for a result from the container.&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;Login to BPEL Console&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;Click on &lt;em&gt;Manage BPEL Domain&lt;/em&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:#000000;"&gt;Update the &lt;em&gt;syncMaxWaitTime&lt;/em&gt; property to an increased value (Default is 45 sec) depending on the requirement&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;span style="color:#006600;"&gt;Config 2:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;Modify the &lt;em&gt;transaction-timeout&lt;/em&gt; property in the orion-ejb-jar.xml file available under the following location;&lt;br /&gt;$SOA_Home\j2ee\oc4j_soa\application-deployments\orabpel\ejb_ob_engine\orion-ejb-jar.xml&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;There will be several session beans available in this config file - all of which should be configured with the same value for the &lt;em&gt;transaction-timeout&lt;/em&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span style="color:#006600;"&gt;Config 3:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Modify the &lt;em&gt;transaction-timeout&lt;/em&gt; property in the transaction-manager.xml file available under the following location;&lt;br /&gt;$SOA_Home\j2ee\oc4j_soa\config\transaction-manager.xml&lt;br /&gt;&lt;br /&gt;Please note that this timeout value should be greater than the values configured in Config 1 &amp;amp; 2. In essence this value should be larger than &lt;em&gt;syncMaxWaitTime&lt;/em&gt; &amp;amp; &lt;em&gt;transaction-timeout&lt;/em&gt; configured in orion-ejb-jar.xml file [Config 2].&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#006600;"&gt;Config 4:&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;While using Oracle Enterprise Service Bus (ESB), there can be transcation timeouts while transacting with other BPEL processes or during deployment of ESB projects via Oracle JDeveloper. For the former, Config 3 would suffice &amp;amp; for the latter, configure the &lt;em&gt;xa_timeout&lt;/em&gt; parameter in esb_config.ini located in SOA suite at the following location;&lt;br /&gt;$SOA_Home\integration\esb\esb_config.ini&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;Note that whenever an ESB initiates a transaction, timeout specified in the esb_config.ini will take precedence.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;The above specs are gathered from the following resources;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://download.oracle.com/docs/cd/B31018_01/relnotes.1013/relnotes/esb.htm"&gt;&lt;span style="color:#3366ff;"&gt;http://download.oracle.com/docs/cd/B31018_01/relnotes.1013/relnotes/esb.htm&lt;/span&gt;&lt;/a&gt;&lt;span style="color:#3366ff;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm#sthref3957"&gt;&lt;span style="color:#3366ff;"&gt;http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/app_trblshoot.htm#sthref3957&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4708179117699976700?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4708179117699976700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2008/12/dealing-transaction-time-outs-in-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4708179117699976700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4708179117699976700'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2008/12/dealing-transaction-time-outs-in-oracle.html' title='Dealing Transaction time-out(s) in Oracle BPEL &amp; ESB processes'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5705818669612605666.post-4297709348484240241</id><published>2008-12-25T00:40:00.006+05:30</published><updated>2008-12-26T12:33:39.522+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='DB'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle BPEL'/><category scheme='http://www.blogger.com/atom/ns#' term='CLOB'/><title type='text'>Storing CLOB data in DB - Oracle BPEL</title><content type='html'>While working at the clients' place an year ago, being newly exposed to Oracle SOA &amp;amp; BPEL, we had a requirement to store large objects which were purely XML content in database tables. Hence, I created a column in the oracle database of CLOB datatype which can fit data upto 4GB and a DB Adapter in my BPEL process which will execute a query to insert data into the database column with CLOB datatype. So far so good.&lt;br /&gt;&lt;br /&gt;This seemed to work fine for quite some time until the data was not more than 32766 bytes, which triggered my mind that there ought to be some issue with the Oracle SOA settings, as I was able to insert very large payloads (Obviously more than 32766 bytes) using the same sql query executed via SQL developer. The Oracle BPEL PM also threw the following exception when the BPEL process tried to invoke the DB adapter for large payloads;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(255,0,0);font-family:courier new;font-size:100%;"  &gt;java.sql.SQLException: setString can only process strings of less than 32766 chararacters &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(255,0,0);font-family:courier new;font-size:100%;"  &gt;Internal Exception: java.sql.SQLException: setString can only process strings of less than 32766 chararacters &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(255,0,0);font-family:courier new;font-size:100%;"  &gt;Error Code: 17157 when trying to insert record in clob type of size more then 32766 characters&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After googling around for solutions, finally found the following solution (couldn't recall the thankful resource) which needs to be configured in the Oracle SOA suite for the CLOB data insertion.&lt;br /&gt;&lt;br /&gt;With Oracle SOA Suite 10.1.3.3 advanced installation, I tried the following settings which resolved the issue;&lt;br /&gt;&lt;span style="COLOR: rgb(153,153,0)"&gt;Step 1:&lt;/span&gt;&lt;br /&gt;Add/Append the following properties under the following file: $Oracle_Home\j2ee\oc4j_soa\connectors\DbAdapter\META-INF\ra.xml&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property&amp;gt;&lt;br /&gt;&amp;lt;config-property-name&amp;gt;&lt;span style="COLOR: rgb(0,102,0)"&gt;usesStreamsForBinding&lt;/span&gt;&amp;lt;/config-property-name&amp;gt;&lt;br /&gt;&amp;lt;config-property-type&amp;gt;java.lang.Boolean&amp;lt;/config-property-type&amp;gt;&lt;br /&gt;&amp;lt;config-property-value&amp;gt;&lt;span style="COLOR: rgb(0,102,0)"&gt;true&lt;/span&gt;&amp;lt;/config-property-value&amp;gt;&lt;br /&gt;&amp;lt;/config-property&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property&amp;gt;&lt;br /&gt;&amp;lt;config-property-name&amp;gt;&lt;span style="COLOR: rgb(0,102,0)"&gt;usesStringBinding&lt;/span&gt;&amp;lt;/config-property-name&amp;gt;&lt;br /&gt;&amp;lt;config-property-type&amp;gt;java.lang.Boolean&amp;lt;/config-property-type&amp;gt;&lt;br /&gt;&amp;lt;config-property-value&amp;gt;&lt;span style="COLOR: rgb(0,102,0)"&gt;true&lt;/span&gt;&amp;lt;/config-property-value&amp;gt;&lt;br /&gt;&amp;lt;/config-property&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(153,153,0)"&gt;Step 2:&lt;/span&gt;&lt;br /&gt;Configure the above properties in the connector-factory of the DB Adapter and ensure that "usesStreamsForBinding" and "usesStringBinding" are set to true;&lt;br /&gt;$Oracle_Home\j2ee\oc4j_soa\application-deployments\default\DbAdapter\oc4j-ra.xml&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;connector-factory location="eis/DB/DBConnection" name="Database Adapter"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="jdbc/DBConnection" name="xADataSourceName"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="" name="dataSourceName"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="oracle.toplink.platform.database.Oracle9Platform" name="platformClassName"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="true" name="usesNativeSequencing"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="50" name="sequencePreallocationSize"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="false" name="defaultNChar"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;config-property value="true" name="usesBatchWriting"&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,51,204);font-size:100%;" &gt;&lt;span style="COLOR: rgb(0,102,0);font-family:arial;" &gt;&amp;lt;config-property value="true" name="usesStreamsForBinding"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(0,102,0);font-family:arial;" &gt;&amp;lt;config-property value="true" name="usesStringBinding"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:100%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;connection-pooling use="none"&amp;gt;&amp;lt;/connection-pooling&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;security-config use="none"&amp;gt;&amp;lt;/security-config&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:100%;"  &gt;&amp;lt;/connector-factory&amp;gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(153,153,0);font-size:100%;" &gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(153,153,0)"&gt;Step 3:&lt;/span&gt;&lt;br /&gt;Restart Oracle SOA Suite for all configurations to take effect and the BPEL process should work fine even with very large payloads.&lt;br /&gt;&lt;br /&gt;Meet you in my next post with a possible solution for a new SOA challenge.....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5705818669612605666-4297709348484240241?l=sathyam-soa.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sathyam-soa.blogspot.com/feeds/4297709348484240241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sathyam-soa.blogspot.com/2008/12/storing-clob-data-in-db-oracle-bpel.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4297709348484240241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5705818669612605666/posts/default/4297709348484240241'/><link rel='alternate' type='text/html' href='http://sathyam-soa.blogspot.com/2008/12/storing-clob-data-in-db-oracle-bpel.html' title='Storing CLOB data in DB - Oracle BPEL'/><author><name>Sathya</name><uri>http://www.blogger.com/profile/17711711259619024371</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_4q36TMjWUO0/SVKFaaMVvBI/AAAAAAAAEfA/INFhiPkIaTI/S220/IMG_0919.jpg'/></author><thr:total>2</thr:total></entry></feed>
