My Oracle Support Banner

MDS-00515: failure to create document /assertiontemplates/oracle/sts_trust_config_client_template in the metadata repository- DB and OSB in Different Subnets (Doc ID 2147337.1)

Last updated on JUNE 10, 2016

Applies to:

Oracle Web Services Manager - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

PROBLEM DESCRIPTION
--------------------

When trying to create a new 12.1.3 OSB domain, the domain creation fails with the below error:

SEVERE [66] com.oracle.cie.domain.DomainGenerator - Domain Creation Failed!

Domain Location: /opt/oracle/Middleware12c/user_projects/domains/res_dev

Reason: java.io.IOException: WSM-04672 : The document "/assertiontemplates/oracle/sts_trust_config_client_template"

cannot be written to repository due to underlying error

"oracle.mds.persistence.MDSIOException: MDS-00515: failure to create document /assertiontemplates/oracle/sts_trust_config_client_template in the metadata repository
java.sql.BatchUpdateException: IO Error: Connection timed out
IO Error: Connection timed out".

Exception:

java.io.IOException: WSM-04672 : The document "/assertiontemplates/oracle/sts_trust_config_client_template" cannot be written to repository due to underlying error "oracle.mds.persistence.MDSIOException: MDS-00515: failure to create document /assertiontemplates/oracle/sts_trust_config_client_template in the metadata repository
java.sql.BatchUpdateException: IO Error: Connection timed out
IO Error: Connection timed out".

com.oracle.cie.domain.owsm.external.OwsmException: java.io.IOException: WSM-04672 : The document "/assertiontemplates/oracle/sts_trust_config_client_template" cannot be written to repository due to underlying error "oracle.mds.persistence.MDSIOException: MDS-00515: failure to create document /assertiontemplates/oracle/sts_trust_config_client_template in the metadata repository
java.sql.BatchUpdateException: IO Error: Connection timed out
IO Error: Connection timed out".
at oracle.wsm.seeding.SeedConfigurationProcessor.end(SeedConfigurationProcessor.java:87)
at com.oracle.cie.domain.OwsmConfigurationFactoryRunner.end(OwsmConfigurationFactoryRunner.java:153)
at com.oracle.cie.domain.DomainGene


WHAT IS WORKING
---------------

The issue only occurs on specific servers where the OSB server and the Database holding the MDS schema are in different IP segments.

Example: 10.100.11.111  and 10.100.12.13

ENVIRONMENT
------------
12.1.3
OS: Linux
OSB/OWSM

STEPS
------

1. Try to create the OSB domain from a machine that does not have the database where the MDS schema is installed and where the DB resides in a different subnet from the OSB server 
2. You will get the above exception


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.