- JDK 17 used
- Weblogic 14.1.2 used. (Needs Weblogic Remote Console)
- Major step changes in Native Weblogic Installation. Everything is to be done on Weblogic Remote Console now. Also steps have reduced compared to native installation in earlier versions of the application. I feel it is much simpler now.
Download Softwares
C2M 25.4 download
Login to the Oracle Software Delivery Cloud and search for “Oracle Utilities Customer to Meter”. Add the C2M 25.4 release to the download queue.
Database download
Repeat the search on Oracle Software Delivery Cloud for “Oracle Database 19c Standard Edition 2” and queue it up as well – C2M 25.4 still runs on Oracle 19c.
JDK download – Download version 17
Download jdk 17 and install it
This is the location where I installed jdk: C:\c2m\java\jdk\jdk-17.0.18
Database Installation
Download and Install Oracle 19c
Select Setup Software only.
This completes the installation of database software.
Configure the Database Path Variable
Create the Database
Navigate to DBCA (Database Configuration Assistant)
Create the Listener
Navigate to Net Configuration Assistant
Verify that Listener and Database Service are Running
Add Database Service Against Listener
Oracle Home directory is : C:\c2m\database\19c\software\V982656-01
Click Add Database
Below is listener.ora file for reference.
Enable Extended Data Types
Set the DB parameter max_string_size = EXTENDED.
Ensure all connections to database are closed first
Login to sqlplus with sys as SYSDBA
Login to database as sys as SYSDBA. Use sqldeveloper and run below commands.
Import Demo Database
Check Data Pump Directory Location
SELECT directory_name, directory_path FROM dba_directories where directory_name = 'DATA_PUMP_DIR';
C:\c2m\database\19c\app\admin\c2m2504\dpdump/
C:\myfolder\OracleDownloads\C2M.25.4\V1049681-01.zip\C2M\Demo
Extract and Import the Demo Dump
Copy the exp_demo.dmp.gz file from the Demo folder of the C2M 25.4 media pack into the DATA_PUMP_DIR location identified above, then extract it there so that exp_demo.dmp sits directly inside the dpdump folder.
Extract the .gz file and place the exp_demo.dmp file at the data pump dir location
Open a command prompt and run the import using the directory and dump file from above:
impdp directory=data_pump_dir dumpfile=exp_demo.dmp logfile=exp_demo.log schemas=CISADM
When prompted, log in as sys as SYSDBA. The import runs through the CISADM schema objects and finishes with a completed message – a handful of RLS policy warnings are expected here and can be ignored, since fine-grained access control is enabled later in the install.
Create Synonyms for CISUSER and CISREAD
Extract the files in V1048344-01.zip
Open command prompt in admin mode.
Navigate to the folder where jarfiles is
cd C:\myfolder\OracleDownloads\C2M.25.4\V1048344-01\jarfiles
SET CLASSPATH=C:\myfolder\OracleDownloads\C2M.25.4\V1048344-01\jarfiles\*
"%JAVA_HOME%"\bin\java -Xmx1500M com.oracle.ouaf.oem.install.OraGenSec -d CISADM,CISADM,jdbc:oracle:thin:@localhost:1521/C2M2504 -u CISUSER,CISREAD -r CIS_USER,CIS_READ -a A -p CISUSER,CISREAD -l output.log
Weblogic Installation
Download weblogic 14.1.2
C2M 25.4 runs on WebLogic 14.1.2 with JDK 17. Download the fmw_14.1.2.0.0_infrastructure.jar installer and run it with the JDK 17 java executable to launch the install wizard, then step through the wizard accepting the standard Fusion Middleware Infrastructure install – no custom values are needed here.
This completes installation of weblogic.
Update Environment Path Variables
Add JAVA_HOME, ORACLE_CLIENT_HOME
Add jdk path, database path, database perl path
C2M Application Installation
Install the Framework
Extract the downloaded Application Framework and Customer to Meter jar files to a temporary folder (for example C:\tmp). Navigate to the extracted FW-V25.4 folder and run install.cmd from an administrator command prompt to launch the installer.
Enter P and proceed
Updating keystore:
1. Using configureEnv.cmd, re-enter the menu passwords to encrypt the data.
2. Run initialSetup.cmd to update property files with the encrypted data.
Next navigate to %SPLEBASE%/bin folder
Run splenviron.cmd -e C2M2504
Navigate back to bin folder
Run following commands
perl run_java_standalone.plx com.splwg.shared.common.ResetCryptographyKey
invokeDBUpdatePatch.cmd
Verify that both commands ran successfully.
This completes the configuration of OUAF keystore part of the installation
Installing other application components:
In case of no errors, proceed further with installing CCB, MDM, WAM and C2M module in that order.
Navigate to the corresponding folder in command prompt and execute the install.cmd file in each.
No need to change any values in the menu for these modules. Just enter P and process it.
Weblogic Domain Creation
Create the Domain
Navigate to the oracle_common\common\bin folder under the WebLogic install and run config.cmd as administrator. This opens the Fusion Middleware Configuration Wizard. Choose “Create a new domain” and set the domain location to a folder named c2m2504_domain (instead of the default base_domain), then step through Templates, Administrator Account, Domain Mode and JDK, and Advanced Configuration, accepting the defaults unless you have a specific requirement to change them.
Ensure restricted JRF template is selected.
Node Manager is not needed if you are installing the application on Weblogic AdminServer for development environment. For higher environments, you can install application on separate managed server. Then Node Manager is needed to be checked below.
This completes creation of Weblogic Domain.
Configure setUserOverrides.cmd
Copy setUserOverrides.cmd from following location: C:\c2m\ouaf\C2M2504\tools\examples\bin
Copy below content into the file. Some updates were made to fix issues.
Start the WebLogic Admin Server
In this version of weblogic, you cannot access the weblogic admin server from browser. You need to access it through Weblogic Remote Console.
Weblogic Remote Console
Download and install weblogic Remote Console.
Next open weblogic remote console application
Connect to Admin Server as shown below. User name and password is same as weblogic admin server.
Admin home page opens up. It has mainly 4 views:
Edit Tree – Used for adding deployments
Configuration View Tree – Not used (Read only view of Edit Tree Configuration)
Monitoring Tree – Used for activating deployments
Security Tree – Used for adding users and groups
First step, search for jta in search window.
Click on the row, the JTA screen opens up
Next update the timeout to 600 instead of 30. This is needed for deploying SPLWeb ear file.
Next go to File -> settings
Navigate to Networking inside settings page and update Administration server read timeout to 9000000
Create Users and Groups
Create cisusers group
Create SYSUSER user, with password sysuser00
Add SYSUSER to cisusers group
Next create system user. This user and password should be same as that input during CCS application installation.
Add system user to below groups
Restart the weblogic admin server after users are created.
Ear File Deployment
Deploy SPLService and SPLWeb
Create new deployment with name SPLService. In source select the SPLService.ear file from the location where application is installed. Set security model to Advanced.
Click on the cart at top right and commit the changes.
This takes some mintues. After it is done you should see a changes completed message.
Next do the same for SPLWeb. Set security model to Advanced.
Update the deployment order to 200
Next go to cart and commit changes.
On committing you should see a rotating wait sign. Wait for it to complete. Will take some minutes. Took me atleast 15 min with 6gb of allocated memory to weblogic server.
After both deployments are completed, navigate to Monitoring -> Deployments -> Application Management.
You should see both the SPLService and SPLWeb in Prepared state
Start the Applications
Next select SPLService and click on Start button
Select Servicing all requests
After step is completed, the status of the application is updated to Active.
Next do the same for SPLWeb, select and start application.
This should take some time. If you go to your weblogic admin server cmd prompt, you should see c2m configurations getting loaded.
Once all configs are loaded, you should see the application state changing to Active.
This completes the deployment of the ear files.
Test the Installation
Now to test the server, connect to the SSL port (7002). Non SSL port (7001) has some page loading issues.
As seen below C2M main page is successfully loaded.
This completes the installation of C2M 25.4 on Windows64.
No comments:
Post a Comment