Oracle BPM 10GR3 (Former ALBPM) on WebLogic 10.3.6

Oracle BPM 10GR3 (Former ALBPM) on WebLogic 10.3.6

Gepubliceerd: Categorie: Oracle

Oracle has several BPM suites in it’s product portfolio such as:

  • Oracle BPM Suite 11g
  • Oracle BPM Suite 10g (OC4J Platform)
  • and Oracle BPM 10gR3, which was inherited from BEA, former known as the Aqualogic BPM Suite.

Around 2004, BEA started a product suite with the marketing name “ThinkLiquid”, were AquaLogic stood as a concept for a complete SOA technical framework. In this suite there were several products such as AquaLogic ServiceBus (Now Oracle’s Service Bus) and also AqufaLogic Business Process Management. These were all parts of companies acquired by BEA, and formed BEA’s SOA Suite.

Oracle also acquired the complete “ThinkLiquid” stack and, save for a logo change, left the ALBPM suite intact.

One of our clients wanted to migrate their BPM running on WebSphere to their WebLogic infrastructure. After some research we confirmed that Oracle BPM 10gR3 was certified for Oracle WebLogic 10.3.6.

Installation Software

To use an already installed Java VM, specify the full path to the java command passing the LAX_VM parameter to the installer. You must always specify the location to an existing Java installation if a JVM is not included with the installer.

Execute:

  1. $INSTALL_HOME/OracleBPMEnterpriseWL103200_lin.bin LAX_VM
  2. 1
  3. $INSTALL_HOME/OracleBPMEnterpriseWL103200_lin.bin LAX_VM

<path to your java executable>

and Installer splash screen starts. Just follow the screens and execute the installer.

After installing this release, an upgrade to 10.3.3 plus the latest HotFix was required.

Upgrading and Patching

Patching is done using obpmadmincenter. You can patch from 10.3.2 to 10.3.3.

Obtain from MOS:

  • p13375779_1033_Generic.zip Build
  • 17971719: Oracle BPM 10.3.3 HotFix build 101327 – EnterpriseJ2EE

Launch /u01/app/oracle/product/10.3/middleware/obpm/bin/obpmadmcenter (Do not forget to set your DISPLAY) and select Configuration.

Requirements and setup WLS BPM10gR3 domain

The BPM Engine uses a database for its functionality. For blank WebLogic configuration some schema’s are required:

Configure WebLogic

You will have to configure a standard WebLogic domain with a cluster, additional resources  such as JDBC, JMS. You can do this by GUI config or use WLST to rollout your domain. I’ll discuss some important steps in the domain creation.

obpmcfgwizard
Shipped with the BPM installation, a config wizard is provided which enables you to modify your empty WebLogic domain, however I encountered a lot of failures and errors, so I decided to setup the domain manually.

Creating Oracle BPM Deployer User
Before deploying the Oracle BPM Deployer application, you must create a WebLogic Server user with Administration privileges. The Oracle BPM Deployer application uses this user to install and manage applications on WebLogic. This can be done in the local WLS LDAP, or your own LDAP solution.

Next, deploy the wldeployer app, located in the <BPM Software Home>/update/hotfix_0/j2ee/weblogic/deployer/wlj2eedeployer.ear against the AdminServer.

This should be done as the FuegoWebLogicDeployer user! Only target it on the AdminServer. After deployment test the link:

http://<admin-vip>:<port>/fuego/deployer/

Creating JDBC Data Sources on WebLogic Server
To use Oracle BPM Enterprise on WebLogic Server, you must configure two JDBC data sources. These data sources allow the Process Execution Engine to connect to the Engine and Directory databases. Use GridLink for RAC, FAN enabled.

Creating a JMS Server
When running on WebLogic Server, Oracle BPM Enterprise uses JMS to synchronize and communicate between different components. A JMS Server functions as a management container for resources within JMS Modules.

Creating a JMS Module
JMS Modules are application-related definitions that are independent of the domain environment. Oracle BPM requires you to create a JMS system module that is targeted to each managed server within a cluster.

Creating JMS Resources
Within a JMS module, you can define different configuration resources that are targeted to each JMS server. The following resources are attached to the module:

  • Expand Services > MessagingSelect JMS Modules
  • Select the system module you created in the previous task. Click New
  • Select the type of resource you want to create. You must create each of the resources defined in the table above. Click Next
  • Provide the following properties for your resource according to the table above for the correct JNDI name
  • Click Next
  • Click Advanced Targeting
  • Select the subdeployment created in a previous task: BPMJMSSubDeployment
  • Select the JMS Server to which you want to target the JMS resources to the cluster.
  • Note: You must target the JMS resources created earlier to the SubDeployment
  • Click Finish and restart the managed server(s)

