Official Documentation |
Here is the link to Official Documentation, this Blog is just for supporting purpose with some additional tips. Blogs referred.
Enable Java Plugin on Mozilla Browser |
Download JDK and JRE from www.oracle.com
[root@james JAVA]# ls jdk-7u17-linux-x64.rpm jre-7u17-linux-x64.rpm [root@james JAVA]# rpm -ivh jdk-7u17-linux-x64.rpm Preparing... ################################# [100%] package jdk-2000:1.7.0_17-fcs.x86_64 is already installed [root@james JAVA]# rpm -ivh jre-7u17-linux-x64.rpm Preparing... ################################# [100%] Updating / installing... 1:jre-1.7.0_17-fcs ################################# [100%] Unpacking JAR files... rt.jar... .. [root@james plugins]# cd /usr/lib/mozilla/plugins [root@james plugins]# ln -s /usr/java/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so [root@james plugins]# ll total 0 lrwxrwxrwx. 1 root root 47 Apr 8 18:29 libnpjp2.so -> /usr/java/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so
Un-Installation of PS5 – Install PS6 |
Un Install all the Installed FMW Products such as SOA, Webcenter , Webcenter Content etc
[james@james ~]$ cd /home/james/Oracle/Middleware/Oracle_ECM1/oui/bin/ [james@james bin]$ ls addLangs.sh addNode.sh attachHome.sh detachHome.sh lsnodes ouica.bat ouica.sh resource runConfig.sh runInstaller runInstaller.sh runSSHSetup.sh [james@james bin]$ ./runInstaller deinstall Starting Oracle Universal Installer...
Start Database
[james@james shell]$ ./start-db.sh Starting Oracle 11g Database Current Directory /home/james/app/james/product/11.2.0/dbhome_1/bin ORACLE_HOME=/home/james/app/james/product/11.2.0/dbhome_1 ORACLE_SID=orcl SQL*Plus: Release 11.2.0.3.0 Production on Thu Apr 4 21:24:39 2013 Copyright (c) 1982, 2011, Oracle. All rights reserved. Connected to an idle instance. SQL> ORACLE instance started.
Clean up RCU that was earlier installed for PS5 , run ./rcu file and select Drop action
[james@james RCU]$ export RCU_JDBC_TRIM_BLOCKS=TRUE [james@james RCU]$ cd rcuHome/bin/ [james@james bin]$ ./rcu
Download PS6 Installers ( 11.1.1.7.0) |
Download RCU, Webcenter Content, Webcenter Portal, SOA Suite from here
Install RCU |
[james@james bin]$ unzip ofm_rcu_linux_11.1.1.7.0_64_disk1_1of1.zip [james@james RCU]$ cd rcuHome/bin/ [james@james bin]$ ./rcu
Check your host file |
[root@james database]# sudo gedit /etc/hosts
your host file should should look something like this with the machine name added
all the above in 3 lines
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 your-machine-hostname
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.X.Y.Z your-machine-hostname
Selected Domains |
This Blog Does not cover installation of SOA BPM, Webcenter Spaces, UCM and Weblogic Server – Its assumed that all of them have been installed. You can have your own set of Domains Configured depending upon your needs. my soa_domain would have SOA, BPM, BAM, Webcenter Spaces, Discussion
- Basic Weblogic Server Domain 10.3.6.0
- Oracle BPM Suite for Developers
- Oracle Webcenter Spaces
- Oracle SOA Suite for Developers
- Oracle UCM – Content Server
- Oracle Enterprise Manager
- Oracle BAM
- Oracle Webcenter Discussion Server
- Oracle WSM Policy Manager
- Oracle JRF
Shutdown all the Managed and Admin Servers. run Config.sh Script again , extend the domain with the oracle.bpm.spaces_template_11.1.1.jar template. On the Select Domain Source screen, select the Base this domain on an existing template option, and click Browse to locate the template Extend the domain with the following template /home/james/Oracle/Middleware/Oracle_WC1/common/templates/applications/oracle.bpm.spaces_template_11.1.1.jar
Start Admin Server and Webcenter Content, Discussion and Webcenter Portal one after another – Portal being the last one.
Handling – Out of Memory Exceptions |
In order to improve the performance and avoid “Out of Memory” Exceptions we need to edit setSOADomainEnv.sh file under /fmw_domain/bin directory make replacement as shown below.
DEFAULT_MEM_ARGS="-Xms768m -Xmx1536m"
PORT_MEM_ARGS="-Xms768m -Xmx1536m"
if [ "${JAVA_VENDOR}" != "Oracle" ] ; then
DEFAULT_MEM_ARGS="${DEFAULT_MEM_ARGS} -XX:PermSize=768m -XX:MaxPermSize=1536m"
PORT_MEM_ARGS="${PORT_MEM_ARGS} -XX:PermSize=768m -XX:MaxPermSize=1536m"
fi
Avoid logins – boot.properties file |
boot.properties : Every time weblogic Managed Server such as bam_server1 starts it asks for username and password, create a simple boot.properties file with following lines
and place this file in following directory for all corresponding Managed servers , this helps to avoiding password typing during startups.
username=weblogic
password=welcome1
for example
/home/<>/Oracle/<> /user_projects/domains//servers//security
/home/james/Oracle/Middleware/user_projects/domains/wc_domain/servers/UCM_server1/security
UCM Configurations |
Start Admin Server and UCM When you first time login to UCM at http://localhost:16200/cs you will be asked to set intradoc port set it as 4444. you would need to
restart the UCM Open Advanced Component Manager of UCM at http://localhost:16200/cs/idcplg/cs-admin/pxs?IdcService=GET_COMPONENT_DATA Enable Folders_g and
restart the UCM Open Component Manager of UCM at http://localhost:16200/cs/idcplg/cs-admin/pxs?IdcService=GET_ROOT_IDC_ADMIN_PAGE Ensure that the following are Checked
- Dynamic Converter
- InboundRefinerySupport
- ZipRenditionManagement
- WebCenterConfigure
and Update restart the UCM Click on Administration, Select Admin Applet , Select User Admin, Add PersonalSpaces and ProcessPortal users , password as welcome1 as shown and give all Available roles to these users
Console Configurations |
Login to Weblogic Console at http://localhost:7001/console Select Home -> Security Realms -> myRealm -> Users and Groups -> Groups add ProcessPortalUser Group as shown
restart the Admin Server and UCM
EM Configurations |
Start the Admin Server, UCM , Webcenter Portal login to Enterprise Manager http://localhost:7001/em/ check for Content Server Configuration to have correct intradoc port 4444
The UCM Connection portal-content-server for Webcenter Portal will be auto generated later in this Blog but you need to change from sysadmin to weblogic
BPM Process Spaces Configurations for PS6 |
This is where we would Integrate Webcenter Portal with BPM process Spaces. Copy BPM Process_spaces folder to Middleware Directory from /home/james/Oracle/Middleware/Oracle_SOA1/bpm/process_spaces/
to /home/james/Oracle/Middleware/process_spaces
Edit process-portal-install.properties it should look as shown below
################################################ # BPM Process Portal installation properties # ################################################ extendSoa=true promptForPasswords=false wcSetDomainRealmPassword=true wcDomainRealmPassword=welcome1 wc.server.port=8888 bpmDBUser=DEV_SOAINFRA bpmDBPassword=welcome1 bpmDBType=ORACLE bpmDBDriver=oracle.jdbc.OracleDriver bpmDBUrl=jdbc:oracle:thin:@localhost:1521:orcl bpmMDSUser=DEV_MDS bpmMDSPassword=welcome1 bpmServerURL=t3://james:7001 bpmAdminUser=weblogic bpmAdminPassword=welcome1 wcOracleHome=/home/james/Oracle/Middleware/Oracle_WC1 wcDomainName=soa_domain isWebcenterClusterConfig=false wcSpacesClusterName= wcHost=localhost wcAdminPort=7001 wcAdminUser=weblogic wcAdminPwd=welcome1 wcManagedServerName=WC_Spaces wcConfigServices=true wcContentServerName=localhost wcContentServerPort=4444 wcContentSpacesRoot=/WebCenter0809 wcContentAdminUser=weblogic wcDiscussionServerUrl=http://localhost:8890/owc_discussions wcDiscussionAdminUser=weblogic
Start Admin Server, UCM, Discussion Server, Webcenter Portal Run the Ant Script as shown below
[james@james process_spaces]$ export JAVA_HOME=/home/james/Oracle/jdk1.6.0_30/ [james@james process_spaces]$ /home/james/Oracle/Middleware/modules /org.apache.ant_1.7.1/bin/ant -f install.xml Buildfile: install.xml readPasswords: validate-env: [echo] Validating the environment.. [echo] Successfully contacted discussion server running at http://localhost:8890/owc_discussions. [echo] Successfully contacted content server running at localhost:16200. post-install: [echo] This target can also be called by setting 'piArgs' [echo] Possible values are: [echo] -importRCOnly -- Imports only resource catalogs and exits. [echo] -importGSOnly -- Imports only group spaces and exits. [echo] -configDSOnly -- Configures data sources when SOA domain is not extended [echo] -foreignJndiOnly -- Configures foreign JNDI links [echo] -deploySTCOnly -- deploys server test case ejb [echo] -all (default) -- Does all post install activies including all above [echo] Invoking post install script with args: -all [exec] ... [exec] Warning: An insecure protocol was used to connect to the [exec] server. To ensure on-the-wire security, the SSL port or [exec] Admin port should be used instead. [exec] [exec] Location changed to edit tree. This is a writable tree with [exec] DomainMBean as the root. To make changes you will need to start [exec] an edit session via startEdit(). [exec] [exec] For more help, use help(edit) [exec] [exec] Starting an edit session ... [exec] Started edit session, please be sure to save and activate your [exec] changes once you are done. [exec] Creating Foreign JNDI links to BPM Runtime... [exec] Updating deployment targets for the datasources... [exec] Activating all your changes, this may take a while ... [exec] The edit lock associated with this edit session is released [exec] once the activation is completed. [exec] Activation completed [exec] Importing Resource Catalogs... [exec] Importing resource catalog: /home/james/Oracle/Middleware/ Oracle_WC1/bpm/process_spaces/resourceCatalog/ProcessSpacesCatalog.ear [exec] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. [exec] For more help, use help(domainRuntime) [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/ process_spaces/resourceCatalog/ProcessSpacesCatalog.ear [exec] [exec] Configuring webcenter services... [exec] Configuring webcenter to point to content server: localhost Port: 16200 [exec] [exec] The Documents primary connection is "portal-content-server" [exec] Created connection "portal-content-server". [exec] To effect connection changes, you must restart the managed server on which the WebCenter application is deployed. [exec] [exec] Setting the spaces root on content server to :/WebCenter0809 [exec] [exec] [exec] [exec] To effect connection changes, you must restart the managed server on which the WebCenter application is deployed. [exec] [exec] Configuring webcenter to point to the discussions server: http://localhost:8890/owc_discussions [exec] [exec] Created connection "portal-discussions". stop-webcenter: [mkdir] Created dir: /tmp/pp [touch] Creating /tmp/pp/shutdown.py [java] [java] Initializing WebLogic Scripting Tool (WLST) ... [java] [java] Welcome to WebLogic Server Administration Scripting Shell [java] [java] Type help() for help on available commands [java] [java] Connecting to t3://localhost:7001 with userid weblogic ... [java] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'soa_domain'. [java] [java] Warning: An insecure protocol was used to connect to the [java] server. To ensure on-the-wire security, the SSL port or [java] Admin port should be used instead. [java] [java] Shutting down the server WC_Spaces with force=true while connected to AdminServer ... [java] ..... install-spaces: [echo] process portal installation completed. Please start the managed server now. install: BUILD SUCCESSFUL Total time: 1 minute 8 seconds
restart all the Servers Re-Start Admin Server, UCM, Discussion Server, Webcenter Portal Edit the Process Portal installation properties file and change extendSoa=false
################################################ # BPM Process Portal installation properties # ################################################ extendSoa=false promptForPasswords=false wcSetDomainRealmPassword=true wcDomainRealmPassword=welcome1 wc.server.port=8888 bpmDBUser=DEV_SOAINFRA bpmDBPassword=welcome1 bpmDBType=ORACLE bpmDBDriver=oracle.jdbc.OracleDriver bpmDBUrl=jdbc:oracle:thin:@localhost:1521:orcl bpmMDSUser=DEV_MDS bpmMDSPassword=welcome1 bpmServerURL=t3://james:7001 bpmAdminUser=weblogic bpmAdminPassword=welcome1 wcOracleHome=/home/james/Oracle/Middleware/Oracle_WC1 wcDomainName=soa_domain isWebcenterClusterConfig=false wcSpacesClusterName= wcHost=localhost wcAdminPort=7001 wcAdminUser=weblogic wcAdminPwd=welcome1 wcManagedServerName=WC_Spaces wcConfigServices=true wcContentServerName=localhost wcContentServerPort=4444 wcContentSpacesRoot=/WebCenter0809 wcContentAdminUser=weblogic wcDiscussionServerUrl=http://localhost:8890/owc_discussions wcDiscussionAdminUser=weblogic
Run the Ant Script again restart all the Managed and Admin Server
[james@james process_spaces]$ /home/james/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin/ant -f install.xml post-install -DpiArgs -importGSOnly Buildfile: install.xml readPasswords: post-install: [echo] This target can also be called by setting 'piArgs' property for fine grained operations. [echo] Possible values are: [echo] -importRCOnly -- Imports only resource catalogs and exits. [echo] -importGSOnly -- Imports only group spaces and exits. [echo] -configDSOnly -- Configures data sources when SOA domain is not extended [echo] -foreignJndiOnly -- Configures foreign JNDI links [echo] -deploySTCOnly -- deploys server test case ejb [echo] -all (default) -- Does all post install activies including all above [echo] Invoking post install script with args: -importGSOnly [exec] [exec] CLASSPATH=/home/james/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest ... [exec] Initializing WebLogic Scripting Tool (WLST) ... [exec] [exec] [exec] Welcome to WebLogic Server Administration Scripting Shell [exec] [exec] Type help() for help on available commands [exec] [exec] Connecting to t3://james:8001 with userid weblogic ... [exec] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'wc_domain'. [exec] [exec] Warning: An insecure protocol was used to connect to the [exec] server. To ensure on-the-wire security, the SSL port or [exec] Admin port should be used instead. [exec] [exec] Importing group spaces into webcenter... [exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gs.ear [exec] Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. [exec] For more help, use help(domainRuntime) [exec] [exec] [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gs.ear [exec] [exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gst.ear [exec] [exec] [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gst.ear [exec] [exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gs.ear [exec] [exec] [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gs.ear [exec] [exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/process-instance-gst.ear [exec] [exec] [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/process-instance-gst.ear [exec] [exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gst.ear [exec] [exec] [exec] [exec] Imported /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gst.ear [exec] [exec] [exec] [exec] Exiting WebLogic Scripting Tool. [exec] BUILD SUCCESSFUL
Re-Start Admin Server, UCM, Discussion Server, Webcenter Portal
Results |
The Final Output will be Webcenter Portal integrated with Webcenter Content , and Webcenter Portal Integrated with Oracle BPM process spaces as shown below
BPM Process Spaces with in Webcenter Portal PS6
Configuring Discussion Server |
Ensure that UCM , Discussion Server, Webcenter Managed Servers are running Step 1: Login to Discussion Server Admin URL http://localhost:8890/owc_discussions/admin/login.jsp?url=index.jsp Go to Settings -> Admin/Moderators tab -> Grant New Permissions , your weblogic permissions should look something like this , Step 2 : Run WLST Script as shown below
james@james shell]$ cd /home/james/Oracle/Middleware/ [james@james Middleware]$ cd oracle_common/common/bin/ [james@james bin]$ ls setWasHome.sh setWlstEnvExtns.sh setWsadminEnv.sh was_config.cmd wlst.sh [james@james bin]$ ./wlst.sh .... wls:/offline> connect('weblogic','welcome1', 'localhost:7001') Connecting to t3://localhost:7001 with userid weblogic ... Successfully connected to Admin Server 'AdminServer' that belongs to domain 'fmw_domain'. Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead. wls:/fmw_domain/serverConfig> attachWebServicePolicy(application='webcenter', moduleName='webcenter', moduleType='web', serviceName='SpacesWebService',subjectName='SpacesWebServiceSoapHttpPort', policyURI='oracle/wss11_saml_token_with_message_protection_service_policy') Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root. For more help, use help(domainRuntime) Please restart application to uptake any policy or configuration change. wls:/fmw_domain/serverConfig> attachWebServicePolicy(application='owc_discussions', moduleName='owc_discussions', moduleType='web', serviceName='OWCDiscussionsServiceAuthenticated', subjectName='OWCDiscussionsServiceAuthenticated', policyURI='oracle/wss10_saml_token_service_policy') Please restart application to uptake any policy or configuration change. wls:/fmw_domain/serverConfig> exit () Exiting WebLogic Scripting Tool. [james@james bin]$
Step 3 : Configure in EM ( Settings -> Service Configuration -> Discussion ) – that should look something like this Step 4 : In Webcenter Portal latest release 11.1.1.7 Ensure that Discussion Services is Enabled or just create new Portal with Discussion based theme.
About Author |