During the setup for a new install of TAMz the following errors are seen when starting TAMSTC with the java trace set:
JVMJZBL2999T -> getMainClassFromJarFile()
JVMJZBL2999T jarfile: tam-microservice.war
JVMJZBL1050E Error reading jarfile "tam-microservice.war" for -jar option
JVMJZBL2999T -> JniUtil.writeStackTrace()
JVMJZBL2007E Stack trace follows:
java.io.FileNotFoundException: tam-microservice.war (EDC5129I No such file or directory
.at java.util.zip.ZipFile.open(Native Method)
.at java.util.zip.ZipFile.<init>(ZipFile.java:242)
.at java.util.zip.ZipFile.<init>(ZipFile.java:171)
.at java.util.jar.JarFile.<init>(JarFile.java:179)
.at java.util.jar.JarFile.<init>(JarFile.java:116)
JVMJZBL2999T <- JniUtil.writeStackTrace()
The file exists in the expected directory. What is causing this error?
TAMz 1.1
Verify that the TAM_HOME and NIM_PATH parameters in the TAMENV member are correctly specified.
The NIM_PATH parameter needs to specify ca-nim-sm.war at the end of the directory.
Example:
export TAM_HOME=/TAMSTC/directory
export NIM_PATH=/TAMSTC/directory/ca-nim-sm.war
Lastly, verify that the /TAMSTC/directory is mounted.