-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

You need a line wrapper.classpath=/JSDK2.0/lib/jsdk.jar

Not just the directory!

By the way, watch out for Pro Java Server Programming coming out this week!
More details... http://ds.dial.pipex.com/rugby/jspbooks.html

Richard

-----Original Message-----
From: Dwayne Bilka [mailto:[EMAIL PROTECTED]]
Sent: 06 August 1999 16:01
To: [EMAIL PROTECTED]
Subject: JServ CLASSPATH settings?


-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Using: JSDK2.0, jdk117_v3, Apache 1.3.3, JServ 1.0, RH Linux 5.2

Standard java code compiles and runs, but when attempting to javac servlets,
I encounter this problem

Error Message:  Can't find class org.apache.jserv.JServ

My PATH includes: /usr/lib/jdk     #which contains ApacheJServ.jar
also in my PATH: /JSDK2.0/lib   # which contains jsdk.jar

I was under the impression that CLASSPATH was not needed if PATH was set.

However, this script also fails with the exact same error message:

#!/bin/sh
properties=/etc/httpd/jserv.properties
log=/var/log/httpd/mod_jserv.log
CLASSPATH=$CLASSPATH:/JSDK2.0/lib/jsdk.jar:/usr/lib/jdk/ApacheJServ.jar
java org.apache.jserv.JServ $properties

Permissions are set like this:
-r--r-----   1 nobody   nobody      76453 Apr 21  1998 /JSDK2.0/lib/jsdk.jar
-rw-r--r--   1 root     root       124435 Jun 15 09:07
/usr/lib/jdk/ApacheJServ.jar

Is there something I've omitted?

Thanks in advance....




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to