[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Solution to the init parameter problem... but still staggering with GNUJsp


Hi,

I've come through the solutio to my problem with the scratchdir init
parameter... the problem was with the aliases... instead of

servlet.gnujsp.initArgs=checkclass=true
servlet.gnujsp.initArgs=scratchdir=D:\Programas\Apache
Group\Apache\htdocs\jsp
servlet.gnujsp.initArgs=debug=true
servlet.gnujsp.initArgs=...

I have written

servlet.org.gjt.jsp.JspServlet.initArgs=checkclass=true
servlet.org.gjt.jsp.JspServlet.initArgs=scratchdir=D:\Programas\Apache
Group\Apache\htdocs\jsp
servlet.org.gjt.jsp.JspServlet.initArgs=debug=true
servlet.org.gjt.jsp.JspServlet.initArgs=...

and this problems seems to work ok. But now I try to access the
apacheroot\testsuite\main.jsp and the browser says that the file does not
exist, I browse through the logs and find:

1.- In the error.log of Apache 1.3.12 for WinNT
GNUJSP: Detected JSDK version 2.0

2.- In the jserv.log of JServ 1.1.2
[27/06/2000 17:10:41:210 GMT+02:00] org.gjt.jsp.JspServlet: init
[27/06/2000 17:10:41:210 GMT+02:00] org.gjt.jsp.JspServlet: Debugging
enabled
[27/06/2000 17:10:41:220 GMT+02:00] org.gjt.jsp.JspServlet:
scratchdir=D:\Programas\Apache Group\Apache\htdocs\jsp, checkDeps=true,
pagebase=null, forcePageBase=false, usePackages=false
[27/06/2000 17:10:41:220 GMT+02:00] org.gjt.jsp.JspServlet: JspServlet:
initialized
[27/06/2000 17:10:41:230 GMT+02:00] org.gjt.jsp.JspServlet: service started
[27/06/2000 17:10:41:300 GMT+02:00] org.gjt.jsp.JspServlet: getResIm: return
file:d:/programas/apache group/apache/htdocs/testsuite/main.jsp
[27/06/2000 17:10:41:300 GMT+02:00] org.gjt.jsp.JspServlet: Parsing
file:d:/programas/apache group/apache/htdocs/testsuite/main.jsp
[27/06/2000 17:10:41:601 GMT+02:00] org.gjt.jsp.JspServlet: Depends on
/testsuite/main.jsp
[27/06/2000 17:10:41:621 GMT+02:00] org.gjt.jsp.JspServlet: getResIm: return
file:d:/programas/apache group/apache/htdocs/testsuite/main.jsp
[27/06/2000 17:10:41:631 GMT+02:00] org.gjt.jsp.JspServlet: Emitting source
to D:\Programas\Apache
Group\Apache\htdocs\jsp\jsp___2ftestsuite_2fmain_2ejsp.java
[27/06/2000 17:10:41:861 GMT+02:00] org.gjt.jsp.JspServlet: Compiling
D:\Programas\Apache
Group\Apache\htdocs\jsp\jsp___2ftestsuite_2fmain_2ejsp.java
[27/06/2000 17:10:41:891 GMT+02:00] org.gjt.jsp.JspServlet: Compiler
command: builtin-javac -classpath D:\Programas\Apache Group\Apache JServ
1.1.2\ApacheJServ.jar;D:\Programas\jsdk2.0\lib\jsdk.jar;D:\Programas\Apache
Group\gnujsp-1.0.0\lib\servlet-2.0-plus.jar;D:\Programas\Apache
Group\gnujsp-1.0.0\lib\gnujsp10.jar;D:\jdk1.2.2\lib\tools.jar -d
D:\Programas\Apache Group\Apache\htdocs\jsp -deprecation D:\Programas\Apache
Group\Apache\htdocs\jsp\jsp___2ftestsuite_2fmain_2ejsp.java

sounds like the built-in compiler could not compile de generated .java file
for the .jsp file. Im working with an NT 4 Server, Apache 1.3.12, JServ
1.1.2, GNUJsp 1.0.0 and JDK 1.2.2

Thanks in advance

Miguel Ángel Ripalda Marín 
Siemens Elasa S.A. 
T, I + D Sistemas 
Pol. Malpica, D-98 50016 Zaragoza, España
*	(34) 976 760 300 ext. 405
*	(34) 976 760 346
*	maripalda@elasa.siemens.es