Tuesday, April 14, 2015

MDS-01330: unable to load MDS configuration document


Following deployment error is seen in some cases when MDS configuration is incorrect

Error: oracle.fabric.common.FabricException: oracle.mds.config.MDSConfigurationException: MDS-01330: unable to load MDS configuration document   
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage is invalid.   
MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.   
MDS-00003: error connecting to the database   
Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

: MDS-01330: unable to load MDS configuration document   
MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage  is invalid.   
MDS-01259: The metadata store "oracle.mds.persistence.stores.db.DBMetadataStore" cannot be instantiated.   
MDS-00003: error connecting to the database   
Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLException: ORA-01017: invalid username/password; logon denied

Validate adf-config.xml if the MDS entries are proper and try to deploy again.

Oracle SOA MDS Account Locked



Today, when tried to deploy a composite to standalone SOA Server from JDeveloper, I ran into the below issue.

JDeveloper stopped listing my SOA Server in the deploy wizard. Reason is SOA_MDS Schema password is expired. To find this out, I validated the data source connection in Weblogic Console.

I followed below steps to bring up the SOA Server and deploy my composite successfully.

The DBMS driver exception was: ORA-28000: the account is locked 

Change Password and Unlock the MDS account
ALTER USER username IDENTIFIED BY new-password;
ALTER USER username ACCOUNT UNLOCK;

Validate if data source connection works fine in Weblogic Console and then restart SOA Server.

Wednesday, April 1, 2015

Mockups in Oracle ADF


Every UI designer will be familiar with the word MockUps. This is the first cut to the customer while proposing a application which can be a Stand alone or Web or Mobile Application.

Below are different ways to develop mockups.
  • Place holder Data Control - Static Data
             Oracle ADF provides an in built approach using Placeholder Data Control to support Mockups.
             Below are easy references to the mockup development using place holder data control            
             https://blogs.oracle.com/jdeveloperpm/entry/options_for_creating_poc_mockups_in_adf

             Note that the placeholder data control is meant to help you design the page visually - not 
             to actually achieve functionality in the page.
             For that you'll need to actually build the application.

  •  Microsoft Visio Stencils provided by Oracle
             You may also develop the mockups using Microsoft Visio Stencils provided by Oracle 
              out of JDeveloper as pointed out below pretty quickly

              Download ADF_Faces_Stencils_for_Visio.zip from below link
              http://www.oracle.com/technetwork/indexes/samplecode/jdeveloper-adf-sample-522118.html


              Below links explain how to develop mockups using Stencils provided by Oracle
              http://lucbors.blogspot.com/2011/03/adf-11g-ui-designer-meets-adf-developer.html

             https://blogs.oracle.com/jdeveloperpm/entry/adf_faces_stencils_for_visio_available_on_samplecode