Below error is observed while generating arcotadmin.war file using the Bundlemanager.
$ java -jar bundle-manager.jar
2021-05-07 12:02:25,593 [main] INFO AntExecutor,(main:27) - Creating ant project...
2021-05-07 12:02:25,607 [main] INFO AntExecutor,(main:39) - Registering Logger as a project build listener..
2021-05-07 12:02:25,608 [main] INFO AntExecutor,(main:59) - Project initialization started....
Error reading project file /aa2/CA/AdvAuth/tools/common/bundlemanager/null/tools/common/bundlemanager/bundle_installer.xml: /aa2/CA/AdvAuth/tools/common/bundlemanager/null/tools/common/bundlemanager/bundle_installer.xml
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:307)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:182)
at com.arcot.admin.bundlemanager.util.AntExecutor.init(AntExecutor.java:78)
at com.arcot.admin.bundlemanager.util.BundleManagerUtil.<clinit>(BundleManagerUtil.java:42)
at com.arcot.admin.bundlemanager.BundleManagerExecutor.installAllBundles(BundleManagerExecutor.java:92)
at com.arcot.admin.bundlemanager.BundleManagerExecutor.installAllBundles(BundleManagerExecutor.java:81)
at com.arcot.admin.bundlemanager.BundleManagerExecutor.main(BundleManagerExecutor.java:152)
Caused by: java.nio.file.NoSuchFileException: /aa2/CA/AdvAuth/tools/common/bundlemanager/null/tools/common/bundlemanager/bundle_installer.xml
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.Files.newByteChannel(Files.java:361)
at java.nio.file.Files.newByteChannel(Files.java:407)
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)
at java.nio.file.Files.newInputStream(Files.java:152)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:252)
... 6 more
2021-05-07 12:02:25,664 [main] ERROR AntExecutor,(main:81) - Improper Build File
Release : 9.1
Component : AuthMinder(Arcot WebFort)
Strong Authentication
Risk Authentication
The problem referenced here occurs when ARCOT_HOME environment variable is not set.
To address the issue please source the arwfenv from ARCOT_HOME/sbin directory and you can also set the ARCOT_HOME in your user profile so the profile is sourced every time the user logs into the system and ARCOT_HOME is read properly.