Friday, July 04, 2014

How to display timestamp in Oracle BPM task UI page

Use af:ConvertDateTime inside af:inputDate as show in the screenshot


Code view :

Thursday, September 19, 2013

Get a taste of Oracle Java as a Service on Oracle Cloud

This document provides details for trying and getting a hands-on experience using Java on Oracle cloud platform as a service (PaaS). 

Step 1: 

Go to http://cloud.oracle.com and request for a Java Try account. With this request a plat form of weblogic, and associated database connection to a single database schema will be provided.
Value proposition of this PaaS is its ability to abstract all the infrastructure and administrative complexity and provide only required administrative screens for a business platform operation.
After getting trial account confirmation email, sign in to http://cloud.oracle.com, and see the list of java and database service activated as shown in the following screen shot.



Step 2:

Click on service name Java to get service detail and its management option. The Java service detail page will show the options and details about the sftp accounts to move files in and out from cloud. It also has link to Identity console, in which users and roles accounts could be created  and link to service console that take enterprise manager (EM) page of Java server in which application deployment, application management and monitoring could be performed.


To create users, modify password, click on button Identity console



Step 3:

Confirm the associated data source name from em console by clicking button ‘Service Console’ from Java Instance detail page.  Java PaaS trial version provides already associated database as a cloud (DaaS) with datasource name as ‘database’ as shown in the following service console screen.


Above steps ensure all the required components are available for web application development. Now, to test out the application development, download ‘Oracle Java Cloud Service SDK’ from http://www.oracle.com/technetwork/topics/cloud/downloads/index.html
Above SDK comes with many sample applications. Setup the environment as explained below to use SDK samples.

Step 1: 

Unzip sdk files to a folder (ex: c:\tools). Modify build.common.properties file in ‘samples’ folder (C:\tools\oracle-javacloud-sdk\oracle-javacloud-sdk\samples) as per the instruction in file. Following are the important parameters. These values are determined from service instance detail page of your cloud environment.
#Identity domain name
identity-domain=trialasxh
#Service instance name
service-instance=java
# Name of the datasource that the application will use to do database operations.
# This datasource name is same as your Database Cloud Service name which is associated with this Java Cloud Service.
data-source=database
Ensure ‘ant’ is available in the path, and run ‘ant’ at folder.  Verify all the samples war files (ex: petsore.war) are created under folder ‘apps’ (C:\tools\oracle-javacloud-sdk\oracle-javacloud-sdk\samples\apps).

Step 2:

Go to cloud java service console page and deploy petsore.war using the ‘Deploy New’ button as shown in the following screenshots








Step 3:

Test deployed petsore application by clicking test link from service console page as shown below.


Type ‘/bookstore’ at the end of the url to get to the petstore home page.


Step 4 :

Verify tables and data in database by navigating to database console clicking ‘Launch Service’ button from database service detail page as shown following screenshots




Thursday, February 07, 2013

Oracle E-Bis Inegration video


http://youtu.be/pfGNToFMKNE - BPM/SOA/EBS/Siebel integrated demo.

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