Skip Headers
Oracle® Fusion Middleware Administrator's Guide for Oracle WebCenter Portal
11g Release 1 (11.1.1.7.0)

Part Number E12405-19
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

14 Managing the Announcements and Discussions Services

This chapter describes how to configure and manage the Announcements and Discussions services for your application. These two services use the same connection to Oracle WebCenter Portal's Discussion Server.

Unless otherwise documented, do not make configuration changes within Oracle WebCenter Portal's Discussion Server. Always use Fusion Middleware Control or the WLST command-line tool to review and configure back-end services for WebCenter Portal applications. For troubleshooting tips with Oracle WebCenter Portal's Discussion Server, see Section 14.12, "Troubleshooting Issues with Announcements and Discussions."

Any changes that you make to applications, post deployment, are stored in MDS metatdata store as customizations. See Section 1.3.5, "WebCenter Portal Configuration Considerations."

Note:

Configuration changes for the Discussions and Announcements services, through Fusion Middleware Control or using WLST, are not dynamic so you must restart the managed server on which your application is deployed for changes to take effect. See Section 8.2, "Starting and Stopping Managed Servers for WebCenter Portal Application Deployments."

This chapter includes the following sections:

Audience

The content of this chapter is intended for Fusion Middleware administrators (users granted the Admin or Operator role through the Oracle WebLogic Server Administration Console). See also, Section 1.8, "Understanding Administrative Operations, Roles, and Tools."

14.1 What You Should Know About Discussions Server Connections

The Discussions service enables users to start, publish, and store discussions in your application. The Announcements service lets you create and expose announcements on your application pages.

The Discussions service and the Announcements service require a single connection to Oracle WebCenter Portal's Discussion Server. Both services use the same connection. Oracle WebCenter Portal's Discussion Server can be installed with Oracle Fusion Middleware.

You can register additional discussion server connections through the Fusion Middleware Control Console or using WLST, but only one connection is active at a time:

WebCenter Portal: Spaces

Some additional configuration is required to use Discussions and Announcements services in the Spaces application. This includes choosing the category (on the discussions server) under which all Spaces discussions and announcements are stored, and more. This configuration takes place inside Spaces. For more information, see "Configuring Discussion Forum Options for Spaces" in the Oracle Fusion Middleware User's Guide for Oracle WebCenter Portal: Spaces.

14.2 Discussions Server Prerequisites

This section includes the following subsections:

14.2.1 Discussions Server - Installation

While installing Oracle WebCenter Portal, select to install Oracle WebCenter Portal's Discussion Server. Use the Repository Creation Utility (RCU) to create the DISCUSSIONS schema.

The Oracle Fusion Middleware Configuration Wizard automatically creates managed servers in the domain to host the selected WebCenter Portal components.

14.2.1.1 Discussions Server - High Availability Installation

To set up Oracle WebCenter Portal's Discussion Server for high availability:

  1. Install the WC_Collaboration domain in a clustered environment.

  2. Log on to the discussions server admin console as an administrator by using the following URL format: http://host:port/owc_discussions/admin.

  3. Go to the Cache Features page, and select to enable clustering (Figure 14-1).

Figure 14-1 Cache Features - Clustering

Description of Figure 14-1 follows
Description of "Figure 14-1 Cache Features - Clustering"

14.2.2 Discussions Server - Configuration

Note:

In a new or patched WebCenter Portal instance, the assigned security policy configuration is set to "no security policy." You must attach Oracle Web Services Manager (OWSM) security policies for the Spaces Web service endpoint and the Discussions authenticated Web service endpoint.

For detailed information, see Section 35.1.3.1, "Attaching Security Policies for Spaces and Discussions Web Service Endpoints."

There are numerous WLST commands for configuring the discussions server.

You can view, set, and remove Oracle WebCenter Portal's Discussion Server system properties with the following WLST commands:

  • getDiscussionsServerProperty

  • setDiscussionsServerProperty

  • removeDiscussionsServerProperty

The addDiscussionsServerAdmin command grants system administrator permissions on the discussions server to a user or a group. This command is useful when you connect the discussions server to a new identity store that does not contain any of the current administrators. For command syntax and examples, see the section, "Discussions and Announcements" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