Disabling Server Affinity for Connection Factories
You should disable server affinity for each of the connection factory resources required by Oracle BPM.

On Services>Messaging>JMS modules select each of the connection factories, tab loadbalance and disable it.

OBPM Configuration

The next steps handle the typical BPM confguration, which worked the best for me. At some points it may differ from the original documentation.

Directory Service creation
We use the database schema bpm_dir for directory services.

Launch <OBPM Software Home>/bin/obpmadmcenter wizard (Do not forget to set your DISPLAY) You will be asked to create a new directory service. Fill in the screens:

Select Create Directory and Generate SQL, also for the engine. In another screen the script will be shown. Use this to run it as bpm_dir (for the directory service).

Repeat this step for the BPM Engine bpm_eng (for the engine) in the database.

Restart the config wizard and choose now Use existing Directory Service, and proceed as described below.

Select this option:

Select bpm_dir schema from your database. User Oracle Driver Versions and create a bpmadmin user

Fill in details in the next screens. Use the JDBC URL as set in WebLogic. For the engine use same settings, except for the bpm_eng schema.

Use bpmdir as name for your directory service, BPM admin should be bpmadmin.

Now launch the Webconsole. The console is not running within WebLogic but as a separate Tomcat instance.

  1. nohup /u01/app/oracle/product/10.3/middleware_obpg/obpm/bin/startwebconsole.sh&gt;&gt;wconsole.log 2&gt;&amp;1 &amp;

and login to the console using:

bpmadmin.http://<admin-vip>:8686/webconsole/

Click on Engines and the name of your engine. Select Application and verify settings. Click “Opslaan” Change also the WebLogic Server into the Cluster Name. In Basic Config, enable the cluster checkbox.

Build EAR applications
In the BPM Admin Center you should build the EAR files, which will be deployed against the managed server. Use the BPM Web Console to do this.

Click on Engines>Edit Engine bpmengineJ2EE Application Server Files (EARs, WARs).

Build each EAR file by clicking on the highlighted icon. After a while it should have a green light.

NB –  The PAPI EAR will fail to deploy, unless you follow this procedure:

  • Login to the WLS host
  • Export your display
  • Start the OBPM Admin Center
  • Select Configuration
  • Select TAB Papi WebServices and tick “Enable MTOM Optimization for Attachments”

Now restart in the BPM console the PAPI EAR file.

This completes your basic installation and configuration of BPM 10g R3.

Publicatiedatum: 24 januari 2014

Michel Schildmeijer
Over auteur Michel Schildmeijer

Michel started his career as a medical officer in the Royal Dutch Airforce, with a focus on pharma. After the air force, he continued in pharma, followed by time working in clinical pharmacology. While there, he transitioned to IT by learning UNIX and MUMPS, and developed a system for managing patients’ medical records. As his career developed, his responsibility shifted from a deep technical perspective to a more visionary role. At the end of 2011, Michel authored a book on WebLogic Administration for beginners. He joined Qualogy in April 2012 where he expanded his repertoire significantly, serving a wide range of customers with his knowledge about Java Application Servers, Middleware and Application Integration. He also increased his multiple-industry knowledge in his role as Solutions or IT architect by working for customers in a range of sectors, including financials, telecom, public transportation and government organizations. In 2012, he received the IT Industry-recognized title of Oracle ACE for being an ambassador and community leader in his area of expertise. In 2019, this was enhanced to Oracle ACE Director. Michel is asked regularly to speak about technology and the impact of innovation at national and international conferences such as KubeCon, Oracle OpenWorld, Groundbreakers Developers Tours and others. He contributes actively to the OpenSource community and solutions regarding containerization, CI/CD and DevOps. In October 2021, Michel took an exciting step in his career by becoming Business Unit Manager for Qualogy Managed Services. While he still has a finger on the pulse in terms of technology, he is expanding his scope by combining his experience with the new insights gained in his new position. Read more via blog: https://bit.ly/3fAxrqf | Medium: https://mschildmeijer.medium.com/ | Books: Oracle Weblogic Server 11gR1 PS2: Administration Essentials: https://bit.ly/3IhALmf | Oracle WebLogic Server 12c: First Look1: https://bit.ly/31olbpj

Meer posts van Michel Schildmeijer
Reacties (2)
  1. om 09:09

    Very nice piece of background I found when researching for a BPM RFP. Thank you Michel (again). ;-)

    1. om 13:01

      You're welcome Jos, though I see this is a bit of an old article with some mixed up layout :)

Reactie plaatsen