Larry and Douglas,
The development version of GNUJSP now supports paths with spaces on Win32, and it
will be included in the upcoming 1.0.1 release. You can download a prerelease
snapshot from the GNUJSP home page.
I use GNUJSP with JDK 1.2 without problems. One thing to note is that you need to
include (JDK_HOME)/lib/tools.jar in the classpath for it to find the javac classes
(if you're using the default compiler).
GNUJSP-specific questions should be addressed to [EMAIL PROTECTED] See
http://www.klomp.org/gnujsp/ for subscription info.
Also, a stated goal of Jakarta is to work with Apache, and there's beta code for a
connector already.
Wes
Larry Fluckiger wrote:
> I had a similar problem. I think what fixed it was removing the spaces from
> the scratchdir path definition. Try this:
>
> servlet.org.gjt.jsp.JspServlet.initArgs=scratchdir=c:/Progra~1/Apache~1/Apac
> he/htdoc/scratchdir
>
> I think the gnujsp author mentioned that he had heard gnujsp won't work with
> JDK 1.2. I finally got it to run with an NT setup almost like yours, but it
> has one big problem: the compile always fails for some reason. If I copy the
> compile command from the log file and execute it myself in the scratch
> directory from a command prompt, then stop and restart the server, JSP pages
> will work. I haven't spent enough time to figure out why it fails yet. It is
> a real pain.
>
> I'm just hoping that Jakarta will work with Apache soon! Does anyone know
> when we can expect that, or will Jakarta only work with Sun's web server?
>
> Good luck,
>
> LBF
>
> -----Original Message-----
> From: Schmucker, Douglas [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 11, 1999 8:39 AM
> To: [EMAIL PROTECTED]
> Subject: JSP Servlet Error with GNUJSP 1.0.0
>
> I am currently running into a problem when accessing any JSP page. The
> software that I am running is Win NT, Apache 1.3.9, ApacheJServ 1.1.b3,
> GNUJSP 1.0.0, and JDK 1.2.2. When I start up Apache it appears to
> initialize the JspServlet fine. Based on the output in the Jserv log file.
> However, with I access my JSP pages through a browser I get the following
> error in the mod_jserv log file.
>
> [11/11/1999 15:27:49:041] (ERROR) ajp12: Servlet Error: Initialization error
> while loading the servlet: gnujsp: missing init parameter : "scratchdir", 1
> [11/11/1999 15:27:49:041] (ERROR) an error returned handling request via
> protocol "ajpv12"
>
> I am setting up the initArgs in my Servlet Zone properties as follows:
>
> servlet.gnujsp.initArgs=repositories=c:/ApacheJServ/servlets
> servlet.org.gjt.jsp.JspServlet.initArgs=scratchdir=c:/Program Files/Apache
> Group/Apache/htdoc/scratchdir
> servlet.org.gjt.jsp.JspServlet.initArgs=compiler.classpath=c:/jdk1.2.2/bin
> servlet.org.gjt.jsp.JspServlet.initArgs=repositories=c:/ApacheJServ/servlets
>
> Does any one have a idea what I have wrong?
>
> Thanks in advance.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html