Patching failed with error "WFLYDC0098" during the process to un-deploy the existing aveksa.ear in RSA Governance & Lifecycle
2 years ago
Article Number
000072033
Applies To

This is a known issue in the following versions:

  • SecurID Governance & Lifecycle 7.5.2
  • RSA Governance & Lifecycle 8.0
Issue
Patching failed with the below error in patch.log:
Patch.sh install script fails during the process to un-deploy the existing aveksa.ear.
Wildfly is running
 
Repackaging aveksa.ear and aveksa.war ...
 
Archive name is: aveksa_7.5.2_181918_P05-2023-Oct-06-13.55.ear
 
Creating aveksa.ear file for deployment
      [zip] Building zip: /tmp/customizeACM/aveksa.war
      [zip] Building zip: /tmp/customizeACM/aveksa.ear
     [copy] Copying 1 file to /home/oracle/archive
 
Undeploying current ear...

WFLYDC0098: The following servers [img-server-1] are starting; execution of remote management operations is not currently available
 
Deploying new customized ear...    this may take a while...
Exception in thread "Thread-9" groovy.lang.GroovyRuntimeException: exception while reading process stream
at org.codehaus.groovy.runtime.ProcessGroovyMethods$TextDumper.run(ProcessGroovyMethods.java:496)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.fill(BufferedReader.java:161)
at java.io.BufferedReader.readLine(BufferedReader.java:324)
at java.io.BufferedReader.readLine(BufferedReader.java:389)
at org.codehaus.groovy.runtime.ProcessGroovyMethods$TextDumper.run(ProcessGroovyMethods.java:489)
... 1 more
Exception encountered while deploying Aveksa.ear
org.jboss.as.cli.CommandFormatException: 'aveksa.ear' already exists in the deployment repository (use --force to replace the existing content in the repository).
 
 
Aveksa.ear deployment failed after 1.288 seconds
Adding the application deployment timeout...
Overriding existing application deployment timeout...
Removed deployment timeout successfully...
Application deployment timeout is updated to 15 minutes.
 
Updating CURRENTLY_DEPLOYED_ARCHIVE to aveksa_7.5.2_181918_P05-2023-Oct-06-13.55.ear
 
aveksa_7.5.2_181918_P05-2023-Oct-06-13.55.ear archived
 
An error occured in the customizeACM command : error code 5

 
Cause
Server was not fully started and that's why Patch.sh install script fails during the process to un-deploy the existing aveksa.ear.
Resolution
New method was added to validate the successful start of application server.

This is resolved in the following versions:
  • SecurID Governance & Lifecycle 7.5.2 P09
  • RSA Governance & Lifecycle 8.0.0 P02
Workaround
Resolved in 8.0.0 P02 so the workaround is not recommended or required.