Ssb deploying not apply to patch

Dear community,

After i deploy from ssb my instance is running ok, but the patch did not happen, so now i have a running instance 8.3, but the patch did not apply

I added the patch in:
C:\Apps\repos\my_local_iiq\ssd_development\base\patch

identityiq-8.3p3.jar

here are the logs

I can see in the logs saying: " Overlaying patch version 8.3p3"

init-properties:
Trying to override old definition of task propertycopy
     [echo] hostname pulled from OS = LP-85193
     [echo] Looking for local properties file LP-85193.build.properties
     [echo] No local properties file for LP-85193.build.properties
     [echo] Looking for local properties file build.properties.LP-85193 (legacy naming convention)
     [echo] No local properties file for build.properties.LP-85193
     [echo] No host-specific properties file for LP-85193.target.properties
     [echo] host = LP-85193
     [echo] Found SPTARGET environment variable of sandbox, building for that environment.
     [echo] target=sandbox
     [echo] Building for environment target sandbox
     [echo] Looking for a sandbox.build.properties file...
     [echo] Environment-specific properties file = sandbox.build.properties
     [echo] Checking for target 'sandbox' files to ignore...
     [echo] Found target ignore list file: 'sandbox.ignorefiles.properties', loading ignore list.
     [echo] buildSubset Property is not set to true. Will skip building subset...

main:
Trying to override old definition of task propertycopy

-expandGAreleaseAndPatches:
     [echo] Found IIQ binaries for 8.3p3. Building for this version.
     [echo] Will look for eFixes in directory: base/efix/8.3p3 ...
     [echo] Extracting GA release binary...
    [mkdir] Created dir: C:\Apps\repos\my_local_iiq\ssd_development\build\extract
    [unzip] Expanding: C:\Apps\repos\my_local_iiq\ssd_development\base\ga\identityiq-8.3.zip into C:\Apps\repos\my_local_iiq\ssd_development\build\extract
     [echo] Extracting WAR file...
    [unzip] Expanding: C:\Apps\repos\my_local_iiq\ssd_development\build\extract\identityiq.war into C:\Apps\repos\my_local_iiq\ssd_development\build\extract
   [delete] Deleting: C:\Apps\repos\my_local_iiq\ssd_development\build\extract\identityiq.war
     [echo] Overlaying patch version 8.3p3
    [unzip] Expanding: C:\Apps\repos\my_local_iiq\ssd_development\base\patch\identityiq-8.3p3.jar into C:\Apps\repos\my_local_iiq\ssd_development\build\extract
     [echo] Overlaying efixes from /base/efix/8.3p3

-expandAP:

-laydownWebDirectoryOverrides:
     [copy] Copying 4 files to C:\Apps\repos\my_local_iiq\ssd_development\build\extract
     [copy] Copied 15 empty directories to 4 empty directories under C:\Apps\repos\my_local_iiq\ssd_development\build\extract

prepBinaries:
   [script] WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
Trying to override old definition of task propertycopy

-expandGAreleaseAndPatches:
     [echo] Found IIQ binaries for 8.3p3. Building for this version.
     [echo] Will look for eFixes in directory: base/efix/8.3p3 ...
     [echo] Binaries already extracted. Use clean to force a expansion

-expandAP:

-laydownWebDirectoryOverrides:
     [copy] Copying 4 files to C:\Apps\repos\my_local_iiq\ssd_development\build\extract

prepBinaries:
Trying to override old definition of task propertycopy

buildPlugins:
    [mkdir] Created dir: C:\Apps\repos\my_local_iiq\ssd_development\build\plugins
     [echo] Applying Custom Plugins to build

cleanPluginBuildDir:
   [delete] Deleting directory C:\Apps\repos\my_local_iiq\ssd_development\build\plugins
Trying to override old definition of task propertycopy

compile:
    [mkdir] Created dir: C:\Apps\repos\my_local_iiq\ssd_development\build\classes
    [javac] Compiling 26 source files to C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 warning
     [copy] Copying 33 files to C:\Apps\repos\my_local_iiq\ssd_development\build\classes
Trying to override old definition of task propertycopy

-generateDTD:
     [echo] Generating C:\Apps\repos\my_local_iiq\ssd_development\build\extract/sailpoint.8.3p3.dtd...
Trying to override old definition of task propertycopy

setExclusions:

