Saturday, July 27, 2013

Error while creating domain of SOA server

If you encountered below error while running RCU then it could be either because you have recently changed the network settings like ip, domain name etc of your machine or the network setup of the machine is not complete.

2010-11-09 15:14:47,750 ERROR [create_gui] com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask - Generation Error!!
Traceback (innermost last):
File "<iostream>", line 35, in ?
File "/mymwhome/wlserver_10.3/common/wlst/modules/jython-modules.jar/Lib/socket$py.class", line 338, in gethostname
gaierror: (20001, 'getaddrinfo failed')
...


To resolve this issue first check whether the machine can resolve its own ip and hostname -

$ ping <hostname>
$ ping <ip address>

check DNS name resolution

$ nslookup <hostname>

If the server cannot resolve its own ip or hostname then modify /etc/hosts file with entry

<ip address> hostname.domain hostname

This should solve the error. Rerun the RCU and it should go smooth.

Tuesday, July 23, 2013

DB based MDS and adf-config.xml

Version 11.1.1.6

JDeveloper can be used to connect to DB based MDS. The steps to create DB based MDS are -


Create DB connection to DEV_MDS.
Create MDS connection (DB based) while selecting the db connection created in first step.
Add that MDS connection to the repository and you are ready to refer the artifacts from DB based MDS.


Sometimes if adf-config.xml is not correct you may face below error while opening the application.

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 "mstore-usage_2" is invalid.
MDS-00011: unable to create configuration object or MDSInstance due to invalid configuration information: oracle.mds.exception.MDSException: MDS-01373: unable to retrieve password.
MDS-01373: unable to retrieve password.


Make sure that mstore-usage is defined correctly. Pasting the correct adf-config.xml here -

<metadata-namespaces>
          <namespace path="/deployed-composites/default"
                     metadata-store-usage="mstore-usage_2"/>
          <namespace path="/soa/shared" metadata-store-usage="mstore-usage_3"/>
        </metadata-namespaces>
        <metadata-store-usages>
          <metadata-store-usage id="mstore-usage_2">
            <metadata-store class-name="oracle.mds.persistence.stores.db.DBMetadataStore">
              <property name="jdbc-userid" value="DEV_MDS"/>
              <property name="jdbc-password" value="password"/>
              <property name="jdbc-url"
                        value="jdbc:oracle:thin:@<ipaddress>:<port>:<SID>"/>
              <property name="partition-name" value="soa-infra"/>
            </metadata-store>
          </metadata-store-usage>
.....


Demystifying OIC, OCI and Oracle SOA CS

What is OIC (Oracle integration cloud), OCI (Oracle cloud infrastructure), and SOA cloud service and how they are different? - This has bee...