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

Please help me! NoClassDef, JDK1.2


I got this working on my old machine with few problems. That was jdk117 and
older versions of everything. On the new box running the latest JServ,
Apache1.3.6 and the latest gnujsp10 (release), my browser shows this:

Not Found
The requested URL /servlets/org.gjt.jsp.JspServlet was not found on this
server.

Apache/1.3.6 Ben-SSL/1.32 Server at jonagold.com Port 80

in my jserv.log file I see:

[09/01/00 23:40:09:957 EST] Status: 404 Not Found
[09/01/00 23:40:09:958 EST] Servlet-Error: NoClassDefFoundError:
org.gjt.jsp.JspServlet

and in my servlets zone properties file I see:
[09/01/2000 23:40:09:959] (ERROR) ajp11: Servlet Error:
NoClassDefFoundError: org.gjt.jsp.JspServlet

All other servlets work just fine. I know this is probably just some
embarrassingly stupid mistake on my part - but I've been clawing my eyes out
trying to figure out what it is. I have changed multiple things around and
back again to no avail. I'm desperate for help - been banging my head on it
for several days now.

in my jserv.conf file:

ApJServAction .jsp /servlets/org.gjt.jsp.JspServlet
(also tried ApJServAction .jsp /servlets/gnujsp)

in my jserv.properties file:

wrapper.classpath=/usr/local/jdk1.2/lib/gnujsp10.jar
wrapper.classpath=/usr/local/jdk1.2/lib/tools.jar
wrapper.classpath=/usr/local/jserv/lib/ApacheJServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/src/ApacheJSSI-1.1.2/src/java/ApacheJSSI.jar
#wrapper.classpath=/usr/local/jserv/lib/gnujsp.jar
#wrapper.classpath=/usr/local/jre117_v1a/lib/rt.jar
wrapper.classpath=/src/msql-jdbc-1.0/msql-jdbc-1-0.jar
wrapper.classpath=/usr/local/jserv/jsp

zones=servlets,example
<etc.>

In my servlets.properties file:


repositories=/usr/local/apache/servlets
repositories=/usr/local/jdk1.2/lib/tools.jar
repositories=/usr/local/jdk1.2/lib/gnujsp10.jar
repositories=/usr/local/jdk1.2/lib/servlet-2.0-plus.jar
repositories=/usr/local/jserv/jsp
servlets.startup=org.gjt.jsp.JspServlet
servlet.gnujsp.code=org.gjt.jsp.JspServlet
servlet.gnujsp.initArgs=checkclass=true,scratchdir%:/usr/local/jdk1.2/lib/se
rvlet-2.0-plus.jar:/usr/local/jdk1.2/lib/gnujsp10.jar:/usr/local/jsp/beans-d
%scratchdir% -deprecation %source%

and finally my classpath which is

.:/usr/local/jdk1.2:/usr/local/jdk1.2/lib/tools.jar:/usr/local/jdk1.2/lib/gn
ujsp
10.jar:/usr/local/jdk1.2/lib/servlet-2.1.jar:/usr/local/jdk1.2/lib/servlet-2
.0-p
lus.jar