The basic deployment configuration for an application is defined in a deployment plan. A deployment plan is a collection of deployment descriptors, which are XML documents. The deployment descriptors for content management are defined in the content-config.xml
file.
Caution: | WebLogic Server imposes no restrictions on the configuration properties that a user can modify using the WebLogic Portal Administration Console. Changes made in the administration console can override the settings made in the content-config.xml file. Therefore, if you use this method, be sure to follow the recommendations made in
Configuring Applications for Production Deployment in Deploying Applications to WebLogic Server. It is recommended that you use the content management API’s or administration tools to change your repository configuration. |
This chapter contains the following topics:
You can enable library services in content-config.xml
. This is useful when you want to add a custom workflow that you want propagated in a production environment or when you want to share library services across a team of developers.
To enable library services using a deployment descriptor from Workshop for WebLogic:
content-config.xml
file.content-config.xml
file:<repository-property>
<name>MANAGEMENT_ENABLED</name>
<value>true</value>
</repository-property>
This section provides information about setting a cleartext password in content-config.xml
when using a third-party repository.
To set a cleartext password in content-config.xml
:
content-config.xml
file.content-config.xml
file:<content-store>
<name>BEA_ExtendedRepository</name>
<description>Portal Test Extended Repository
Configuration</description>
<class-name>com.bea.content.spi.internal.ExtendedRepositoryImpl
</class-name>
<password></password>
</content-store>
<password>{3DES}85Kmho5Uphc=</password>
Note: | Password must begin with a {3DES} and end with = . |
Note: | The password is specific to the given domain and must be run as a command line utility from that domain directory. This password will not work with another domain. |
To edit the content-config.xml
file from Workshop for WebLogic:
<
PortalEARProject
>/EarContent/META-INF
folder.content-config.xml
is not in this folder, otherwise go to step 3:Tip: | Some items listed in the Merged Projects view are italicized. The italicized items represent entities that are stored in shared J2EE libraries. All entities that are stored on your file system are shown in regular type. |
<
PortalEARProject
>/EarContent/META-INF/content-config.xml
file and select Copy To Project from the context menu.content-config.xml
file.