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

Re: Install Problem



>
>Hi Everyone,
>
>I'm trying to install gnujsp10cvs-snap-19991013-1100.jar.  At this point,
>I'm getting the following error in jserv.log:
>
>(ERROR) ajp11: Servlet Error: ClassNotFoundException: org.gjt.jsp10.Jsp10Servl
et
>
>I have these lines in my jsp.properties file, which is in
>/usr/local/jserv/jsp (my servlet zone for gnujsp stuff):
>
>
>  repositories=/usr/local/gnujsp/lib/gnujsp10cvs.jar 
>  servlet.gnujsp.initArgs=checkclass=true,pagebase=/usr/local/apache/htdocs,sc
ratchdir=/usr/local/jserv/jsp,debug=true,jserv=something
>
>  ...
>
>  servlet.gnujsp.code=org.gjt.jsp10.Jsp10Servlet
>  #servlet.gnujsp.code=org.gjt.jsp.JspServlet
>
>I have this line in jserv.properties:
>
>  wrapper.classpath=/usr/local/gnujsp/lib/gnujsp10cvs.jar

I its in wrapper.classpath it does not make sense to put in 
repositories line. See INSTALL.apache.
In the config you list I miss servler-2.0-plus.jar or
servlet.jsr. See INSTALL.apache.


>
>And I have these lines in jserv.conf:
>
>  ApJServMount /jsp /jsp
>  
>  ...
>
>  ApJServAction .jsp /jsp/gnujsp
>
>
>I am confused about one thing.  I de-archived gnujsp10cvs.jar and went
>into org/gjt/ and didn't find any jsp10 directory - just a jsp/ directory.
>Plus when I went into jsp/ I didn't find any Jsp10Servlet.class, instead I
>found a JspServlet.class.  So the directions in INSTALL.apache that call
>for references to org.gjt.jsp10.Jsp10Servlet don't make sense to me.  I
>tried putting both that and org.gjt.jsp.JspServlet as the 
>servlet.gnujsp.code parameter but neither worked.

Thats not true for gnujsp10cvs-snap-19991013-1100.jar.
INSTALL.apache has the correct info.

A grep of the contents of gnujsp-1.0cvs-19991013-1100:


heyl@kirk 97: egrep org.gjt.jsp10 *
CHANGES:        - proposal: make package org.gjt.jsp10.jsdk20.XXX
CHANGES:     org.gjt.jsp.JSP10Servlet, rather than org.gjt.jsp10.JSP10Servlet.

heyl@kirk 99: egrep gnujsp.code *
INSTALL.apache:servlet.gnujsp.code=org.gjt.jsp.JspServlet
install.html:   servlet.gnujsp.code=org.gjt.jsp.JspServlet<BR>

So you may have read the wrong INSTALL.apache?

Wes:
	You had success with JDK 2? Still trying to get JDK 2 working
	for Ron.

>
>I'm using:
>
>  o RedHat 6.0
>  o Apache 1.3.9
>  o Blackdown's Java2
>  o Apache Jserv 1.0
>  o JSDK2.0
>
>-Robin
>

Ciao,
	Carsten