Tuesday, August 4, 2009

Oracle Discussions Configuration

After installing Oracle WebCenter 11g, which I explained on my previous posting, now we’re going to setup Oracle Discussions service.
By default, the setup screen comes as if it was previously run, which is not true. It can be quite confusing, because developers are able to access the the discussions page and even create users, but no posting is allowed at this moment, and there is no admin user preconfigured as it used to be in Jive.
Through the recipe below, we’ll run the basic setup. We’re going to configure a database connection that points to the schema created by RCU, configure a LDAP Server, and set an admin user account.

Step 1. Enabling Discussions Setup

a. Stop WLS_Services
cd $FMW_HOME/user_projects/domains/wc_domain/bin/
./stopManagedWebLogic.sh WLS_Services
b. Change <setup>true</setup> entry to false on $FMW_HOME/user_projects/domains/<webcenter_domain>/config/fmwconfig/servers/WLS_Services/owc_discussions_11.1.1.1.0/jive_startup.xml.
...
<jive>
<!-- When setup is false, you can access the setup tool. -->
<setup>false</setup>
<!-- Database settings -->
<database>
<!-- Uncomment to enable Unicode support when using MySQL -->
<!-- <mysql><useUnicode>true</useUnicode></mysql> -->
<!-- Uncomment to enable Statement caching when using Oracle JDBC -->
...
c. Restart WLS_Services managed server
cd $FMW_HOME/user_projects/domains/wc_domain/bin/
./startManagedWebLogic.sh WLS_Services

Step 2. Running Discussions Setup Screen

a. Enter in setup screen http://<your server>:8890/owc_discussions/admin/setup/
Snap1
b. Configure Data Source to jdbc/OWC_DiscussionsDS
Snap2
image
c. Configure LDAP to Embedded WebLogic LDAP Server
image

image
On the Admin Password field, please make sure you have already set a password for the Admin user in your WLS Embedded LDAP. You can do so on the Domain Structure pane, under <webcenter domain> –> Security –> Embedded LDAP.
image
d. Other Settings Screen
No explanation is necessary on this screen, I believe…
image
e. Admin User Setup Screen
I usually setup the weblogic user to be my admin, to avoid having to memorize another username. I’m lazy I know. :)
image
f. Restart WLS_Services
cd $FMW_HOME/user_projects/domains/wc_domain/bin/
./stopManagedWebLogic.sh WLS_Services
./startManagedWebLogic.sh WLS_Services

Step 3. Testing Oracle Discussions Admin Page

Try to access http://<server>:8890/owc_discussions/admin with the weblogic user.
image
For more details please access OTN.

6 comments:

  1. very nice, it solved my problem! thank you bro!

    ReplyDelete
  2. Thanks George, got my discussion server working with my embedded LDAP

    ReplyDelete
  3. Hi George, When I tried changing the Setup property in Jive_startup.xml file. The whole application is not running, I am getting Error-404.

    Please suggest me with some debugging tips.

    ReplyDelete