How To Change WebCenter Spaces (webcenter.ear) Application Configuration Files (connections.xml, adf-config.xml, web.xml, etc.)? (Doc ID 1557319.1)

Last updated on JUNE 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Goal

This is an important note as it explains the best practices for changing the WebCenter Spaces (webcenter.ear) application configuration files.

By following these recommendations, it eliminates the need to touch or explode the webcenter.ear file and issues with patching and/or upgrading will no longer be of concern.  This will make sure that the configurations are not lost during those activities and patches can be safely installed.

The WebCenter Spaces files are split by:

In summary things would look like:

 +-- webcenter.ear
     +-- adf/META-INF/
         +-- adf-config.xml                   -> To be changed via WLST
         +-- connections.xml                  -> To be changed via WLST
     +-- META-INF/
         +-- application.xml
         +-- weblogic-application.xml
     +-- spaces.war
         +-- WEB-INF
             +-- web.xml                      -> To be changed/added within the DesignWebCenterSpaces application (to Extend WebCenter Spaces)
             +-- weblogic.xml

webcenter.ear/adf/META-INF/adf-config.xml - It stores the application-level settings, like description, application defaults, etc.

webcenter.ear/adf/META-INF/connections.xml - It stores connection details for WebCenter Portal services, other type of connections that may be needed by the application.

webcenter.ear/META-INF/application.xml - Is a standard Java EE deployment description, but it is also used to populate a security mapping for the "valid-users" role (when using ADF Security).

webcenter.ear/META-INF/weblogic-application.xml - Is the WebLogic Server-specific deployment descriptor for an enterprise application; it contains configuration information about the XML, JDBC, and EJB resources used by an enterprise application.

webcenter.ear/spaces.war/WEB-INF/web.xml - The standard JavaEE configuration file that lists out the servlets, filters and security settings for the application - spaces.war.

webcenter.ear/spaces.war/WEB-INF/weblogic.xml - It is the web application deployment descriptor file.

 

There is another file called webcenter-config.xml (or webcenter-config.xml.xml - customization file), which is a XML base document within the MDS (MetaData Repository side).

MDS_REPOS/oracle/webcenter/webcenterapp/metadata/webcenter-config.xml - It is the XML base document.

MDS_REPOS/oracle/webcenter/webcenterapp/metadata/mdssys/cust/site/webcenter/webcenter-config.xml.xml -It is the customization layer on top of the above XML base document.

 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms