|
I am using gnujsp1.0.0 with Apache1.3.9/Jserv1.0
and JDK1.2.2 in Windows NT.
My hello.jsp (just a <%@page language="Java"
%> and static text) works, but
the complex pages from our existing site do not
work. I get an HTTP error 500 -
Internal Server Error when I try to hit one of
those pages. It appears that the Java
source code emitted is not being compiled. I
looked in the log files, mod_jserv.log
has nothing, jserv.log contains entries like this
(for geer/about.jsp):
[19/10/1999 12:56:44:549 CDT]
org.gjt.jsp.JspServlet: service started
[19/10/1999 12:56:44:559 CDT] org.gjt.jsp.JspServlet: Parsing file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Depends on /geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: getResIm: return file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Depends on /geer/i_vars.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: getResIm: return file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Depends on /geer/isloggedin.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: getResIm: return file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Depends on /geer/i_jdbc_utils.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: getResIm: return file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Depends on /geer/i_get_form_param.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: getResIm: return file:c:/webpages/geer/about.jsp [19/10/1999 12:56:44:739 CDT] org.gjt.jsp.JspServlet: Emitting source to c:\scratchdir\jsp___2fgeer_2fabout_2ejsp.java [19/10/1999 12:56:44:799 CDT] org.gjt.jsp.JspServlet: Compiling c:\scratchdir\jsp___2fgeer_2fabout_2ejsp.java [19/10/1999 12:56:44:799 CDT] org.gjt.jsp.JspServlet: Compiler command: builtin-javac -classpath c:\JServ\ApacheJServ.jar;d:\jsdk2.0\lib\jsdk.jar;c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;c:\gnujsp-1.0.0\lib\gnujsp10.jar;c:\jdk1.1.2\src.jar;c:\jdk1.1.2\lib\tools.jar;c:\jdk1.1.2\lib\dt.jar;c:\scratchdir;c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;c:\gnujsp-1.0.0\lib\gnujsp10.jar -d c:\scratchdir -deprecation c:\scratchdir\jsp___2fgeer_2fabout_2ejsp.java error.log for Apache has a number of entries like
this:
include directive: file = i_vars.jsp
include directive: file2 = /geer/i_vars.jsp include directive: file3 = /geer/i_vars.jsp include: using resource: file:c:/webpages/geer/i_vars.jsp But there are no errors I can see in any of the
logs. I copied and pasted the compiler
command in jserv.log to a command line (using
"javac" instead of "built-in javac") and
the emitted Java code for the JSP page compiled
sucessfully. The site is still running on
gnujsp1.0a3 with JDK1.1.8 on another machine.
Any ideas? I'm guessing it has something to do with using a lot of <%@
include %> or a complication with using JDK1.2.
Thanks.
James B. Walters
|