Introduction
This document describes how to install PROCESSIT. A section of the document is devoted to installing PROCESSIT Virtual Appliance. Please refer to the respective installation guides for installing SOA and WebLogic servers separately.
The PROCESSIT Installation Wizard guides you through the installation, but please read this document prior to installation.
This document also highlights how to ensure a smooth cut-over when transferring from one environment to another.
Please refer to standard ReadSoft documentation for DOCUMENTS, INVOICES and REPORTER installation and configuration.
PROCESSIT Architecture Overview
The PROCESSIT solution consists of different components that must be installed individually.
- INVOICES Scanning server with PROCESSIT integration option enabled.
- INVOICES Scanning clients installed.
- PROCESSIT SOA server and WebLogic User Interface server.
PROCESSIT is integrated with Oracle E-Business Suite R12. Anyone performing a PROCESSIT installation is assumed to know the details about the Oracle E-Business Suite database.
Prerequisites
For details regarding PROCESSIT requirements, see PROCESSIT System Requirements.
Installation computer
The computer used to perform the PROCESSIT installation to the SOA and WebLogic servers must have a Windows or Linux operating system, have internet access, and Java JDK version 1.5+ must be installed. Java must be correctly configured with the JAVA_HOME environment variable pointing to the JDK installation directory and the PATH must include $JAVA_HOME/bin.
Java JDK version 1.6 is recommended.
INVOICES scanning
INVOICES is the scanning and interpretation part of the ReadSoft solution. ReadSoft INVOICES scanning server and clients must be installed with PROCESSIT integration enabled. Please follow the instructions in the document ReadSoft_PROCESSIT_installation_Connector.
Oracle E-Business Suite R12
You must be using Oracle E-Business Suite R12 patched to 12.0.6 +.
PROCESSIT SOA server
- Oracle BPEL Process Manager (a component of Oracle SOA Suite) 10.1.3.5 patched to the latest MLR2 level
- Patched to latest MLR# level.
- Use Oracle database 10g or 11g Enterprise Edition. Do not use the embedded light database.
- The SOA database must be configured to use case insensitive logon. This is done automatically by the PROCESSIT Installer.
You can set the system to case insensitive logon manually by running this SQL command as SYSTEM: ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON=FALSE
PROCESSIT WebLogic User Interface Server
- Oracle WebLogic version 10.3.2.
- d4 domain.
- Oracle ADF version 11.1.1.2.0 for d4 domain.
Standard PROCESSIT installation
Installation wizard
PROCESSIT is installed using the PROCESSIT Installation Wizard. The wizard guides you through the steps required and provides links directly to the files that require modification.
When you run the installation, follow all Installation Wizard instructions. When you have completed the instructions, click Next to continue to the next page. When the installation procedure is done, the installation wizard notifies that the installation is complete.
Locate directories
Locate the following directory and instance information:
Directory | Relative to | Installation guide reference |
---|---|---|
SOA Suite database | Database server | [db.root] |
SOA Suite installation root | SOA server | [as.root] |
Repository root | SOA server | [repository.root] |
WebLogic D4 domain root | WebLogic server | [domain.root] |
SOA Suite instance | Set during SOA installation (usually oc4j_soa) | [soa.instance_name] |
Installation directory | Installation PC | [inst.root] |
All reference instances in brackets [...] in this document correspond to the located values. These values must be defined in the PROCESSIT properties file.
If you want to encrypt a BPEL data source, refer to security settings.
Create an installation folder and unpack files
- Create an installation folder for PROCESSIT on the installation computer.
- Unpack the PROCESSIT software package to the created folder.
The software is packaged as a .zip archive and can be extracted with many archive extraction applications, including unzip
, 7zip and winrar. The extracted installation folder is referred to as [inst.root] in this document.
If you run the installation from a linux machine, the command to extract the file is unzip <filename>
.
Edit the properties file
The installation reads from the properties file [inst.root]/config/processit.properties
- Navigate to [inst.root]/config/
- Edit the file processit.properties
- Edit the properties in this file to reflect your environment settings. There are explanations for each property as comments above the respective property.
In the properties file, some paths are relative to the installation machine, and some paths are relative to the server where PROCESSIT is being installed. These options are clearly marked in the configuration file as either Relative to INSTALLATION PC or Relative to SOA SERVER. An example of a possible path for the OC4J application server: [as.root] relative to the server: /oracle/as
Please double-check your entries. The entries in the properties file are used by the installation wizard throughout the installation process.
If you want to encrypt the properties file after PROCESSIT is installed, refer to security settings.
Encrypting the properties file is recommended only after the installation is complete.
Copying Configuration Parameter Settings
You can export configuration parameters from one environment and then import them to another. For instance, you can copy the configuration from a test environment to a production environment. The procedure is described in Copy Configuration Parameters.
Installation Wizard Procedure
Welcome to the PROCESSIT installation
Follow the instructions in this wizard to install PROCESSIT.
Hosts files
The hosts file of the installation PC, the SOA Suite Server, the WebLogic Server, and the Oracle E-Business Suite server must have correct entries for the three servers. Without these entries, the servers are not able to communicate. Make sure the hosts files contain valid entries for the following machines:
You may have to log in as root to edit the files.
- SOA Suite server: ${bpel.server}
- Weblogic server: ${weblogic.adminServerHostName}
- E-Business Suite server: ${ebs.server.hostname}
- INVOICES server: ${invoices.server.hostname}
Installation PC
UNIX
Edit the file /etc/hosts on your local machine.
Windows
Edit the file c:/windows/system32/drivers/etc/hosts on your local machine.
SOA Suite server
Edit the file /etc/hosts on the SOA Suite server.
WebLogic server
Edit the file /etc/hosts on the Weblogic Suite server.
Oracle E-Business Suite server
Edit the file /etc/hosts on the EBSDB server.
TNS settings
Edit the file ${db.root}/network/admin/tnsnames.ora on the database server. Copy and paste the TNS entry below into the file. Change the service name, host and port to match the Oracle E-Business Suite machine.
EBSDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ${ebs.server.hostname})(PORT = ${db.jdbc.ebs.port}))
)
(CONNECT_DATA =
(SERVICE_NAME = ${db.jdbc.ebsapps.servicename})
)
)
This edit may require DBA access if the installer does not have access to the DB server for the PROCESSIT database.
WebLogic Open Files Limit
The limit on the number of open files on the WebLogic Server must be increased. Edit the file /etc/security/limits.conf on the Weblogic Suite server. Add the following lines, or modify them if they already exist:
* soft nofile 32767
* hard nofile 32767
Oracle Enterprise Manager Fusion Middleware Control Partition tasks
Create the required SOA partitions manually via Oracle Enterprise Manager Fusion Middleware Control
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the SOA section under deployments.
- Click on the soa-infra link under the SOA section.
- Click the SOA Infrastructure link (upper left hand corner)
- Select Manage Partitions from the task list.
- Using the Create button, create two additional SOA Partitions core and services.
Oracle Enterprise Manager Fusion Middleware Control Configuration tasks
Set Configuration settings for Oracle Enterprise Manager Fusion Middleware Control
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the SOA section under deployments.
- Click on the soa-infra link under the SOA section.
- Click the SOA Infrastructure link (upper left hand corner)
- Select SOA Administration, Common Properties from the task list.
- Verify Capture Composite Instance Stateis checked.
Database link
The database link connects to the Oracle E-Business Suite database with user ${db.jdbc.ebsapps.username}. It must be changed to reflect the ${db.jdbc.ebsapps.username} password.
- Edit the file ${inst.root}/database/plugin/databaselink/db_link.sql on the installation machine.
- Modify it to contain the code below. Specifically regarding
connect to ${db.jdbc.ebsapps.username} identified by ${db.jdbc.ebsapps.password}
.
declare
l_x varchar2(260) := 'EBSDB';
l_x2 varchar2(260) := 'EBSDB';
l_dummy_cnt pls_integer:=0;
begin
select count(1) into l_dummy_cnt from all_db_links where db_link=l_x;
if l_dummy_cnt =0 then
dbms_output.put_line('database link '||l_x||' not created, will create now.... ');
execute immediate 'create public database link '||l_x||' connect to ${db.jdbc.ebsapps.username} identified by ${db.jdbc.ebsapps.password} using '||''''||l_x2||'''';
else
dbms_output.put_line('database link '||l_x||' is created, will skip ... ');
end if;
end;
/
Task reminders
In order to enable human task reminders you must edit the reminder table data sql script located at ${inst.root}/database/seeded_data/d4_reminder_levels_data.sql
to reflect your preferences. For example:
DECLARE
BEGIN
--
-- Upload table D4_REMINDER_LEVELS
--
d4_db.upload_set_table(p_table_name => 'D4_REMINDER_LEVELS' ,p_schema_name =>'d4', p_delete_all_rows => TRUE,p_fail_on_missing_table => FALSE,p_unique_violation_ok=>TRUE,p_column_list => 'ORG_ID, REMINDER_GROUP, REMINDER_LEVEL, DAYS, ESCALATION, NEXT_USER_SRC' );
d4_db.upload_data('204,''ACC'',1, 1, ''N'', ''H''');
d4_db.upload_data('204,''ACC'',3, 2, ''Y'', ''H''');
d4_db.upload_data('204,''ACC'',5, 3, ''Y'', ''S''');
d4_db.upload_data('204,''APP'',1, 3, ''N'', ''H''');
d4_db.upload_data('204,''APP'',2, 1, ''Y'', ''H''');
d4_db.upload_data('204,''MPO'',1, 3, ''N'', ''H''');
d4_db.upload_data('204,''MPO'',2, 1, ''Y'', ''H''');
d4_db.upload_data('204,''STD'',1, 3, ''N'', ''H''');
d4_db.upload_data('204,''STD'',2, 2, ''Y'', ''H''');
d4_db.upload_data('204,''HLD'',1, 3, ''N'', ''H''');
d4_db.upload_data('204,''HLD'',2, 2, ''Y'', ''H''');
d4_db.upload_commit_data;
END;
/
WebLogic JVM Memory Settings
The JVM Heap Size on the WebLogic Server should be increased.
Edit the file ${weblogic.server.d4DomainDir}/bin/setDomainEnv.sh on the Weblogic Suite server. Find these lines:
# For additional information, refer to "Managing Server Startup and Shutdown for Oracle WebLogic Server"
# (http://download.oracle.com/docs/cd/E12839_01/web.1111/e13708/overview.htm).
# *************************************************************************
Add these lines below the lines located above:
- For 64-bit JVM:
USER_MEM_ARGS="-Xms1024m -Xmx3072m -XX:PermSize=256m -XX:MaxPermSize=768m -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled"
export USER_MEM_ARGS
Database connections
The data sources listed below must be created in the WebLogic console if they don't exist already.
D4_OEBS_APPS
- JNDI name: jdbc/D4_OEBS_APPS
- Database URL: ${db.jdbc.ebsapps.url}
- Database user: ${db.jdbc.ebsapps.username}
- Database password: ${db.jdbc.ebsapps.password}
Follow these directions for each of the above connections:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Data Sources link under Services header on the home page.
- Click Lock & Edit in the change center box.
- Click New, Generic Data Source above the Data Sources table.
- Fill in the JDBC Data Source Properties with the appropriate data source name and JNDI name for the data connecting you are currently configuring.
- For instance, for D4_DB_D4, data source name should be D4_DB_D4 and the JNDI Name should be jdbc/D4_DB_D4
- Make sure Database Driver is set to Oracle's Driver (Thin) for Instance connections;Versions:9.0.1 and later.
- As standard, set Database Type to Oracle. For MS SQL Server version of INVOICES, make sure Database Type is set to MS SQL Server and Database Driver is set to Oracle's MS SQL Server Driver (Type 4) Versions: 7.0, 2000, 2005.
- Click Next
- Un-check Supports Global Transactions.
- Click Next
- Fill in the Connection Properties with the appropriate database name, hostname and port from the database URL for the database connection you are currently configuring.
- Fill in the database username for the connection you are currently configuring.
- For MS SQL Server version of INVOICES the Connection Properties should be:
- Database Name: invoices
- Host Name: readsoft.invoices
- port: 1433
- database User Name: sa
- Click Next
- Click Test Configuration
- The should receive a message saying ✔ Connection test succeeded.
- Click next
- Check the
AdminServer, processit_cluster, and soa_cluster
checkboxs. - Click Finish
- Click the name for the connection just created to enter the settings page for the connection.
- Click on the Connection Pool tab.
- Set the value for the Maximum Capacity field to at least 150.
- For MS SQL Server version of INVOICES, the Connection Pool properties should be:
- URL: jdbc:weblogic:sqlserver://readsoft.invoices:1433
- Driver Class Name: weblogic.jdbc.sqlserver.SQLServerDriver
- Properties:
user=sa
portNumber=1433
databaseName=invoices
serverName=readsoft.invoices
- Click Save.
- Click Activate Changes in the change center box.
- You receive a message that All changed have been activated.
- Repeat the steps for all four data sources. When these steps have been successfully completed, the Summary of JDBC Data Sources page Data Sources table should show the added data sources.
Database connections
The data sources listed below must be created in the WebLogic console if they don't exist already.
D4_DB_D4
- JNDI name: jdbc/D4_DB_D4
- Database URL: ${db.jdbc.url}
- Database user: ${db.jdbc.d4.username}
- Database password: ${db.jdbc.d4.password}
D4_DB_APPS
- JNDI name: jdbc/D4_DB_APPS
- Database URL: ${db.jdbc.d4apps.url}
- Database user: ${db.jdbc.d4apps.username}
- Database password: ${db.jdbc.d4apps.password}
INVOICES_DB
- JNDI name: jdbc/INVOICES_DB
- Database URL: ${db.jdbc.invoices.url}
- Database user: ${db.jdbc.invoices.username}
- Database password: ${db.jdbc.invoices.password}
Follow these directions for each of the above connections:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Data Sources link under Services header on the home page.
- Click Lock & Edit in the change center box.
- Click New, Generic Data Source above the Data Sources table.
- Fill in the JDBC Data Source Properties with the appropriate data source name and JNDI name for the data connecting you are currently configuring.
- For instance, for D4_DB_d4, data source name should be D4_DB_D4 and the JNDI Name should be jdbc/D4_DB_D4
- Make sure Database Driver is set to Oracle's Driver (Thin) for Instance connections;Versions:9.0.1 and later.
- As standard, set Database Type to Oracle. For MS SQL Server version of INVOICES, make sure Database Type is set to MS SQL Server and Database Driver is set to Oracle's MS SQL Server Driver (Type 4) Versions: 7.0, 2000, 2005.
- Click Next
- Un-check Supports Global Transactions.
- Click Next
- Fill in the Connection Properties with the appropriate database name, hostname and port from the database URL for the database connection you are currently configuring.
- Fill in the database username for the connection you are currently configuring.
- For MS SQL Server version of INVOICES the Connection Properties should be:
- Database Name: invoices
- Host Name: readsoft.invoices
- port: 1433
- database User Name: sa
- Click Next
- Click Test Configuration
- The should receive a message saying ✔ Connection test succeeded.
- Click next
- Check the
AdminServer, processit_cluster, and soa_cluster
checkboxs. - Click Finish
- Click the name for the connection just created to enter the settings page for the connection.
- Click on the Connection Pool tab.
- Set the value for the Maximum Capacity field to at least 150.
- For MS SQL Server version of INVOICES, the Connection Pool properties should be:
- URL: jdbc:weblogic:sqlserver://readsoft.invoices:1433
- Driver Class Name: weblogic.jdbc.sqlserver.SQLServerDriver
- Properties:
user=sa
portNumber=1433
databaseName=invoices
serverName=readsoft.invoices
- Click Save.
- Click Activate Changes in the change center box.
- You receive a message that All changed have been activated.
- Repeat the steps for all four data sources. When these steps have been successfully completed, the Summary of JDBC Data Sources page Data Sources table should show the added data sources.
Identity service plugin configuration
- Edit the file ${weblogic.server.d4DomainDir}/lib/Identity.xml on the Weblogic server.
- Change all properties to reflect your environment. Service URLs should already be correct.
- Copy the file ${weblogic.server.d4DomainDir}/lib/Identity.xml to the Domain lib directory for each managed server.
- Copy the file ${weblogic.server.d4DomainDir}/IdentityServicePlugin.properties to the Domain directory for each managed server.
Configure the BPEL fault handler
- Edit the file ${weblogic.server.d4DomainDir}/ProcessITFaultHandler.properties on the SOA Suite server.
- Change faultMessageRecipient to the email of the person that should receive an email notification if PROCESSIT encounters a fault in a BPEL process. Usually, this is the system administrator.
- Change from to the email that you want notification emails to appear to come from.
- Further configuration options are described in the properties file.
OracleAppsAdapter Outgoing Connection Pools
The Outbound Connection Pools listed below must be created in the WebLogic console if they don't exist already.
D4_OEBS_APPS
- JNDI name: eis/Apps/D4_OEBS_APPS
- Datasource Name: jdbc/D4_OEBS_APPS
Follow these directions to configure the above connection:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Deployments link under Your Deployed Resources on the home page.
- Click on the OracleAppsAdapter under the list of Deployments. You may have to click Next several times to find it in the list, or customize the table to increase the number of rows displayed per page.
- Click Configuration followed by Outbound Connection Pools.
- Click Lock & Edit in the change center box.
- Click New above the Outbound Connection Pool Configuration table.
- Select the javax.resource.cci.ConnectionFactory and click next.
- Add the JNDI Name listed above and click Finish.
- For instance, for D4_OEBS_APPS, the JNDI name should be eis/Apps/D4_OEBS_APPS
- Click the name for the connection just created to enter the settings page for the connection.
- Within the Properties Tab, enter the dataSourceName as shown above.
- For instance, for D4_OEBS_APPS, the dataSourceName should be jdbc/D4_OEBS_APPS
- Hit enter after entering the text.
- Make sure the xADataSourceName property Value is empty.
- Click Save.
- The first time you create a Connection Pool you will receive a message that you have made changes that need to be stored in a new deployment plan.
- Modify the suggested path to include a subdirectory called plan and another that is the name of the adapter you are configuring. These directories will need to exist on the server.
- For instance, while modifying the OracleAppsAdapter, the path would be /oracle/middleware/Oracle_SOA1/soa/connectors/plan/OracleAppsAdapter/Plan.xml.
- Click save and you should receive a message that the new Deployment plan was successfully created.
- If this is not the first connection pool you have created, you should receive a message that the Deployment plan has been successfully updated.
- click Activate Changes
- When these steps have been successfully completed, the Outbound Connection Pools page Groups and Instances table should show the added connection pools.
Update the deployment plan on OracleAppsAdapter:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Deployments link under Your Deployed Resources on the home page.
- Click Lock & Edit in the change center box.
- Place a checkmark in front off the OracleAppsAdapter under the list of Deployments. You may have to click Next several times to find it in the list, or customize the table to increase the number of rows displayed per page.
- Click Update at the top of the list of deployments.
- Select Update this application in place with new deployment plan changes. (A deployment plan must be specified for this option)
- Verify the Deployment plan path is the matches what you just created, or change the path to select it.
- For instance, the path for the OracleAppsAdapter is listed as /oracle/middleware/Oracle_SOA1/soa/connectors/plan/OracleAppsAdapter/Plan.xml
- Click Next and review your settings.
- Click Finish
- Click Activate Changes
DbAdapter Outgoing Connection Pools
The Outbound Connection Pools listed below must be created in the WebLogic console if they don't exist already.
D4_DB_APPS
- JNDI name: eis/DB/D4_DB_APPS
- Datasource Name: jdbc/D4_DB_APPS
D4_DB_D4
- JNDI name: eis/DB/D4_DB_D4
- Datasource Name: jdbc/D4_DB_D4
D4_OEBS_APPS
- JNDI name: eis/DB/D4_OEBS_APPS
- Datasource Name: jdbc/D4_OEBS_APPS
Follow these directions to configure the above connections:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Deployments link under Your Deployed Resources on the home page.
- Click on the DbAdapter under the list of Deployments. You may have to click Next several times to find it in the list, or customize the table to increase the number of rows displayed per page.
- Click Configuration followed by Outbound Connection Pools.
- Click Lock & Edit in the change center box.
- Click New above the Outbound Connection Pool Configuration table.
- Select the javax.resource.cci.ConnectionFactory and click next.
- Add the JNDI Name listed above and click Finish.
- For instance, for D4_DB_APPS, the JNDI name should be eis/DB/D4_DB_APPS
- Click the name for the connection just created to enter the settings page for the connection.
- Within the Properties Tab, enter the dataSourceName as shown above.
- For instance, for D4_DB_APPS, the dataSourceName should be jdbc/D4_DB_APPS
- Hit enter after entering the text.
- Make sure the xADataSourceName property Value is empty.
- Click Save.
- The first time you create a Connection Pool you will receive a message that you have made changes that need to be stored in a new deployment plan.
- Modify the suggested path to include a subdirectory called plan and another that is the name of the adapter you are configuring. These directories will need to exist on the server.
- For instance, while modifying the DbAdapter, the path would be /oracle/middleware/Oracle_SOA1/soa/connectors/plan/DbAdapter/Plan.xml.
- Click save and you should receive a message that the new Deployment plan was successfully created.
- If this is not the first connection pool you have created, you should receive a message that the Deployment plan has been successfully updated.
- click Activate Changes
- When these steps have been successfully completed, the Outbound Connection Pools page Groups and Instances table should show the added connection pools.
Once all connection pools have been added, Update the deployment plan on DbAdapter:
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Log in to the Weblogic console with username: ${weblogic.userId} and password: ${weblogic.password}.
- Click on the Deployments link under Your Deployed Resources on the home page.
- Click Lock & Edit in the change center box.
- Place a checkmark in front off the DbAdapter under the list of Deployments. You may have to click Next several times to find it in the list, or customize the table to increase the number of rows displayed per page.
- Click Update at the top of the list of deployments.
- Select Update this application in place with new deployment plan changes. (A deployment plan must be specified for this option)
- Verify the Deployment plan path is the matches what you just created, or change the path to select it.
- For instance, the path for the DbAdapter is listed as /oracle/middleware/Oracle_SOA1/soa/connectors/plan/DbAdapter/Plan.xml
- Click Next and review your settings.
- Click Finish
- Click Activate Changes
Increase SOA Server Timeout Limit
Follow these directions to configure the Timeout:
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the SOA section under deployments.
- Click on the soa-infra link under the SOA section.
- Click the SOA Infrastructure link (upper left hand corner)
- Select Soa Administration, BPEL Properties from the task list.
- Click the More BPEL Configuration Properties... link
- Under the Application Defined MBeans: BPELConfig:bpel attributes, change the value for SyncMaxWaitTime from 45 to 300
Enable Log4j Notifications
To enable Log4j notifications please follow these instructions:
- Open the WebLogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Click Servers under Environment
- Click on Admin Server link.
- Navigate to the Logging tab.
- Scroll to the bottom of the page and expand the Advanced section.
- Change the logging implementation from JDK to Log4J.
- Click Save.
- Depending on your Weblogic Console preferences, changes may need to be activated. If you see this in the top-left hand corner of the Console page, click Activate Changes.
- Edit the file ${weblogic.server.d4DomainDir}/bin/setDomainEnv.sh on the Weblogic server.
- Find this line:
if [ "${LOG4J_CONFIG_FILE}" != "" ] ; then
- Add this line above the line located above:
LOG4J_CONFIG_FILE=${weblogic.server.d4DomainDir}/log4j.xml
- Edit the file ${weblogic.server.d4DomainDir}/log4j.xml on the Weblogic server and change the parameters according to your requirements.
- Repeat steps 3-9 for each managed server in the Processit_Cluster.
- Copy the log4j.xml file edited in step 12 to the Domain Directory for each managed server.
Weblogic authentication provider
Modify the security realm for the WebLogic server.
- Open the Weblogic console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/console
- Navigate to security realms -> myrealm -> Providers.
- Click New above the Authentication Providers table.
- Put IdentityServiceAuthenticationProvider in the Name field.
- Select IdentityServiceAuthenticator from the Type drop-down list.
- Click OK
- Click on the name of the IdentityServiceAuthenticationProvider you just created to edit its settings.
- Make sure that the Control Flag drop-down list has SUFFICIENT selected
- Click Save
- Navigate back to the Providers page.
- Repeat steps 7 to 9 for the DefaultAuthenticator.
Enable Email notifications
To enable notifications from BPEL being send as e-mails:
Configure Email Driver Properties
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the User Messaging Service section under Fusion Middleware.
- Click on the usermessagingdriver-email link under the User Messaging Service section.
- Click the User Messaging Email Driver link (upper left hand corner)
- Select Email Driver Properties from the task list.
- Set values for the following outgoing Mail settings as appropriate for your environment.
- OutgoingMailServer: mailserver.yourdomain.com
- OutgoingMailServerPort: 25
- OutgoingMailServerSecurity: None
- OutgoingDefaultFromAddr: processit@yourdomain.com
- Click the Apply button.
- Replace the parameter values shown in italics with values appropriate to your environment. PROCESSIT does not support incoming e-mail approval, so incoming server setup is not currently required.
Enable Notification Mode
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the SOA section under Deployments.
- Click on the soa-infra link under the SOA section.
- Click the SOA Infrastructure link (upper left hand corner)
- Select SOA Administration, Workflow Properties from the task list.
- Set the Notification Mode to Email
- Set values for the following Notification Service settings as appropriate for your environment.
- Email : From Address processit@yourdomain.com
- Email : Actionable Address: processit@yourdomain.com
- Email : Reply To Address: no.reply@yourdomain.com
- Verify that the property file value for db.jdbc.url contains the correct database server url.
- Verify that the property file value for db.jdbc.d4.username contains the correct database server d4 username.
- Verify that the property file value for db.jdbc.d4.password contains the correct database server d4 user password.
- Inspect the file
/oracle/middleware/Oracle_SOA1/soa/modules/oracle.soa.ext_11.1.1/ReadSoftNotificationService.xml
on the Weblogic server. - Modify log file location to a temporary folder on the Weblogic server.
- Open the Oracle Enterprise Manager Fusion Middleware Control in a browser: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/em
- Login to the Oracle Enterprise Manager Fusion Middleware Control with the user weblogic.
- Navigate to the SOA section under Deployments.
- Click on the soa-infra link under the SOA section.
- Click the SOA Infrastructure link (upper left hand corner)
- Select SOA Administration, Workflow Properties from the task list.
- Click the More Workflow Notification Configuration Properties...
- Under Application Defined MBeans: HWFMailerConfig:human-workflow, click the Operations tab
- Click the setCustomNSDriverPropertyValue and set the following property values
- propertyName:
Email
- propertyValue:
com.readsoft.processit.notification.ReadSoftNotificationService
- Click the Invoke button
- Open the PROCESSIT Configuration Manager.
- Go to the Mail Settings category.
- Find the parameter Consolidated Email Schedule.
- Enter a schedule by site, organization or user in the form
FREQ=[DAILY|WEEKLY|IMMEDIATE]; {BYDAY=[MON,TUE,WED,THU,FRI];} BYHOUR=[0-23]; {BYMINUTE=[0-59]};
- To receive consolidated notifications each day at 7:00am:
FREQ=DAILY; BYHOUR=7;
- To receive consolidated notifications each day at 5:30pm:
FREQ=DAILY; BYHOUR=17; BYMINUTE=30
- To receive consolidated notifications each Tuesday and Thursday at 6:00am:
FREQ=WEEKLY; BYDAY=TUE,THU; BYHOUR=6;
- Log in as oracle on the first WebLogic server
- Navigate to the ${weblogic.server.d4DomainDir}/processit/templates/Invoice directory
- Copy the contents to the managed server domain location such that the directory structure resembles the Admin Server Structure. e.g. /u01/app/oracle/admin/d4/mserver/d4/processit/templates/Invoices
- Repeat steps above for each Managed Server.
- Log in as oracle on the first WebLogic server
- Navigate to the ${weblogic.server.d4DomainLibDir} directory
- Copy the contents to the managed server domain lib location such that the directory structure resembles the Admin Server Structure. e.g. /u01/app/oracle/admin/d4/mserver/d4/lib
- Repeat steps above for each Managed Server.
- Log in as oracle on the WebLogic server
- Navigate to the ${weblogic.server.d4DomainDir}/bin directory
- Stop SOA Managed Server with the command
./stopManagedWebLogic.sh soa_server1
- Stop PROCESSIT Managed Server with the command
./stopManagedWebLogic.sh processit_server1
- Stop Admin Server with the command
./StopWebLogic.sh
- Start Admin Server with the command
nohup ./startWebLogic.sh > ~/logs/weblogic.log 2>&1 &
- Start PROCESSIT Managed Server with the command
nohup ./startManagedWebLogic.sh processit_server1 > ~/logs/processit_ms.log 2>&1 &
- Start SOA Managed Server with the command
nohup ./startManagedWebLogic.sh soa_server1 > ~/logs/soa_ms.log 2>&1 &
Readsoft Notification Service configuration
Optionally, complete these steps to enable consolidated email notifications.
Modification Example
<?xml version="1.0" encoding="UTF-8"?>
<properties>
<property Name="log.file" Value="/usr/tmp/ReadSoftNotificationService.log"/>
<property Name="database.drv" Value="${db.jdbc.driver}"/>
<property Name="database.url" Value="${db.jdbc.url}"/>
<property Name="database.usr" Value="${db.jdbc.d4.username}"/>
<property Name="database.pwd" Value="${db.jdbc.d4.password}"/>
<property Name="cache.InactivityTimeout" Value="600"/>
<property Name="cache.AbandonedTimeout" Value="900"/>
<property Name="debugFlag" Value="false"/>
</properties>
Verify smtp hostname
Verify that the property file value for smtp.hostname contains the smtp mail server host name.
This value should be the same as the Configuration Manager parameter value for Mail Server Host
under the Mail Settings category
Configure Notification Service
To receive consolidated email notifications from the Readsoft Notification Service:
Copy Recurring Invoice Templates to Managed Servers
When running in a clustered High Availability environment you must copy the Recurring Invoice Templates from the Admin Server to each of the Managed Servers.
Copy Shared Libraries to Managed Servers
When running in a clustered High Availability environment you must copy the Shared Libraries from the Admin Server to each of the Managed Servers.
Restart WebLogic
Restart the WebLogic server.
Installation Complete
The PROCESSIT installation process is complete.
Click here to launch the PROCESSIT Console: http://${weblogic.adminServerHostName}:${weblogic.adminServerPort}/processit/faces/Console