When you update Discussions or Announcements permissions for a space hierarchy, subspaces do not automatically inherit the corresponding permission changes on the discussions server. For subspaces to inherit discussions server permission changes applied to a parent, you must run the syncDiscussionServerPermissions command (WebCenter Portal: Spaces only). For command syntax and examples, see the section, "syncDiscussionsServerPermissions" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

Note:

To execute discussions server WLST commands, such as syncDiscussionServerPermissions, the user used to connect to the admin server must also have administrative privileges on the discussions server.

14.2.3 Discussions Server - Security Considerations

  • WS-Security establishes a trust relationship between your application and Oracle WebCenter Portal's Discussion Server so that your application can pass the user identity information to the discussions server without knowing the user's credentials.

    Configure OWSM WS-Security for Oracle WebCenter Portal's Discussion Server, depending on your topology, following either Section 35.1.3, "Configuring the Discussions Server for a Simple Topology," Section 35.2.3, "Configuring the Discussions Server for a Typical Topology," or Section 35.3.3, "Configuring the Discussions Server for a Complex Topology."

  • Oracle WebCenter Portal's Discussion Server-specific Web Services messages sent by WebCenter Portal applications to the discussions server are not encrypted. For message confidentiality, access the discussions server URL over Secure Socket Layer (SSL) or protect the Web Service end points with an OWSM policy. For more information, see Chapter 34, "Configuring SSL" and Chapter 35, "Configuring WS-Security."

  • By default, Oracle WebCenter Portal's Discussion Server is configured to use the embedded LDAP identity store: All users in the embedded LDAP store can log on to the discussions server, and all users in the Administrators group have administrative privileges on the discussions server.

    For your production environment, you must reassociate the identity store with an external LDAP server, as described in Section 30.1, "Reassociating the Identity Store with an External LDAP Server." In addition, you must either move the Fusion Middleware administrator account to the external LDAP (as described in Section 30.4, "Moving the Administrator Account to an External LDAP Server"), or if you choose not to move the administrator account, you must perform some additional steps to identify the new administrator account for the discussions server as described in Section 30.4.1, "Migrating WebCenter Portal's Discussions Server to Use an External LDAP."

  • You can configure Oracle WebCenter Portal's Discussion Server to leverage single sign-on security using Oracle Access Manager, Oracle Single Sign-On, or SAML-based single sign-on.

    Note:

    Direct login to the discussions server is not supported after SSO is configured. Login through the Oracle HTTP Server URL.

    For detailed information, see Chapter 32, "Configuring Single Sign-on." For Discussions-specific instructions for Oracle Access Manager (OAM), see Chapter 32, "Configuring the Discussions Server for SSO."

    Note:

    If you set up SAML single sign-on, with WebCenter Portal: Spaces as the source application and Oracle WebCenter Portal's Discussion Server as the destination application, then you can access Oracle WebCenter Portal's Discussion Server administration pages from Spaces as follows:

    • Space > Settings > Services page

    • Administration > Configuration > Services page

    However, because the administration pages of Oracle WebCenter Portal's Discussion Server do not participate in single sign-on, if you access the administration pages directly, you are required to log in to discussions server again.

  • If WebCenter Portal is not integrated with a single sign-on solution, then different login sessions are required for the owc_discussion user (/owc_discussions) and the owc_discussion admin user (/owc_discussions/admin).

  • User Identity: User identity management is handled by authentication providers settings specified in Oracle WebLogic Server using custom JPS Auth Factory. To check that the correct auth factory is running, go to Oracle WebCenter Portal's Discussions Server admin console Systems Properties page and confirm the following property values:

    • owc_discussions.setup.complete_11.1.1.2.0=true

    • AuthFactory.className=oracle.jive.security.JpsAuthFactory

      If the AuthFactory.className is set to this value, then set the owc_discussions.setup.complete_11.1.1.2.0 property to false and restart Oracle WebCenter Portal's Discussion Server. This ensures that proper initialization is done for the application.

14.2.4 Discussions Server - Limitations

