Oracle Webcenter bpm process spaces PS5 |
It is assumed that you have already installed Webcenter, ECM and SOA Suite. this blog will not focus on installation – this would be focused around how to get BPM Process spaces enabled in the Webcenter. I would suggest you use Standard Desktop Machine rather than using a virtual machine if you are trying this and also it should have enough RAM available , I am using Ubuntu OS lets see How RAM is Utilized.
Just Oracle XE Database Running (around 2 GB)
Added Admin Server with SOA BPM Running around 4.3 GB
[email protected]:~$ cd /home/james/Oracle/Middleware/user_projects/domains/wcsoa_domain/
[email protected]:~/Oracle/Middleware/user_projects/domains/wcsoa_domain$ ./startWebLogic.sh
*****************************************************
** Setting up SOA specific environment...
*****************************************************
EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
Added UCM Managed Server + Webcenter Managed Server = 6.5 GB RAM
Start UCM
[email protected]:~/Oracle/Middleware/user_projects/domains/wcsoa_domain/bin$ ./startManagedWebLogic.sh UCM_server1 http://localhost:7001
*****************************************************
** Setting up SOA specific environment...
*****************************************************
EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
Start Webcenter
[email protected]:~/Oracle/Middleware/user_projects/domains/wcsoa_domain/bin$ ./startManagedWebLogic.sh WC_Spaces http://localhost:7001
*****************************************************
** Setting up SOA specific environment...
*****************************************************
EXTRA_JAVA_PROPERTIES= -da:org.apache.xmlbeans...
So if you plan to configure all this over a 8 GB Laptop and on a VM , things would become difficult that’s why i said its better to have a dedicated 12 GB RAM Machine for running all this.
Extending domain adding spaces template |
My Current Domain wcsoa_domain contains Webcenter, ECM, SOA and BPM
STOP SOA/BPM Admin Server and Webcenter Portal before running this command
[email protected]:~/Oracle/Middleware$ cd oracle_common/common/bin/
james@james:~/Oracle/Middleware/oracle_common/common/bin$ ./config.sh
we also need to extend the domain with bpm template located at
/home/james/Oracle/Middleware/Oracle_SOA1/common/templates/applications/oracle.bpm_template_11.1.1.jar
Click couple of Next Buttons , that should get installed.
Content server configuration |
Open Content Server Component Manager
Ensure that “Webcenter Configure” is checked
NOTE : the following
Checked : ZipRenditionManagement
Checked :InboundRefinerySupport
Checked :DynamicConverter
Un-Checked: FrameworkFolders
Open Advanced Component Manager
Ensure Folder_g is Enabled.
bpm process portal configuration |
Go to /home/james/Oracle/Middleware/Oracle_SOA1/bpm/process_spaces DIrectory and Edit process-portal-install.properties file
[email protected]:~/Oracle/Middleware/Oracle_SOA1/bpm/process_spaces$ gedit process-portal-install.properties
Refer this file , Note this PS5 file is different from PS4 Release
################################################
# BPM Process Portal installation properties #
################################################
extendSoa=true
promptForPasswords=true
wcSetDomainRealmPassword=true
wcDomainRealmPassword=welcome1
wc.server.port=8888
bpmDBUser=DEV_SOAINFRA
bpmDBPassword=welcome1
bpmDBType=ORACLE
bpmDBDriver=oracle.jdbc.OracleDriver
bpmDBUrl=jdbc:oracle:thin:@127.0.0.1:1521:XE
bpmMDSUser=DEV_MDS
bpmMDSPassword=welcome1
bpmServerURL=t3://localhost:7001
bpmAdminUser=weblogic
bpmAdminPassword=welcome1
wcOracleHome=/home/james/Oracle/Middleware/Oracle_WC1
wcDomainName=soa_domain
isWebcenterClusterConfig=false
wcSpacesClusterName=
# Webcenter's weblogic installation details
wcHost=localhost
wcAdminPort=7001
wcAdminUser=weblogic
wcAdminPwd=welcome1
wcManagedServerName=WC_Spaces
wcConfigServices=false
#content server details
wcContentServerName=localhost
wcContentServerPort=4444
wcContentSpacesRoot=/WebCenter0809
wcContentAdminUser=weblogic
#discussion server details
#wcDiscussionServerUrl=http://hostname:port/owc_discussions
#wcDiscussionAdminUser=orcladmin
Ensure that Path is set properly and then run the Ant Script
START SOA/BPM Admin Server and Webcenter Portal before running this command
[email protected]:~/Oracle/Middleware/Oracle_SOA1/bpm/process_spaces$
/home/james/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin/ant -f install.xml
Buildfile: install.xml
readPasswords:
[echo] You've choosen to enter passwords from console. Please enter passwords below..
Please enter bpmDBPassword [welcome1]:
Please enter bpmMDSPassword [welcome1]:
Please enter bpmAdminPassword [welcome1]:
Please enter wcAdminPwd [welcome1 ]:
validate-env:
[echo] Validating the environment..
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: -all
[exec]
[exec] CLASSPATH=/home/james/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:
../home/james/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbytools.jar::
[exec]
[exec] Initializing WebLogic Scripting Tool (WLST) ...
[exec]
[exec] Jython scans all the jar files it can find at first startup. Depending on the system, this
process may take a few minutes to complete, and WLST may not return a prompt right away.
[exec]
[exec]
[exec] Welcome to WebLogic Server Administration Scripting Shell
[exec]
[exec] Type help() for help on available commands
[exec]
[exec] Connecting to t3://localhost:7001 with userid weblogic ...
[exec] Successfully connected to Admin Server 'AdminServer' that belongs to domain 'wcsoa_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] 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] You already have an edit session in progress and hence WLST will
[exec] continue with your edit session.
[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] Skipping webcenter services configuration...
[exec] Importing group spaces into webcenter...
[exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gst.ear
[exec]
[exec] Error occurred while performing import
[exec] No handlers could be found for services with IDs: oracle.webcenter.collab.forum oracle.webcenter.collab.announcement .
[exec] Please check the WebCenter Portal: Spaces Server log files for additional details.
[exec]
[exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gs.ear
[exec]
[exec] Error occurred while performing import
[exec] No handlers could be found for services with IDs: oracle.webcenter.collab.forum oracle.webcenter.collab.announcement .
[exec] Please check the WebCenter Portal: Spaces Server log files for additional details.
[exec]
[exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/process-instance-gst.ear
[exec]
[exec] Error occurred while performing import
[exec] No handlers could be found for services with IDs: oracle.webcenter.collab.announcement oracle.webcenter.collab.forum .
[exec] Please check the WebCenter Portal: Spaces Server log files for additional details.
[exec]
[exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-process-workspace-gst.ear
[exec]
[exec] Error occurred while performing import
[exec] No handlers could be found for services with IDs: oracle.webcenter.collab.forum oracle.webcenter.collab.announcement .
[exec] Please check the WebCenter Portal: Spaces Server log files for additional details.
[exec]
[exec] Importing group space: /home/james/Oracle/Middleware/Oracle_WC1/bpm/process_spaces/groupspaces/default-modeling-workspace-gs.ear
[exec]
[exec] Error occurred while performing import
[exec] No handlers could be found for services with IDs: oracle.webcenter.collab.forum oracle.webcenter.collab.announcement .
[exec] Please check the WebCenter Portal: Spaces Server log files for additional details.
[exec]
[exec] Grant PolicyStoreAccessPermission to oracle.bpm.pml.security.jar .....
[exec]
[exec] oracle.security.jps.service.policystore.PolicyStoreAccessPermission Granted to file:${wc.oracle.home}/soa/modules/oracle.bpm.runtime_11.1.1/oracle.bpm.pml.security.jar.
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] This Exception occurred at Fri May 04 12:41:35 IST 2012.
[java] javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: weblogic, failed to be authenticated.]
[java] Problem invoking WLST - Traceback (innermost last):
[java] File "/tmp/pp/shutdown.py", line 2, in ?
[java] File "", line 22, in connect
[java] File "", line 648, in raiseWLSTException
[java] WLSTException: Error occured while performing connect : User: weblogic, failed to be authenticated.
[java] Use dumpStack() to view the full stacktrace
[java]
[java] Java Result: 1
install-spaces:
[echo] process portal installation completed. Please start the managed server now.
install:
BUILD SUCCESSFUL
Total time: 1 minute 19 seconds
VERIFY INTRGRATION OF bpm AND UCM WITH WEBCENTER |
Verify Documents from Content Server
Under Configuration you need to select BPM Process Spaces Catalog 11.1.1.6
Document Checkin from BPM to UCM PS5
|
I have a simple BPM Process thats Deployed on SOA Server, We will now login too Webcenter Spaces , Add Available Process Portlet and Task List Portlets, we will now fill in the Student Admission Application form online and attach marks card that gets checked into UCM
Fill Student Application Form online in Webcenter Portal with BPM Process Spaces
Click on Attachments + sign
Fill Necessary Check In Parameter or UCM Metadata about the document
View the newly assigned task list ( In real life situation the student will only submit and the admin officer will review the certificates before approving in the workflow )
click on the attachment link and open the attached document
View the attached Document in UCM http://localhost:16200/cs and also check the meta data information by clicking on information icon
View Document Metadata in UCM that was checked in from BPM Task list via Webcenter Portal.
Related Links |
Webcenter Portal and Webcenter Content PS5 Integration
Comprehensive Solutions using Fusion Middleware
Oracle Business Intelligence
Author profile |
click here to view my profile