You are currently offline, waiting for your internet to reconnect

HTTP ERROR: 500 Unable to compile class for JSP

This article has been archived. It is offered "as is" and will no longer be updated.
When you try to access a .jsp page, the following error is reported:
HTTP ERROR: 500 Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Compiling 1 source file
This article explains the possible causes of this error.
The above error indicates that the application server cannot compile the .jsp file into a .class file.

There are two probable causes for this error when accessing a .jsp page on the FAST Data Search 4.x J2EE server, such as 16089/cqt/search.jsp:

  • The .jsp file is not precompiled as a .jsp.class file;
    Note The default search page :16089/wqt/*.jsp files are precompiled to .jsp.class files, but the :16089/cqt/*.jsp files are not.
  • The .jsp file has been deployed to \j2ee\server\vespa\deploy but the JAVA_HOME parameter in the %FASTSEARCH%/etc/NodeConf.xml file has not been updated to reference a full JDK and instead references the default JRE at %FASTSEARCH/_jvm.

Note See "How to customize the Query Front-end by editing JSP" in the Query Integration Guide for details on configuring NodeConf.xml and deploying .jsp files.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 2017406 - Last Review: 12/12/2015 06:29:27 - Revision: 1.0

  • kbnosurvey kbarchive kbrapidpub kbnomt KB2017406