HTTP status 500 Internal Server Error trying to connect to the GUI CAVHSRVR from a web browser
search cancel

HTTP status 500 Internal Server Error trying to connect to the GUI CAVHSRVR from a web browser

book

Article ID: 45989

calendar_today

Updated On:

Products

InterTest - Batch

Issue/Introduction

The Testing tool's common component for GUI CAVHSRVR server started, and the user tries to connect the server from a Web browser to download GUI installation file and/or update file and gets HTTP 500 Internal Server Error message. 

Also the CAVHSRVR server log shows severe error messages:

java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /cai/testingtools/testingtools.2016-08-24.log (EDC5141I Read-only file system.)
.at java.io.FileOutputStream.<init>(FileOutputStream.java:233)
.at java.io.FileOutputStream.<init>(FileOutputStream.java:154)

org.apache.jasper.EmbeddedServletOptions <init>
SEVERE: The scratchDir you specified: /cai/testingtools/server/work/Catalina/localhost/software is unusable.
org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException: No output folder
.at org.apache.jasper.JspCompilationContext.createOutputDir(JspCompilationContext.java:678)
.at org.apache.jasper.JspCompilationContext.getOutputDir(JspCompilationContext.java:197)

SEVERE: Servlet.service() for servlet jsp threw exception
java.io.FileNotFoundException: /cai/testingtools/server/work/Catalina/localhost/software/org/apache/jsp/default_jsp.java (EDC5129I No such file or directory.)

 

Cause

The HLQ.CAVHJCL(CAVHALOC) allocate CAIZFS file and mount it as READ and WRITE permission.

 MOUNT FILESYSTEM('HLQ.CAIZFS') +
      TYPE(ZFS) MODE(RDWR) +
      PARM('AGGRGROW')  +
      MOUNTPOINT('/cai/testingtools')

If only READ permission given, then GUI server does not start correctly and cause various problem. 

Resolution

The Testing tool's common component for GUI CAIZFS file requires remount with READ and WRITE permission.