cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ryanweng
Level 3

Failed to build product when migrate from InstallAnywhere 2020 to 2022

Hi, 
We upgraded InstallAnywhere2020 to 2022 with "Public Hotfix A" version.  When we build the project by OpenJDK8u345, it failed to build, and show error message on InstallAnywhere 2022/console.txt as below:

java.io.IOException: Specified Jar File does not exist
	at com.zerog.util.ZGUtil.isThisJarSigned(Unknown Source)
	at Flexeraamc.ag(Unknown Source)
	at Flexeraamc.af(Unknown Source)
	at Flexeraamc.aa(Unknown Source)
	at Flexeraamc.ac(Unknown Source)
	at com.zerog.ia.installer.actions.AntRunner.zipCustomCodeSelf(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.designer.build.ZipToUtility.installerZipCustomCode(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.zerog.ia.installer.Installer.zipCustomCode(Unknown Source)
	at Flexeraaef.a8(Unknown Source)
	at Flexeraaef.h6(Unknown Source)
	at Flexeraaef.b2(Unknown Source)
	at Flexeraaey.db(Unknown Source)
	at Flexeraae0.an(Unknown Source)
	at Flexeraaey.ag(Unknown Source)
	at Flexeraaef.a3(Unknown Source)
	at Flexeraaem.run(Unknown Source)
java.io.IOException: Specified Jar File does not exist
	at com.zerog.util.ZGUtil.isThisJarSigned(Unknown Source)
	at Flexeraamc.ag(Unknown Source)
	at Flexeraamc.af(Unknown Source)
	at Flexeraamc.aa(Unknown Source)
	at Flexeraamc.ac(Unknown Source)
	at com.zerog.ia.installer.actions.AntRunner.zipCustomCodeSelf(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.designer.build.ZipToUtility.installerZipCustomCode(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.zerog.ia.installer.Installer.zipCustomCode(Unknown Source)
	at Flexeraaef.a8(Unknown Source)
	at Flexeraaef.h6(Unknown Source)
	at Flexeraaef.b2(Unknown Source)
	at Flexeraaey.db(Unknown Source)
	at Flexeraae0.an(Unknown Source)
	at Flexeraaey.ag(Unknown Source)
	at Flexeraaef.a3(Unknown Source)
	at Flexeraaem.run(Unknown Source)
java.io.IOException: Specified Jar File does not exist
	at com.zerog.util.ZGUtil.isThisJarSigned(Unknown Source)
	at Flexeraamc.ag(Unknown Source)
	at Flexeraamc.af(Unknown Source)
	at Flexeraamc.aa(Unknown Source)
	at Flexeraamc.ac(Unknown Source)
	at com.zerog.ia.installer.actions.AntRunner.zipCustomCodeSelf(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.installer.InstallPiece.zipCustomCode(Unknown Source)
	at com.zerog.ia.designer.build.ZipToUtility.installerZipCustomCode(Unknown Source)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.zerog.ia.installer.Installer.zipCustomCode(Unknown Source)
	at Flexeraaef.a8(Unknown Source)
	at Flexeraaef.h6(Unknown Source)
	at Flexeraaef.b2(Unknown Source)
	at Flexeraaey.db(Unknown Source)
	at Flexeraae0.an(Unknown Source)
	at Flexeraaey.ag(Unknown Source)
	at Flexeraaef.a3(Unknown Source)
	at Flexeraaem.run(Unknown Source)

Attached is the console.txt.

What can we do to resolve this issue?  

0 Kudos
1 Reply
VineethaNair
Level 6

Hi,

This issue has been fixed in InstallAnywhere 2022 R2. Suggest upgrading to this latest version.

Alternatively, there is a work around:
The issue is with "Execute Ant Script" action added to the project. Few dependencies were removed from the ant subdirectory in the IA 2022 R1 release due to security vulnerabilities. To work around the issue, remove the following Jar files from each "Execute Ant Script" action's list of dependencies:

ant-apache-log4j.jar
ant-icontract.jar
ant-nodeps.jar
ant-starteam.jar
ant-stylebook.jar
ant-trax.jar
ant-vaj.jar
ant-weblogic.jar
ant-xalan1.jar
ant-xslp.jar
After removing these Jars from each Execute Ant Script action, the project should build successfully.

0 Kudos