Oracle WebCenter Portal's Discussion Server URL supports only English and Spanish languages for displaying labels; however, data can be entered in UTF-8 format. Oracle recommends using the WebCenter Portal application (with all supported languages) for user operations in the discussions server. All WebCenter Portal-supported languages are supported for data, such as discussion topics or announcements, and they are displayed in the discussions server also.

The Discussions and Announcements services do not support non-ASCII user names if the WebCenter Portal instance is running in a native encoding on Microsoft Windows. In a Linux environment, to allow support for non-ASCII user names in the Discussions and Announcements services, the server on which WebCenter Portal is deployed must have the environment variable LC_ALL set to utf-8.

WebCenter Portal: Spaces

Do not change user permissions in the discussions server, as this might cause unexpected behavior. Always manage user permissions for discussions and announcements in Spaces. For more information, see "Understanding Discussions Server Role Mapping" in Oracle Fusion Middleware User's Guide for Oracle WebCenter Portal: Spaces.

14.3 Registering Discussions Servers

You can register multiple discussions server connections for a WebCenter Portal application, but only one is active at a time.

To start using the new (active) connection you must restart the managed server on which the application is deployed.

This section includes the following subsections:

14.3.1 Registering Discussions Servers Using Fusion Middleware Control

To register a discussions server:

  1. Log in to Fusion Middleware Control and navigate to the home page for the application. For more information, see:

  2. Do one of the following:

    • For the Spaces application - From the WebCenter Portal menu, select Settings > Service Configuration.

    • For Framework applications - From the Application Deployment menu, select WebCenter Portal > Service Configuration.

  3. From the list of services on the WebCenter Portal Service Configuration page, select Discussions and Announcements.

  4. To connect to a new discussions server, click Add (Figure 14-2).

    Figure 14-2 Configuring Discussion and Announcement Connections

    Configuring a Content Repository
  5. Enter a unique name for this connection, and indicate whether this connection is the active (or default) connection for the application (Table 14-1).

    Table 14-1 Discussion and Announcement Connection - Name

    Field Description

    Connection Name

    Enter a unique name for the connection.

    The name must be unique (across all connection types) within the application.

    Active Connection

    Select to use this connection for the Discussions and Announcements services in the application.

    While you can register multiple discussions server connections for an application, only one connection is used for discussion and announcement services—the default (or active) connection.


  6. Enter connection details for the discussions server. For details, see Table 14-2.

    Table 14-2 Discussion and Announcement Connection - Connection Details

    Field Description

    Server URL

    Enter the URL of the discussions server hosting discussion forums and announcements.

    For example: http://discuss-server.com:8890/owc_discussions

    Administrator User Name

    Enter the user name of the discussions server administrator.

    This account is used by the Discussions and Announcements services to perform administrative operations on behalf of WebCenter Portal users.

    In the Spaces application, this account is mostly used for managing space-related discussions and announcements. It is not necessary for this user to be a super admin. However, the user must have administrative privileges on the current root category for WebCenter Portal: Spaces, that is, the category (on the discussions server) under which all space-related discussions and announcements are stored.

    Note: If your application does not include space-related functionality, then the administrator's user name is not required.

    Authenticated User Web Service Policy URI

    Select the policy this connection uses for authenticated access to the discussions server Web Service.

    SAML (Security Assertion Markup Language) is an XML-based standard for passing security tokens defining authentication and authorization rights. An attesting entity (that has trust relationship with the receiver) vouches for the verification of the subject by method called sender-vouches.

    The client policy specified must be compatible with the service policy that is configured for the OWCDiscussionsServiceAuthenticated endpoint in the discussions server. Out-of-the-box, the default service policy is WSS 1.0 SAML Token Service Policy (oracle/wss10_saml_token_service_policy).

    Options available are:

    • WSS 1.0 SAML Token Client Policy (oracle/wss10_saml_token_client_policy)

    • WSS 1.1 SAML Token With Message Protection Client Policy (oracle/wss11_saml_token_with_message_protection_client_policy)

    • Global Policy Attachment

    If your environment supports Global Policy Attachments, you must ensure that the default policy attached to the OWCDiscussionsServiceAuthenticated endpoint in the discussions server is set to oracle/no_authentication_client_policy using the WLST command detachWebServicePolicy or Enterprise Manager.

    Public User Web Service Policy URI

    Select the client policy this connection uses to enforce message security and integrity for public access to the discussions server Web Service.

    The client policy specified must be compatible with the service policy that is configured for the OWCDiscussionsServicePublic endpoint in the discussions server. Out-of-the-box, a service policy is not configured for public access (None).

    Options available are:

    • None - This is the default setting.

    • WSS 1.1 Message Protection Client Policy (oracle/wss11_with_message_protection_client_policy)

    • Global Policy Attachment

    If your environment supports Global Policy Attachments, you must ensure that the default policy attached to the OWCDiscussionsServicePublic endpoint in the discussions server is set to oracle/no_authentication_client_policy using the WLST command detachWebServicePolicy or Enterprise Manager.

    Recipient Key Alias

    Enter the recipient key alias to be used for message protected policies (applicable to the OWCDiscussionsServicePublic and OWCDiscussionsServiceAuthenticated endpoints). This is the alias to the certificate that contains the public key of the discussions server in the configured keystore.

    See also Chapter 35, "Configuring WS-Security".


  7. Configure advanced options for the discussion and announcement connection (Table 14-3).

    Table 14-3 Discussion and Announcement Connection - Advanced Configuration

    Field Description

    Connection Timeout (in Seconds)

    Specify a suitable timeout for the connection.

    This is the length of time (in seconds) the application waits for a response from the discussions server before issuing a connection timeout message.

    The default is -1, which means that the service default is used. The service default is 10 seconds.


  8. Sometimes, additional parameters are required to connect to the discussions server, for example, those listed in Table 14-4.

    Table 14-4 Additional Discussion Connection Properties

    Additional
    Connection Property
    Description

    application.root.category.id

    (WebCenter Portal: Spaces only) Application root category ID on the discussions server under which all discussion forums are stored. For example, if set to 3, then all forums are stored in the category with ID 3.

    linkURL

    URL used to link users to the discussions server's Admin Console. Only required if it is different to the server URL property; for example, when SSO or HTTPS is configured.

    Use the following format to specify an alternative public external URL: protocol://host:port

    For example: http://example.com:7777


    If additional parameters are required to connect to the discussions server, expand Additional Properties and enter details as required (Table 14-5).

    Table 14-5 Discussion and Announcement Connection - Additional Properties

    Field Description

    Add

    Click Add to specify an additional connection parameter:

    • Name - Enter the name of the connection property.

    • Value - Enter the default value for the property.

    • Is Property Secured - Indicate whether encryption is required. When selected, the property value is stored securely using encryption.

      For example, select this option to secure the admin.password property where the value is the actual password.

    Delete

    Click Delete to remove a selected property.

    Select the correct row before clicking Delete.

    Note: Deleted rows appear disabled until you click OK.


  9. Click OK to save this connection.

  10. To start using the new (active) connection you must restart the managed server on which the application is deployed. For more information, see Section 8.2, "Starting and Stopping Managed Servers for WebCenter Portal Application Deployments."

