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 http://dovetail.com/docs/tomcat/config.html 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(ClassParser.java:200)
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.
Jeff
Tomcat z/os severe error in STDERR
-
- Posts: 2
- Joined: Fri Aug 16, 2013 10:48 am
Re: Tomcat z/os severe error in STDERR
A colleague of mine found the answer at https://bz.apache.org/bugzilla/show_bug.cgi?id=60169 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.
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.