Hi, ALL

GNUJSP doesn't work at all...
The installation of ApacheJServ is succeeded, so I confirmed on web
like seeing "Hello", "IsItWorking" working.
But I can't see "hello.jsp" from the example of GNUJSP-1.0.1
at all. I think I made some mistakes on configuration...
(That's all you have to do on GNUJSP, right?)

The log file says like below
(ERROR) ajp12: Servlet Error:NoClassDefFoundError: org.gjt.jsp.JspServlet

[environment]
Solaris 8
Apache1.3.22
JSDK2.0
JDK1.2.2 (even tried JDK1.3_02)
ApacheJServ1.1.2
GNUjsp1.0.1

I've changed configuration after I succeed to move ApacheJServe like below
[configuration]
1. jserv.conf

  ApJServVMTimeout 30
  ApJServMount /jsp /jspzone
  ApJServAction .jsp /jsp/gnujsp

2. jserv.properties

  wrapper.classpath=/usr/local/apache/1.3.22/libexec/ApacheJServ.jar
  #wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
  wrapper.classpath=/usr/local/gnujsp-1.0.1/lib/servlet-2.0-plus.jar
  wrapper.classpath=/usr/java1.2/lib/tools.jar
  #wrapper.classpath=/usr/local/gnujsp-1.0.1/lib/gnujsp10.jar

  zones=root,jspzone

  jspzone.properties=/usr/local/apache/1.3.22/conf/jserv/jspzone.properties

3. jspzone.properties

  #repositories=/usr/local/apache/1.3.22/servlets
  repositories=/usr/local/gnujsp-1.0.1/lib/gnujsp10.jar
  repositories=/usr/local/gnujsp-1.0.1/lib/sax2.jar
  repositories=/usr/local/gnujsp-1.0.1/lib/openxml-1.2-w3c.jar
  repositories=/usr/local/gnujsp-1.0.1/lib/aelfred.jar

  servlet.gnujsp.code=org.gjt.jsp.JspServlet

  servlet.gnujsp.initArgs=scratchdir=/usr/local/apache/1.3.22/jsp
  servlet.gnujsp.initArgs=usepackages=true
  servlet.gnujsp.initArgs=checkdependancies=true,checkclass=true
  servlet.gnujsp.initArgs=compiler=/usr/java1.2/bin/javac -classpath %classpath%:%
scratchdir%:/usr/local/gnujsp-1.0.1/lib/gnujsp10.jar -d %scratchdir% -deprecatio
n %source%


Now I am really suspicious about "zone" & "java classpath" gathering from the error 
log, but no clue.

Also I tried many thing for the configuration above from some suggestion and memo on 
many web-sites. Like, put gnujsp10.jar on wrapper.classpath and CLASSPATH setting, 
servlet.gnujsp.initArgs changes... None of them succeeded. So now desperate, PLEASE, 
PLEASE HELP me for this situation.

Any suggestion and similar struggling resolution is really really appreciated.

Thank you Thank you very much.
(I really wanna see hello.jsp working...)

Jun

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to