Thursday, February 07, 2013

Oracle Fusion Apps

You may find details about Oracle fusion applications datamodel, webservices, scheduler jobs and reports from following fusion repository

http://fusionappsoer.oracle.com

You may access this as guest an search interested artifacts.

Also, you can fusion apps help hosted at

https://fusionhelp.oracle.com/



Monday, August 08, 2011

Oracle SOA 11g WorkList session timeout change


How to Increase / Change The Worklist Application Timeout Setting. (Default: 5 minutes)

Solution
Please follow the below steps to achieve the goal set above:

1. In Weblogic console

http://:/console/

Navigate to the following location:

Home >Summary of Deployments > and expand Worklistapp --> Click On /integration/worklistapp module

2. Then in this module page navigate to the "Configuration" and "General" sub tab.
3. Please change the value of the "Session Timeout (in seconds):" to what ever value you want, but do change the value to a different one from the default value.
4. In the same page you will see a save button. Hit the save button and follow the prompts to create the plan.xml file.
Note: The prompt for a new plan.xml file will only appear if you have not changed and/or saved any of the configuration for this particular module previously.

5. See the attachment section of this note to see, the original plan.xml file that you would get when you first save. This is an example only. File: Orig_Plan.xml

6. Now you need to backup plan.xml and edit the plan.xml file in the following way using a text editor.

Section 1:

SessionDescriptor_timeoutSecs_12814763633360
1 -----> this is the time value. Remember this is in Minutes and not in seconds.

7. You need to insert few lines to the plan.xml file as shown below.
Section 2:


web-app
WEB-INF/web.xml
-------------> Line Insert starts here
SessionDescriptor_timeoutSecs_12814763633360 ---------->// Make sure this name here exactly matches with the name in the above mentioned section 1//
/web-app/session-config/session-timeout
replace
-------------> Line Insert Finishes here



8. See the attachment section of this note for file Plan_TimeChanged.xml. This is the final plan.xml after the changes. Please note, this file is for example only and I have trimmed the file for ease of reading. In your plan.xml you might see more lines and they can stay as they are.
9. Now navigate back to the Summary of deployments page of the Weblogic console.
10. Stop the Worklistapp.
11. Select Worklistapp and update the Worklistapp with the generated plan.xml by clicking "Update" button.
Gotcha: Catch point, You might get errors stating that "you might not be able to update few applications dynamically", if you get this error, all you need to do is stop the application, that is being complained about.

12. Start the Worklistapp.
13. This completes the change of the session time out.
14. Retest the scenario.
15. If you would want to double check if your session time out settings have taken effect, Navigate to

Home >Summary of Deployments > and expand Worklistapp --> Click On /integration/worklistapp module --> Then in this Module page navigate to the "Monitoring" and "Sessions" sub tab you will notice that the session time out has changed to how much ever you might have stated in the above steps.

Oracle SOA 11g WorkList Branding Icon customization


How to change - the Branding image icon in the BPM worklist applications.

Issue:
Changing the global branding icon in the administrative tab of worklist is only changing the branding icon in the login page. After successful login, all other pages are showing Oracle Icon.
Solution :
Some of the pages are using adf panel template with style sheet configured to a oracle icon image as spacer image. Following are the steps to customize this space image.
1. On Soa suite server, backup the following file <>/user_projects/domains/<>/servers/soa_server1/tmp/_WL_user/worklistapp/960vxc/war/templates/panelPageTemplate.jspx
2. Edit Followng section in above file as :
a) Search for the word “AFBrandingBarLogo” in the above file, and comment out the line as following :

Add the following line after the above commented line, include the custom image in the following line

Note: In above h: is the namespace, add following namespace declaration at top of the file
xmlns:h="http://java.sun.com/jsf/html"


Wednesday, December 15, 2010

How to get for each index value in XSLT




use the position and assign it to a xsl variable right after the start of for-each

Wednesday, December 08, 2010

Preference Variable in Oracle BPEL 11g

How to setup Preference variable in Oracle BPEL 11g ?
Edit composite.xml to have the preference variable property under bpel component section property name as bpel.preference.
ex: true

Use this property in the BPEL with xpath function ora:getPreference() to access value

During runtime the properties can be modified in em on SystemMbean , soa_infra.. to the Composite, and update the variables.

Tuesday, November 02, 2010

Oracle SOA suite 11g installation issue

Weblogic JVM not starting due to defualt memory setup issue, use following env parameters
On Linux
setenv EXTRA_JAVA_PROPERTIES "-Xms512m -Xmx512m"

On Windows
set EXTRA_JAVA_PROPERTIES="-Xms512m -Xmx512m"

got from the link
http://itknowledgeexchange.techtarget.com/itanswers/vm-could-not-reserve-enough-space-for-object-heap-from-oracle-jdeveloper11g/

Friday, October 08, 2010

Biztalk 2006 R2 EDI Batching

EDI Batching – How does it work ?, How do we configure EDI application to Batch



Microsoft provides an EDI application to help the batching of EDI files to send that as a group to Trading partners.

The application name is Biztalk EDI Application.

Under above application, an orchestration “Microsoft.BizTalk.Edi.BatchingService” is subscribed against promoted properties EDI. PartyDestinationId, EDI.ToBeBatched, EDI.EncodeType

This orchestration will process all the EDI Message with above three properties promoted and apply the batching logic configured for the trading partner based on the Party Destination ID



Orchestration developer responsibility :

Create an orchestration and promote above propertied in the expression shape. Use edi dll to get the Party destination ID from party name. Following are the code snippet used in the expression :

msgEDI820(EDI.ToBeBatched)=true;

msgEDI820(EDI.DestinationPartyId)=varNet_PartyUtilities.GetPartyIDFromPartyName("tradingPartnerName");

msgEDI820(EDI.EncodingType)=0;



In above code snippet varNet_PartyUtilities is .net serializable class that access edi dll to get the party ID as

using System;

using System.Collections.Generic;

using System.Text;

using Microsoft.BizTalk.Edi.PartnerAgreementManager;



{

[Serializable]

public class PartyUtilities

{

public Int32 GetPartyIDFromPartyName(string inPartyName)

{

Partner varNet_ParAgrMan_Partner = new Partner(inPartyName);

Int32 varInt32_PartyId = varNet_ParAgrMan_Partner.PartyId;

return varInt32_PartyId;

}

}

}



Now, with above configuration, ensure the orchestration sends the edi messages to the biztalk message box with those three properties set, this is done by sending to ‘direct bound’ send port.



When the edi message gets into biztalk message box, already subscribed batch orchestation(looking for those 3 properties exist) will fetch the message and apply the batching rule configured for the filted partyID and it will release the batch to message box by setting EDI.ToBeBatched=False.

Configre a stand alone send port with filter condition of :

EDI.DestinationPartyName == Trading party name And

EDI.ToBeBatched == False

Configure this send port the EDI Pipe line ‘edisend’ to spit out the native batched edi file. To select edi send pipe line the project should reference to the Microsoft edi batch project.