HTTP ERROR: 500 Unable to compile class for JSP

Article ID: 2017406
Expand all | Collapse all

Symptoms

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.

Resolution

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.

Properties

Article ID: 2017406 - Last Review: May 8, 2010 - Revision: 1.0
Keywords: 
kbrapidpub kbnomt KB2017406

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com