Middleware
WebCenter
| Oracle® WebCenter Discussions Installation and Configuration Guide
10 g Release 3 (10.1.3.4.0) E14210-01 |
|
Previous |
Next |
This chapter explains how to integrate Oracle WebCenter Discussions into Oracle WebCenter, Oracle WebLogic Portal, and Oracle WebCenter Interaction applications. Discussion forums let users share information and discuss topics. This chapter includes the following sections:
|
Notes:
|
For more information about installation and configuration, see Appendix B, "Frequently Asked Questions."
One of the services that yo u can integrate into your application is a discussion forum. Users can browse to locate pertinent messages from the discussion forum to read, and they can add their own posts or replies. In particular, Oracle WebCenter Discussions provides a J2EE application with an open architecture and extensive features.
Table 1-1 shows the supported technologies available for releases that include Oracle WebCenter Discussions.
Table 1-1 Oracle WebCenter Discussions Supported Technologies
| Release | OC4J | Jive Forums | Oracle WebLogic Server | Oracle Access Manager | Oracle Single Sign-On | Java Single Sign-On (JSSO) | Portlet |
|---|---|---|---|---|---|---|---|
|
10.1.3.2.0 |
10.1.3.2+ |
Jive 5.1.0 |
|
|
|
yes |
|
|
10.1.3.3.0 |
10.1.3.3+ |
Jive 5.1.0 |
|
yes |
yes |
yes |
yes |
|
10.1.3.4.0 |
|
Jive 5.5.20 |
10.3+ |
yes |
|
|
|
Oracle WebCenter Discussions 10.1.3.4.0 is a complete product release that includes fresh installation and upgrade options. It contains a discussions server that can be deployed on Oracle WebLogic Server 10.3 and configured for single sign-on (SSO) with Oracle Access Manager 10 g. This release does not support the following SSO servers supported in previous releases: Oracle SSO and JSSO. This 10.1.3.4.0 release also deprecates the JSR 168-based discussion portlets included with previous releases (10.1.3.x).
Hence, Oracle WebCenter Discussions 10.1.3.4.0 is focused on customers who are installing Oracle WebCenter Discussions for the first time or who are upgrading from an Oracle Access Manager-based authentication setup. Current customers who use Oracle SSO or JSSO should migrate to this release if, and only if, they are ready to migrate to Oracle WebLogic Server 10.3 with Oracle Access Manager for SSO and they do not need out-of-the-box portlets.
In your applicatio ns, you can add the sample portlets available on the Oracle WebCenter Additional Services 10 g Release 3 (10.1.3.4.0) page on the Oracle Technology Network:
http://www.oracle.com/technology/products/webcenter/owcs_10134_addtlservices.html
The page has information about the sample portlets, including how to download and install them.
Oracle WebCenter Discus sions 10.1.3.4.0 is deployed on Oracle WebLogic Server 10.3. Before you can deploy Oracle WebCenter Discussions, you must have Oracle WebLogic Server 10.3 installed. For information on system requirements and the steps to install Oracle WebLogic Server, see the installation guide posted at:
http://download.oracle.com/docs/cd/E12840_01/common/docs103/install/index.html
You will deplo y Oracle WebCenter Discussions in a domain. A domain is the basic administrative unit of Oracle WebLogic Server. The domain infrastructure consists of one administration server and optional managed servers and clusters.
To deploy Oracle WebCenter Discussions on Oracle WebLogic Server, you must create a new domain with the Oracle WebLogic Configuration Wizard.
To create a new domain, follow the instructions in Table 1-2. For additional information about the configuration p ages, see Appendix A, "Oracle WebLogic Configuration Screens".
Table 1-2 Configuration Flow for Creating a New Domain
| No. | Screen | When Does This Screen Appear? | Description and Action Required |
|---|---|---|---|
|
1 |
None. |
Always |
Start the Oracle WebLogic Configuration Wizard from the
On Linux: Run
On Windows: Double-click
|
|
2 |
|
Always |
Select Create a new WebLogic domain. Click Next to continue. |
|
3 |
|
Always |
Select Generate a domain configured automatically to support the following products. Click Next to continue. |
|
4 |
Configure Administrator Username and Password Screen |
Always |
Specify a user name and password for the Administrator user account. This is the user name and password that you will use to log on to your discussions server. By default, the
Click Next to continue. |
|
5 |
Configure Server Start Mode and JDK Screen |
Always |
Select the domain startup mode and the JDK to be used for the domain. Click Next to continue. |
|
6 |
Customize Environment and Service Settings Screen |
Always |
Specify whether you want to customize any environment or service settings listed on the screen. If you select Yes, then the wizard displays screens where you can configure the Admin server, managed servers, clusters, and other settings for your domain. If you select No, the Create WebLogic Domain Screen displays directly. Click Next to continue. |
|
7 |
Configure RDBMS Security Store Database Screen |
If you selected Yes on the Customize Environment and Service Settings Screen. |
If necessary, make changes to your RDBMS for security store. Click Next to continue. |
|
8 |
Configure the Administration Server Screen |
If you selected Yes on the Customize Environment and Service Settings Screen. |
If necessary, customize the Admin server of your domain. Click Next to continue. |
|
9 |
Configure Managed Servers Screen |
If you selected Yes on the Customize Environment and Service Settings Screen. |
Configure one or more managed servers for your enterprise applications. Click Add and then specify the name, listen address, listen port, and secure socket layer (SSL) details of the managed server. Click Next to continue. |
|
10 |
|
If you selected Yes on the Customize Environment and Service Settings Screen. |
If necessary, configure one or more clusters. Click Next to continue. |
|
11 |
Assign Servers to Clusters Screen |
If you selected Yes on the Customize Environment and Service Settings Screen, and Add on the Configure Clusters Screen. |
Assign managed servers to a cluster in the domain. Click Next to continue. |
|
12 |
|
If you selected Yes on the Customize Environment and Service Settings Screen. |
If necessary, configure machines to host the WebLogic Server instance. Click Next to continue. |
|
13 |
Assign Servers to Machines Screen |
If you selected Yes on the Customize Environment and Service Settings Screen and Add on the Configure Machines Screen. |
Assign each WebLogic Server instance to the machine on which it runs. Click Next to continue. |
|
14 |
|
Always |
Review the contents of your domain. Click Next to continue. |
|
15 |
|
Always |
Specify the name as
Click Create to create the domain. |
|
16 |
|
Always |
Click Done when finished. |
|
Note: To increase the memory settings, editsetDomainEnv.cmd in Windows or
setDomainEnv.sh in Linux (located in
$WLS_HOME/user_projects/domains/owc_discussions/bin) as follows:
MEM_ARGS="-Xms512m -Xmx1024m" export MEM_ARGS MEM_PERM_SIZE="-XX:PermSize=128m" export MEM_PERM_SIZE MEM_MAX_PERM_SIZE="-XX:MaxPermSize=256m" export MEM_MAX_PERM_SIZE Note: The default values are the following: MEM_ARGS="-Xms256m -Xmx512m" export MEM_ARGS MEM_PERM_SIZE="-XX:PermSize=48m" export MEM_PERM_SIZE MEM_MAX_PERM_SIZE="-XX:MaxPermSize=128m" export MEM_MAX_PERM_SIZE |
This section describes how to install Oracle WebCenter Discussions 5.5.20.
Download Oracle WebCenter Discussions 5.5.20 from Oracle's Electronic Delivery (edelivery) at
http://edelivery.oracle.com/
or from the Oracle WebCenter Additional Services 10
g Release 3 (10.1.3.4.0) page on the Oracle Technology Network at
http://www.oracle.com/technology/products/webcenter/owcs_10134_addtlservices.html
. Follow the instructions on OTN to download the
V15935-01.zip file to a folder on your system. The
V15935-01.zip file contains two more zip files:
Oracle-Discussions.zip (Oracle WebCenter Discussions)
Oracle-Wikis-Blogs.zip (Oracle WebCenter Wiki and Blog Server)
Unzip the
Oracle-Discussions.zip file. This contains the following files:
deploy-discussions-sso.jar
jive_forums_silver_5_5_20_oracle_01092009.zip
oracle-discussions-sso.zip
Unzip
jive_forums_silver_5_5_20_oracle_01092009.zip.
This document refers to this folder as
$unzipped_dir.
Install Oracle WebCenter Discussions 5.5.20:
Copy the
jiveHome directory from the distribution (
$unzipped_dir/jive_forums_silver_5_5_20_oracle/jiveHome) to a permanent directory. We use
/opt/product/JIVE as an example.
cd $unzipped_dir/jive_forums_silver_5_5_20_oracle/ mkdir -p /opt/product/JIVE (for example) cp -R $unzipped_dir/jive_forums_silver_5_5_20_oracle/jiveHome /opt/product/JIVE
|
Note: The directory must be readable and writable by your application server, but it should not be in the document path of your web server. That is, people should not be able to access the directory from a URL likehttp://www.yourserver.com/jiveHome.
|
Set the location of the
jiveHome directory using the EditWAR tool. The EditWAR tool is a small application that will modify the packaged web application (
jiveforums.war) to point to the
jiveHome directory. The
jiveforums.war file is also in the base directory of this distribution.
export PATH=$WLS_HOME/jdk160_05/bin:$PATH
cd $unzipped_dir/jive_forums_silver_5_5_20_oracle
java -jar EditWAR.jar jiveforums.war
---------------------------------------------------------------------
This utility will modify your WAR file to correctly point to
your jiveHome directory by editing WEB-INF/classes/jive_init.xml
Enter the full path to your jiveHome directory:
> /opt/product/JIVE/jiveHome
Setting jiveHome to: /opt/product/JIVE/jiveHome
.....................................................................
---------------------------------------------------------------------
Complete instructions are located in
$unzipped_dir/jive_forums_silver_5_5_20_oracle/documentation/install-guide.html.
For more information, see the
Administrator's Guide located in
$unzipped_dir/jive_forums_silver_5_5_20_oracle/documentation/forums-admin-guide.pdf.
Go to the
$WLS_HOME/user_projects/domains/owc_discussions directory and create a directory in it with the name
owc_discussions. For example:
cd $WLS_HOME/user_projects/domains/owc_discussions mkdir owc_discussions
The new directory structure is
$WLS_HOME/user_projects/domains/owc_discussions<this is the newly-created domain for Discussions>/owc_discussions (this is where you will deploy Discussions>.
Copy
jiveforums.war from the zip extracted directory (
$unzipped_dir/jive_forums_silver_5_5_20_oracle) to this
owc_discussions directory. For example:
cd owc_discussions <to go into the newly created directory> cp $unzipped_dir/jive_forums_silver_5_5_20_oracle/jiveforums.war
Extract
jiveforums.war (for example, with
unzip jiveforums.war) in the
owc_discussions directory.
Delete
jiveforums.war (for example, with
rm jiveforums.war) from this directory.
Start your Oracle WebLogic Server from
$WLS_HOME/user_projects/domains/owc_discussions/bin using
startWebLogic.cmd on Windows or
./startWebLogic.sh on Linux.
After the server has started, access the WebLogic console from the URL
http://<host>:<port>/console. The console port is the port entered when you created the domain. (See
Section A.9, "Configure Clusters Screen") If you did not enter a console port when you created the domain, then, by default, the port is 7001.
Log on with the user name and password that you gave when creating the domain. By default, the user name in
weblogic.
After you are logged-in, click the Deployments option on the left.
Click
Install and choose the
owc_discussions directory that you created under
$WLS_HOME/user_projects/domains/owc_discussions when creating the domain. (
Figure 1-1).
|
Note: If you are using Production Mode, then click the Lock and Edit button on the left side to activate the Install button. |
Click Next.
Choose targeting style as Install this deployment as an application.
Click Next.
Choose the managed server where you will deploy the
owc_discussions application; for example, the
discussionserver managed server.
Click Next.
For the default options, under
Source Accessibility, select to enter the location of the target server on which
owc_discussions will be installed. (
Figure 1-2)
The option Use the defaults defined by the deployment's targets may go to the same location.
Click Next.
Click Finish.
|
Note: Oracle recommends deploying custom applications on a separate managed server.If you are not running a managed Oracle WebLogic Server as the target to deploy, then it will be deployed in the Admin Server. If you are using Production Mode, then you must click Activate changes after the deployment, select the application, and click Start - Servicing all request. |
To start the managed server on Linux:
Navigate to
$WLS_HOME
/user_projects/domains/owc_discussions
/bin.
Run the following
./startManagedWebLogic.sh <managedserver name> <AdminServer URL>
For example, if your managed server named
discussionserver is deployed on the default port on your local machine, then you can run the following command to start the managed server:
./startManagedWebLogic.sh discussionserver http://localhost:7001 .
Enter the user name and password of the domain administrator to start the managed server.
To start the managed server on Windows:
Navigate to
$ORACLE_HOME
/user_projects/domains/owc_discussions
/bin.
Run
startManagedWebLogic.cmd
discussionserver
http://localhost:7001.
Enter the user name and password of the domain administrator to start the managed server.
Access the Oracle WebCenter Discussions URL
http://<host>:<port>/owc_discussions and follow the steps in the document
$unzipped_dir/jive_forums_silver_5_5_20_oracle/documentation/install-guide.html.
For
Installation Checklist, make sure that the
jiveHome directory contains a valid
jive.license file. If the
jive.license file is not in the
/opt/product/JIVE/jiveHome directory, then you must or copy and paste its value on to the UI.
|
Note: If you cannot access thejive.license file, see note 789952.1 on My Oracle Support (formerly
MetaLink) at
https://metalink.oracle.com/
.
|
For Datasource Settings, choose the Standard Database Connection option, and fill in all fields.
First, you must create the JIVE schema within the database. Do so with the following:
sqlplus system/<password> CREATE USER jive IDENTIFIED BY jive; GRANT CONNECT, RESOURCE TO jive; exit cd $unzipped_dir/jive_forums_silver_5_5_20_oracle/database sqlplus jive/jive @jive_forums_oracle.sql exit
Then, choose Oracle as JDBC Presets, and fill in the rest of the details: JDBC URL, Username, Password, Connections and Connection Timeout.
For User System, choose the authentication.
|
Note: Most installations should use the default implementation. The other options can be used when you need to integrate Jive Forums with an existing user database or authentication system, such as Oracle Internet Directory. |
For Email Settings, fill in all the details in case you'd like watch updates, password resetting and other features, Jive Forums needs a way to connect to an email (SMTP) server.
For Admin Account, choose the administrator account for Discussions.
When Jive prompts you to restart, restart your managed server.
To confirm that you have successfully set up Oracle WebCenter Discussions, go to the Admin Console and log on as the administrator you created during the installation process. For example:
Go to
http://<host>:<port>/owc_discussions/admin.
Log on as the administer for Discussions (Jive 5.5.20). This was created in step 21.e.
|
Note: The first time after successful login, you are prompted to follow the upgrade page before starting to use Oracle WebCenter Discussions. |
To start the upgrade process, verify that you have backed up your database and your Jive Forums configuration files (jiveHome). Also verify that your jiveHome directory is located at:
/opt/product/JIVE/jiveHome.
Click Start Upgrade.
A message will display saying that all upgrade tasks have been completed and that you should restart the application before proceeding to the community home page.
Restart again the managed server that contains the
owc_discussions discussions server.
cd $WLS_HOME/user_projects/domains/owc_discussions/bin ./startManagedWebLogic.sh discussionserver http://<host>:<port>:7001
Go to
http://<host>:<port>/owc_discussions/admin.
Log on as the administrator the Discussions (Jive 5.5.20), created in step 21.e, to get to the Oracle WebCenter Discussions Admin Console.
This release su pports Oracle WebCenter Discussions deployed on Oracle WebLogic Server 10.3 and integrated with Oracle Access Manager for single sign-on.
Only the database upgrade from previous releases to this release is supported.
This section describes the steps to upgrade to Oracle WebCenter Discussions 10.1.3.4.0, but you may also want to refer to
upgrade-guide.html along with
forums-admin-guiide.html and
install-guide.html from
$unzipped_dir/jive_forums_silver_5_5_20_oracle/documentation.
Upgrade steps:
Take a backup of your existing Oracle WebCenter Discussions database schema and
jiveHome directory.
Log on to the Oracle WebCenter Discussions Admin Console; for example,
http://<host>:<port>/owc_discussions/admin.
Go to the System Properties link from the sidebar, and the remove following system properties. You need to remove the below system properties only if they are pointing to custom Oracle classes as defined below:
AuthFacotry.className
(if this is set to Oracle-specific class
oracle.jive.sso.OracleSSOAuthFactory)
UserManager.className
(if this is set to Oracle-specific class
oracle.jive.sso.OracleSSOUserManager)
Install Oracle WebCenter Discussions 10.1.3.4.0, following the previous steps in this chapter.
You can use the same
jiveHome directory that you have already configured with your existing setup. This will ensure that it points to the same database configured for existing setup even after migration.
Make sure
jive_startup.xml in your
jiveHome directory does not have
tryAlternativeLogin option set to true for admin. If the following tag is present, remove it or comment it out:
<!--admin> <tryAlternativeLogin>true</tryAlternativeLogin> </admin-->
Restart Oracle WebLogic Server.
Go to your Oracle WebCenter Discussions index page:
http://<host>:<port>/owc_discussions.
It will display an upgrade page. Log on with the appropriate administrator user name and password. (For example: The user can be
oc4jadmin with your configured password.)
|
Notes:
|
If you do not see the upgrade page, your browser page hangs with the "System is running upgrade" message, or logs show errors that table or view does not exist, then you can apply following steps as a workaround:
Stop your Oracle WebLogic managed server.
Go to your database schema, and run following SQL command:
UPDATE "JIVEVERSION" SET VERSION = '0' WHERE NAME='community'; commit;
|
Note: There is only one row in this table. |
Start your Oracle WebLogic Managed server.
Go to discussions page at
http://host:port/owc_discussions.
After login, the upgrade will start.
You may see error messages for table or view already exists: "name is already used by an existing object".
Figure 1-3 Error: name is already used by an existing object
Choose the Manual option.
On the verification page, click Finished when you are done.
Now the upgrade will resume.
If you are prompted again with the same table or view already exists error, then follow the previous steps to fix it.
After all the required tables are upgraded successfully, restart your Oracle WebLogic managed server.
Try to access the discussions URL. If it prompts for upgrade, then follow the Upgrade console page, and complete the process.
After the second time, you should see the upgrade success page.
Restart your Oracle WebLogic managed server again.
Go to the discussions server URL. It should show the community home page.
|
Note: Check the Oracle WebLogic managed server and Jive logs. They should not report any errors that table or view does not exist. |
After the upgrade is complete and you can successfully see the Oracle WebCenter Discussions index page, follow the instructions in Chapter 2, "Configuring Single Sign-On."
|
Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved. Legal Notices |
|