prepareFiles:
     [copy] Copying 17 files to C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom
     [copy] Copied 40 empty directories to 17 empty directories under C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom
     [copy] Copying 1 file to C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\classes

validatetokens:
     [echo] Validating XML files for missed tokens...
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\ObjectConfig\ObjectConfig-Identity-merge.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\ObjectConfig\ObjectConfig-Link-merge.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\ServiceDefinition\SSB_PluginImporterService.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\CertificationCloser\Source\TaskDefinition\TaskDefinition_CertificationCloser.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\CorrelationMigrator\Source\TaskDefinition\TaskDefinition_ManualCorrelationExporter.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\CorrelationMigrator\Source\TaskDefinition\TaskDefinition_ManualCorrelationImporter.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\GenericImporter\Source\TaskDefinition\TaskDef-GenericImporter.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\MockIntegrationExecutor\Source\IntegrationConfig\IntegrationConfig-MockIntegrationConfig.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\ReportExtractor\Source\SP_TaskDefinition_ReportExtractor.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\WorkgroupMigrator\Source\TaskDefinition\TaskDefinition_WorkgroupExporter.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSF_Tools\WorkgroupMigrator\Source\TaskDefinition\TaskDefinition_WorkgroupImporter.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSP_Tools\Rules\Rule-Standalone-IIQDB-Performance-Test.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSP_Tools\Rules\Rule-Standalone-Install-Sizing-Rule-with-Driver-Test.xml
     [java] Validating file : C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom\SSP_Tools\Rules\Rule-Standalone-Report-Database-Row-Counts.xml
     [java] XML validation successful, proceeding further: Resolved 0 error(s)

-strip-ids:
     [echo] Removing hibernate object attributes from xml files

validate:
     [echo] Validating Custom XML objects
     [echo] C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config\custom
[xmlvalidate] 14 file(s) have been successfully validated.

build-inits:
     [move] Moving 1 file to C:\Apps\repos\my_local_iiq\ssd_development\build\extract\WEB-INF\config

prepareCustomConfig:
Trying to override old definition of task propertycopy

cleanUpFromFailure:
Trying to override old definition of task propertycopy

-createVersionPage:

After the deployment using SSB/SSD you need to run extra steps for the patch.
These steps are written in the IIQ 8.3p3 README.txt

Installation instructions 4, 5 & 6 (SSD/SSB is only replacing steps 1, 2 & 3)

  1. Using a database client, execute the
    upgrade_identityiq_tables-8.3p3 DDL script in WEB-INF/database
    that is appropriate for your database type. The database scripts are
    cumulative, so you will receive errors for the schema changes that have
    already been applied in previous patches.
  2. Apply the patch by using a command line interface to execute the command
    “iiq patch 8.3p3” (without the quotes) from the WEB-INF/bin directory.
  3. Start the application server (or the IdentityIQ application if
    supported by the application server).

– Remold

ok, i though it can be done from ssd, so i need go to iiq console,a fter the updagrade the db, thank you

@Remold thank you for your answer, question so if apply to the patch first in db, then in iiq console… then im going to work again in ssd and deploy again to tomcat server, this get override?

so in the process to apply to the patch
db

iiq console

should add then those file in my project ssd?? otherwise when i deploy again in tomcat is going to carry the previous version.

so every time before i deploy and go to tomcat and delete the deployed iiq, because im not sure is those files get override every-time i run >build war, the send the new iiq application to tomcat

so i want to say how i keep my project ssd syn with the deployed iiq which is already patch

thanks in advance

The command build war does nothing more than building a war file.

To deploy to you tomcat you could use: build deploy.

It depends on the configuration of Tomcat if the war-file is automatically extracted or not. To use all functionalities (like search-indexer) of IdentityIQ it should be extracted.

To clear the extracted files from the webapp directory you can use: build cleanWeb

AFAIK ‘the more experienced users’ do not use the SSB to deploy nor cleanWeb. We rather use other CI/CD tools to do this for us :slight_smile: But it is good to know and learn the basics :smiley:

– Remold

The war file is automatically extract, so from my directory ssb after i run
build clean then build war, i can see on the tomcat the iiq files. I aware of ci/cd, but im not sure if I apply to the patch, then my project is 8.0 and then again when im run build war, would be 8.0 so the patch step is useless, thank you for you answer

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.