Web Application Utility (Palette Web) Setup

Download the Palette Web binary files from the Oracle Software Delivery as mentioned in the Pre-requisites section of this document.

  1. Create a subdirectory named paletteconfig under externallibs to store various configuration files for the Web Application Utility.
  2. Grant read-write-execute permissions on all these directories.
  3. Create a file PaletteWebApplication.properties in the externallibs/paletteconfig/conf subdirectory.
  4. Open the PaletteWebApplication.properties file and add or edit the download.dir property to point to the externallibs/paletteconfig/uploads subdirectory.

Note: Uploads folder mentioned above is a place holder for palette environment set up related files : encryption.xml, EnvrironmentConfig.xml, group.properties, password.properties

Download the PAS binary files from the Oracle Software Delivery Cloud.

Note: Maintain the externallibs folder and place the required libraries and the supported files which are discussed in earlier steps. Check the below snippets for your reference.

The folder structure is,

OIPA Pallete externallibs

Under the conf folder,

Under the documents folder,

Under the OSC/Properties folder,

Under the OSC/Templates folder,

Under the paletteconfig/conf folder,

Under the paletteconfig/uploads folder,

Note: Place the OIPA and Palette build artifacts that are downloaded from the Oracle Software Delivery Cloud in the externallibs/zip directory. Check the below snippet for your reference.

Zip Folder

From the copied location, execute the below command:

docker build format:

$ docker build -t <Image_Name>:<Image_Tag> --build-arg APP_DOMAIN_NAME="<Domain_Name>" --build-arg PAS_PKG="<PAS Package Name>" --build-arg PALETTE_PKG="<Palette Package Name>" --build-arg APP_VERSION="<Build Release Version>"

docker build example:

$ docker build -t pas_wls:12.0.2.0 --build-arg APP_DOMAIN_NAME="pas_domain" --build-arg PAS_PKG="PASJava-weblogic-distribution.zip" --build-arg PALETTE_PKG="PaletteConfig-weblogic.war" --build-arg APP_VERSION="12.0.2.0"

This will generate the PAS WebLogic image

Docker PAS Weblogic Image

To start the containerized PAS application, run

docker run format:

$ docker run -itd --privileged -v /path/to/the/externallibs:/u01/oracle/externallibs --env-file /path/to/the/pas_env.dat --name <Container_Name> --hostname <Container_HostName> -p <AdminServer_External_Port>:<AdminServer_Container_Port> -p <MS_External_Port>:<MS_Container_Port> --sysctl net.ipv4.ip_local_port_range="1024 65000" <Image_Name>:<Image_Tag> createServer.sh $DB_TYPE

docker run example:

For ORACLE: docker run -itd --privileged -v /path/to /externallibs:/u01/oracle/externallibs --env-file /home/pas_env.dat --name pas_wls --hostname paswlsadmin -p 8010:8010 -p 8011:8011 --sysctl net.ipv4.ip_local_port_range="1024 65000" pas_wls:12.0.1.0 createServer.sh ORACLE

For MSSQL: docker run -itd --privileged -v /path/to /externallibs:/u01/oracle/externallibs --env-file /home/pas_env.dat --name pas_wls --hostname paswlsadmin -p 8010:8010 -p 8011:8011 --sysctl net.ipv4.ip_local_port_range="1024 65000" pas_wls:12.0.1.0 createServer.sh MSSQL

Make Sure you define the Database names as below only (Case Sensitive)

Oracle Database: ORACLE

SQL Database: MSSQL

Check docker logs:

$ docker logs -f pas_wls

Note: The APP_DOMAIN_NAME build argument from the "docker build ...." command and the "--hostname" flag from the "docker run ..." commands should be the same which you denoted in the pas_env.dat file.

The PAS AdminConsole is as follows:

Domain Structure

OIPA Docker on Weblogic DS

Deployments

OIPA Docker on Weblogic Deployment

Admin Server DS SIT

OIPA Docker on Weblogic DS SIT

Admin Console PAS

OIPA Docker AC Login

 

OIPA Case 12.0.0.0

Palette URL

OIPA Docker AC Palette