[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: One small problem using GNUJSP 1.0 with Apache 1.3.12/JServ 1.1.2 on WIN NT 4.0
- To: <gnujsp-ann@server.gjt.org>, <gnujsp@server.gjt.org>
- Subject: Re: One small problem using GNUJSP 1.0 with Apache 1.3.12/JServ 1.1.2 on WIN NT 4.0
- From: "Ray Harris \(RR\)" <rayhar@kc.rr.com>
- Date: Mon, 30 Jul 2001 06:34:59 -0500
- References: <F1A7F47CE065D311B5E500A0C9CCF1A907F125@server01.hh.uptime-isc.de>
Ralph,
Hi. Thank you for your answer.
Yes. That is the way I had tried it at first (leaving off the "-sourcepath"
argument -- using the exact instructions on klomp.org/gnujsp), but I still
got the same result.
By the way, the reason I used "c:\jsptemp" is because I thought this problem
might have been due to spaces in the pathname.
Doing it that way (leaving off "-sourcepath"), it says it still cannot find
the "c:\jsptemp" directory (which is why this problem is so perplexing....).
Here is the message I receive....
BROWSER
===============================================================
Error compiling source file: file:c:/program files/apache
group/apache/htdocs/date.jsp
builtin-javac -classpath
"c:\gnujsp-1.0.0\lib\gnujsp10.jar;c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;C
:\Program Files\Apache JServ
1.1.2\ApacheJServ.jar;c:\jdk1.2.2\lib\tools.jar;c:\jsdk2.0\lib\jsdk.jar" -g
-d "C:\jsptemp" -verbose "C:\jsptemp\jsp___2fdate_2ejsp.java"
The "C:\jsptemp" directory does not exist.
Usage: javac
where includes:
-g Generate all debugging info
-verbose Output messages about what the compiler is doing
-classpath Specify where to find user class files
-sourcepath Specify where to find input source files
-d Specify where to place generated class files
===============================================================
JSERV.LOG
===============================================================
[30/07/2001 06:10:18:359 CDT] gnujsp/org.gjt.jsp.JspServlet: service started
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: Parsing
file:c:/program files/apache group/apache/htdocs/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: Depends on
/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
s1=/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
s2=/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
s3=/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
p1=null
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
p2=c:\program files\apache group\apache\htdocs\date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
p3=c:\program files\apache group\apache\htdocs\date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: getResIm:
return file:c:/program files/apache group/apache/htdocs/date.jsp
[30/07/2001 06:10:18:375 CDT] gnujsp/org.gjt.jsp.JspServlet: Emitting source
to C:\jsptemp\jsp___2fdate_2ejsp.java
[30/07/2001 06:10:18:390 CDT] gnujsp/org.gjt.jsp.JspServlet: Compiling
C:\jsptemp\jsp___2fdate_2ejsp.java
[30/07/2001 06:10:18:406 CDT] gnujsp/org.gjt.jsp.JspServlet: Compiler
command: builtin-javac -classpath
"c:\gnujsp-1.0.0\lib\gnujsp10.jar;c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;C
:\Program Files\Apache JServ
1.1.2\ApacheJServ.jar;c:\jdk1.2.2\lib\tools.jar;c:\jsdk2.0\lib\jsdk.jar" -g
-d "C:\jsptemp" -verbose "C:\jsptemp\jsp___2fdate_2ejsp.java"
===============================================================
THANKS AGAIN !!!!
Ray Harris
----- Original Message -----
From: "Ralph Einfeldt" <ralph.einfeldt@uptime-isc.de>
To: <gnujsp@server.gjt.org>
Sent: Monday, July 30, 2001 12:52 AM
Subject: AW: One small problem using GNUJSP 1.0 with Apache 1.3.12/JServ
1.1.2 on WIN NT 4.0
> Remove the sourcedir argument and try again:
>
> servlet.gnujsp.initArgs=compiler=builtin-javac -classpath
> "%classpath%;%scratchdir%" -g -d "%scratchdir%" -verbose "%source%"
>
>
> - The argument is not needed, because gnujsp gives the complete
> path to the source file.
> - The way the argument is used is wrong. It would expect a directory
> as argument not a file.
>
> > -----Ursprüngliche Nachricht-----
> > Von: Ray Harris (PV) [mailto:harrisr@pennvalley.cc.mo.us]
> > Gesendet: Samstag, 28. Juli 2001 19:58
> > An: gnujsp-ann@server.gjt.org; gnujsp@server.gjt.org
> > Betreff: One small problem using GNUJSP 1.0 with Apache 1.3.12/JServ
> > 1.1.2 on WIN NT 4.0
> >
> >
> > All,
> >
> >
> > GNUJSP is ** SO CLOSE ** to working on my computer... I can
> > almost smell
> > it...