For WebCenter Portal: Spaces, some additional configuration is recommended for the Discussions service. For details, see "Configuring Discussion Forum Options for WebCenter Portal: Spaces" in Oracle Fusion Middleware User's Guide for Oracle WebCenter Portal: Spaces.

14.3.2 Registering Discussions Servers Using WLST

Use the WLST command createDiscussionForumConnection to create a discussions server connection. For command syntax and examples, see the section, "createDiscussionForumConnection" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

To configure the Discussions and Announcements services to actively use the new connection, set default=true.

Make sure to set additional properties for WS-Security. See Section 14.5.2, "Modifying Discussions Server Connection Details Using WLST."

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

Note:

To start using the new (active) connection you must restart the managed server on which the application is deployed. For more information, see the section, "Starting and Stopping WebLogic Managed Servers Using the Command Line" in Oracle Fusion Middleware Administrator's Guide.

14.4 Choosing the Active Connection for Discussions and Announcements

You can register multiple discussions server connections for a WebCenter Portal application, but only one connection is active at a time. The active connection becomes the back-end discussions server for:

This section includes the following subsections:

14.4.1 Choosing the Active Connection for Discussions and Announcements Using Fusion Middleware Control

To change the active connection:

  1. Log in to Fusion Middleware Control and navigate to the home page for the application. For more information, see:

  2. Do one of the following:

    • For the Spaces application - From the WebCenter Portal menu, select Settings > Service Configuration.

    • For Framework applications - From the Application Deployment menu, select WebCenter Portal > Service Configuration.

  3. From the list of services on the WebCenter Portal Services Configuration page, select Discussions and Announcements.

    The Manage Discussion and Announcement Connections table indicates the current active connection (if any).

  4. Select the connection you want to make the active (or default) connection, and then click Edit.

  5. Select the Active Connection check box.

  6. Click OK to update the connection.

  7. To start using the new (active) connection you must restart the managed server on which the application is deployed. See Section 8.2, "Starting and Stopping Managed Servers for WebCenter Portal Application Deployments."

