Consultor Eletrônico



Kbase P121043: HTTP ERROR: 500 Unable to compile class for JSP on EasyAsk server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/1/2007
Status: Unverified

FACT(s) (Environment):

EasyAsk
Sun Solaris Intel
IBM AIX
HP-UX

SYMPTOM(s):

HTTP ERROR: 500 Unable to compile class for JSP

HTTP ERROR: 500 Unable to compile class for JSP An error occurred at line: -1 in the jsp file: null Generated servlet error: [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting

CAUSE:

This is a time stamp issue. EasyAsk installs compiled JSPs to the necessary areas of the server, but the nature of the installer is such that all these files have the same time stamp. The algorithm of the server determines that if the compiled classes have a time>= the source, it will try to recompile (since the times are equal).


FIX:

To solve this issue, simply touch all the files under the /server/tmp directory.

touch /server/tmp/*.class
touch /server/tmp/*/*.class
touch /server/tmp/*/*/*.class
touch /server/tmp/*/*/*/*.class