Page 1 of 1

Tomcat z/os severe error in STDERR

Posted: Thu Mar 19, 2020 12:03 pm
by jeffbeechg
I have tomcat running happily on Windows. For the life of me I cannot get it to work on z/os. I downloaded a copy from here and installed it. Tomcat starts and runs. But I see NO messages in STDOUT ( here it says I should see some output ). I also get no response when I browse to http://host:port. The STDERR looks good for about 90 seconds, then it gets awash with SEVERE errors, starting with

SEVERE: Unable to process file /IPLE03/cai/nsmem/browser/help/abrowser/idmsagent/hhctrl.class for annotations
org.apache.tomcat.util.bcel.classfile.ClassFormatException: It is not a Java .class file
at org.apache.tomcat.util.bcel.classfile.ClassParser.readID(
etc etc etc.

This /IPLE03/cai/nsmem/browser/help/abrowser/idmsagent/hhctrl.class is not where my tomcat is installed. I don't know where it's coming from.

Can someone please help me?

Thanks very much.

Re: Tomcat z/os severe error in STDERR

Posted: Fri Mar 20, 2020 8:15 am
by jeffbeechg
A colleague of mine found the answer at where it states

In context.xml, add the following line:
<JarScanner scanClassPath="false"/>

it's a mystery to me why tomcat or Java was looking in the /cai directory for .class files but most of unix and Java is a mystery to me anyway.