14.4.2 Choosing the Active Discussion for Discussions and Announcements Using WLST

Use the WLST command setDiscussionForumConnection with default=true to activate an existing connection. For command syntax and examples, see the section, "setDiscussionForumConnection" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

To disable a Discussions and Announcements connection, either delete it, make another connection the 'active connection', or use the removeDiscussionForumServiceProperty command:

removeDiscussionForumServiceProperty('appName='webcenter', property='selected.connection')

Using this command, connection details are retained but the connection is no longer named as an active connection. For more information, see the section, "removeDiscussionForumServiceProperty" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

Note:

To start using the new (active) connection you must restart the managed server on which the application is deployed. For more information see, "Starting and Stopping WebLogic Managed Servers Using the Command Line" in Oracle Fusion Middleware Administrator's Guide.

14.5 Modifying Discussions Server Connection Details

You can modify discussions server connection details at any time.

To start using the modified (active) connection you must restart the managed server on which the application is deployed.

This section includes the following subsections:

14.5.1 Modifying Discussions Server Connection Details Using Fusion Middleware Control

To update connection details for a discussions server:

  1. Log in to Fusion Middleware Control and navigate to the home page for the application. For more information, see:

  2. Do one of the following:

    • For the Spaces application - From the WebCenter Portal menu, select Settings > Service Configuration.

    • For Framework applications - From the Application Deployment menu, select WebCenter Portal > Service Configuration.

  3. From the list of services on the WebCenter Portal Service Configuration page, select Discussions and Announcements.

  4. Select the connection name, and click Edit.

  5. Edit connection details, as required. For detailed parameter information, see Table 14-2 and Table 14-4.

  6. Click OK to save your changes.

  7. To start using the updated (active) connection you must restart the managed server on which the application is deployed. See Section 8.2, "Starting and Stopping Managed Servers for WebCenter Portal Application Deployments."

14.5.2 Modifying Discussions Server Connection Details Using WLST

Use the WLST command setDiscussionForumConnection to edit connection details. For command syntax and examples, see the section, "setDiscussionForumConnection" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

To set additional parameters, use the setDiscussionForumConnectionProperty command. For more information, see the section, "setDiscussionForumConnectionProperty" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

Note:

To start using the updated (active) connection you must restart the managed server on which the application is deployed. For more information, see the section, "Starting and Stopping WebLogic Managed Servers Using the Command Line" in Oracle Fusion Middleware Administrator's Guide.

14.6 Deleting Discussions Server Connections

You can delete discussions server connections at any time but take care when deleting the active connection. If you delete the active connection, none of the Discussions or Announcements task flows work, as they all require a back-end discussions server.

This section includes the following subsections:

14.6.1 Deleting a Discussions Server Connection Using Fusion Middleware Control

To delete a discussions server connection:

  1. Log in to Fusion Middleware Control and navigate to the home page for the application. For more information, see:

  2. Do one of the following:

    • For the Spaces application - From the WebCenter Portal menu, select Settings > Service Configuration.

    • For Framework applications - From the Application Deployment menu, select WebCenter Portal > Service Configuration.

  3. From the list of services on the WebCenter Portal Services Configuration page, select Discussions and Announcements.

  4. Select the connection name, and click Delete.

  5. To effect this change you must restart the managed server on which the application is deployed. For more information, see Section 8.2, "Starting and Stopping Managed Servers for WebCenter Portal Application Deployments."

    Note:

    Before restarting the managed server, mark another connection as active; otherwise, the service is disabled.

14.6.2 Deleting a Discussions Server Connection Using WLST

Use the WLST command deleteConnection to remove a connection. For command syntax and examples, see the section, "deleteConnection" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

Ensure that another connection is marked active; otherwise, the service is disabled.

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

Note:

To effect this change you must restart the managed server on which the application is deployed. For more information, see the section, "Starting and Stopping WebLogic Managed Servers Using the Command Line" in Oracle Fusion Middleware Administrator's Guide.

14.7 Setting Up Discussions Service Defaults

Use the WLST command setDiscussionForumServiceProperty to set defaults for the Discussions service in your application:

For command syntax and examples, see the section, "setDiscussionForumServiceProperty" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

14.8 Setting Up Announcements Service Defaults

Use the WLST command setAnnouncementServiceProperty to set defaults for the Announcements service:

For command syntax and examples, see the section, "setAnnouncementServiceProperty" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

For information on how to run WLST commands, see Section 1.13.3.1, "Running Oracle WebLogic Scripting Tool (WLST) Commands."

14.9 Testing Discussions Server Connections

Try accessing the discussions server with the following URL:

http://host:port/owc_discussions

You should see a page listing all public information.

14.10 Granting Administrator Permissions on the Discussions Server

The WLST command addDiscussionsServerAdmin grants system administrator permissions on the discussions server to a user or a group. The WLST command addDiscussionsCategoryAdmin grants category administrator permissions on the discussions server to a user or a group for a specific category ID.

These commands are useful when you connect the discussions server to a new identity store that does not contain any of the current administrators.

For command syntax and examples, see the sections, "addDiscussionsServerAdmin" and "addDiscussionsCategoryAdmin" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

14.11 Granting Administrator Role on the Discussions Server

The default domain administrator created for WebCenter Portal is also the administrator for Oracle WebCenter Portal's Discussion Server. You can make a nondefault user the administrator for the discussions server too.

While creating a domain, if you specify any other user as the domain administrator, that user is granted all the domain administrative rights. However, after creating the domain, you must manually grant the administrator role to that nondefault user in both the Spaces application and the discussions server. For information on how to grant administrator privileges to a nondefault user for Spaces, see Section 31.6.1, "Granting the Spaces Administrator Role."

For Oracle WebCenter Portal's Discussion Server, the default user is the super administrator. This section describes how to grant administrator privileges to a nondefault user.

14.11.1 Granting the Discussions Server Administrator Role using WLST

The WLST command addDiscussionsServerAdmin lets you grant system administrator permissions on the Discussions server to a user or a group. This is useful when you connect the discussions server to a new identity store. For command syntax and examples, see the section, "addDiscussionsServerAdmin" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

14.11.2 Granting the Discussions Server Administrator Role using the Admin Console

To grant the administrator role for Oracle WebCenter Portal's Discussion Server to a nondefault user:

  1. Log on to the discussions server admin console as an administrator by using the following URL format: http://host:port/owc_discussions/admin.

  2. Click the Settings link in the list of links across the top of the page.

  3. Click the Admins/Moderators link, if not selected, in the navigation panel on the left.

  4. On the Admins & Moderators page, click the Grant New Permissions tab.

  5. Select the System Admin check box.

  6. Select the A Specific User check box and specify the user to whom you want to grant administrative privilege for Oracle WebCenter Portal's Discussion Server.

  7. Click Grant New Permission.

    You can now log on to Oracle WebCenter Portal's Discussion Server as the user whom you have assigned the administrative privilege.

    Figure 14-3 Granting the Administrator Role on Oracle WebCenter Portal's Discussion Server

    Description of Figure 14-3 follows
    Description of "Figure 14-3 Granting the Administrator Role on Oracle WebCenter Portal's Discussion Server"

14.11.3 Revoking the Discussions Server Administrator Role

After assigning the discussions server administrator role to the required nondefault user, you may want to revoke the administrator role from the default user.

To revoke the administrator role:

  1. Log on to discussions server admin console as the nondefault user whom you have assigned the administrator role.

  2. Click the Settings link in the list of links across the top of the page.

  3. Click the Admins/Moderators link, if not selected, in the navigation panel on the left.

  4. On the Admins & Moderators page, under the Permission Summary tab, uncheck the System Admin check box for the required user, for example, weblogic. (Figure 14-4)

    Figure 14-4 Revoking the Administrator Role

    Description of Figure 14-4 follows
    Description of "Figure 14-4 Revoking the Administrator Role"

  5. Click Save Changes.

    The administrative privileges for managing Oracle WebCenter Portal's Discussion Server are now revoked from the default user.

14.12 Troubleshooting Issues with Announcements and Discussions

This troubleshooting section includes the following subsections:

14.12.1 Authentication Failed

Problem

WS-Security does not appear to be set properly for the connection between WebCenter Portal and the back-end discussions server. You may see the following error:

failure to authenticate the user WebLogic, due to: Authentication Failed

Solution

This error may be caused due to various reasons. Check the following:

  • Ensure that the OWSM SAML policy setting is appropriately defined between the discussions connection and the discussions server.

  • For the WebCenter Portal Discussions service, review WC_Spaces-diagnostic.log for errors and exceptions. If the log does not provide enough information to correct errors, then turn on debugging for the oracle.webcenter.collab.share and oracle.webcenter.collab.forum packages.

  • For the back-end discussions server, review WC_Collaboration-diagnostics.log and jive.error.log inside your domain's $DOMAIN_HOME/config/fmwconfig/servers/SERVER_NAME/owc_discussions/logs directory. If the logs do not provide enough information to correct errors, then turn on debugging for Oracle WebCenter Portal's Discussion Server. To turn on debug logs, log on to Oracle WebCenter Portal's Discussion Server admin console, go to page logs, the Debug tab, and enable. Restart the WC_Collaboration domain to change the logging setting.

  • Make sure that the WebCenter Portal application and the back-end discussions server are in time sync. This is important with OWSM WS-Security.

14.12.2 Discussions Cannot Be Enabled in a Space

Problem

Discussions cannot be enabled in any space, even new spaces.

Solution

This error may be caused due to various reasons. Check the following:

14.12.3 Login Failed

Problem

You may see the following login exception:

caught exception running task oracle.webcenter.collab.share.LoginFailedException: failure to authenticate the user monty, due to: Failed to read user monty from database.
at oracle.webcenter.collab.forum.internal.jive.JiveAuthenticator.login(JiveAuthenticator.java:213)

This occurs when an incorrect admin user name is specified.

Solution

Follow these steps:

  1. Confirm that the admin user specified while creating the discussion forum connection has access to the Discussions Administration console at http://host:port/owc_discussions/admin.

    If the user does not have admin privileges, then use the WLST command addDiscussionsServerAdmin to provision the user. For more information, see Section 14.11.1, "Granting the Discussions Server Administrator Role using WLST."

  2. Confirm that you have configured the discussion server with the appropriate DISCUSSIONS schema. If not, then create or extend the domain using config.sh or was_config.sh.

14.12.4 Login Does Not Function Properly After Configuring Oracle Access Manager

Problem

When you log in to Oracle WebCenter Portal's Discussion Server after configuring Oracle Access Manager single sign-on, a 500 - Internal Server Error occurs.

Solution

  1. If one does not exist, add a user as super admin on Oracle WebCenter Portal's Discussion Server using the WLST command addDiscussionsServerAdmin. For command syntax and examples, see the section, "addDiscussionsServerAdmin" in Oracle Fusion Middleware WebLogic Scripting Tool Command Reference.

  2. Log on to the Discussions Admin Console with the super admin account, and navigate to System - System Properties.

  3. Create or edit the property owc_discussions.sso.mode, and set its value to true. For more information, see Section 32.2.6.2, "Configuring the Discussions Server for SSO."

  4. Restart Oracle WebCenter Portal's Discussion Server.

14.12.5 Category Not Found Exceptions

Problem

If you change the connection to use a different discussions server, and if you change the application root category ID from Administration - Configuration - Services - Discussions, then you could see exceptions like, "Category Not Found."

Solution

Restart the managed server on which the WebCenter Portal application is deployed.