as an addendum to jon's explanation, here is what the relevant lines in
my jserv.conf look like....

# Apache JServ entry point class
# Syntax: wrapper.class=[classname]
# Default: "org.apache.jserv.JServ"
wrapper.class=org.apache.jserv.JServ

# CLASSPATH environment value passed to the JVM
# Syntax: wrapper.classpath=[path]
# Default: NONE (Sun's JDK/JRE already have a default classpath)
# Notes: if more than one line is supplied these will be concatenated
using
#        ":" or ";" (depending wether Unix or Win32) characters.
#        JVM must be able to find JSDK and JServ classes and any
#        utility classes used by your servlets.

# Apache JServ Servlet Classes
wrapper.classpath=/usr/local/ApacheJServ-1.0/src/java/ApacheJServ.jar

check that  
1)      both of these lines are in your jserv.conf 
2)      the jar file exists and the path to it is correct for your install
3)      "jar tvf ApacheJServ.jar" produces this....

  5735 Wed Jun 30 15:46:48 EDT 1999 META-INF/MANIFEST.MF
   681 Wed Jun 30 15:46:18 EDT 1999 org/apache/java/io/LogRecord.class
   909 Wed Jun 30 15:46:24 EDT 1999 org/apache/java/io/LogWriter$1.class
  2853 Wed Jun 30 15:46:24 EDT 1999
org/apache/java/io/LogWriter$Agent.class
  6384 Wed Jun 30 15:46:24 EDT 1999 org/apache/java/io/LogWriter.class
   847 Wed Jun 30 15:46:24 EDT 1999
org/apache/java/io/ReadFullyInputStream.class
   701 Wed Jun 30 15:46:26 EDT 1999
org/apache/java/lang/AdaptiveClassLoader$ClassCacheEntry.class
  8517 Wed Jun 30 15:46:26 EDT 1999
org/apache/java/lang/AdaptiveClassLoader.class
  3281 Wed Jun 30 15:46:26 EDT 1999 org/apache/java/lang/Bytes.class
  1948 Wed Jun 30 15:46:28 EDT 1999 org/apache/java/lang/Lock.class
   509 Wed Jun 30 15:46:28 EDT 1999
org/apache/java/lang/TimeoutException.class
  3600 Wed Jun 30 15:46:32 EDT 1999
org/apache/java/net/AuthenticatedServerSocket.class
  1844 Wed Jun 30 15:46:32 EDT 1999
org/apache/java/net/AuthenticatedSocket.class
   525 Wed Jun 30 15:46:30 EDT 1999
org/apache/java/net/AuthenticationException.class
  7194 Wed Jun 30 15:46:34 EDT 1999 org/apache/java/security/MD5.class
   880 Wed Jun 30 15:46:30 EDT 1999
org/apache/java/security/MessageDigest.class
  9675 Wed Jun 30 15:46:22 EDT 1999
org/apache/java/util/Configurations.class
  1028 Wed Jun 30 15:46:20 EDT 1999
org/apache/java/util/ConfigurationsRepository.class
  1549 Wed Jun 30 15:46:34 EDT 1999
org/apache/java/util/ExtendedProperties$PropertiesReader.class
  1524 Wed Jun 30 15:46:34 EDT 1999
org/apache/java/util/ExtendedProperties$PropertiesTokenizer.class
  2634 Wed Jun 30 15:46:34 EDT 1999
org/apache/java/util/ExtendedProperties.class
  1321 Wed Jun 30 15:46:22 EDT 1999
org/apache/java/util/SimpleQueue.class
 18002 Wed Jun 30 15:46:46 EDT 1999 org/apache/jserv/JServ.class
   729 Wed Jun 30 15:46:42 EDT 1999
org/apache/jserv/JServConnection$AllDataRead.class
  1688 Wed Jun 30 15:46:42 EDT 1999
org/apache/jserv/JServConnection$JServInputStream.class
  1430 Wed Jun 30 15:46:42 EDT 1999
org/apache/jserv/JServConnection$JServOutputStream.class
 23904 Wed Jun 30 15:46:42 EDT 1999
org/apache/jserv/JServConnection.class
  7358 Wed Jun 30 15:46:46 EDT 1999 org/apache/jserv/JServContext.class
   366 Wed Jun 30 15:46:46 EDT 1999 org/apache/jserv/JServDefs.class
  1299 Wed Jun 30 15:46:40 EDT 1999 org/apache/jserv/JServLog.class
   787 Wed Jun 30 15:46:36 EDT 1999
org/apache/jserv/JServLogChannels.class
  5946 Wed Jun 30 15:46:46 EDT 1999 org/apache/jserv/JServSTMStore.class
   406 Wed Jun 30 15:46:36 EDT 1999
org/apache/jserv/JServSendError.class
 16511 Wed Jun 30 15:46:44 EDT 1999
org/apache/jserv/JServServletManager.class
  4910 Wed Jun 30 15:46:46 EDT 1999 org/apache/jserv/JServSession.class
  4534 Wed Jun 30 15:46:38 EDT 1999 org/apache/jserv/JServUtils.class


here are the permissions on my jar file

-rw-r--r--   1 root     bin        157757 Jun 30 14:46 ApacheJServ.jar

hope that helps.....


jon * wrote:
> 
> > Yes this old chestnut again.   And if any one tells me to read the FAQ I may
> > have to swing for someone.
> >
> > I have downloaded the latest of *everything* and running on a Linux system I
> > keep getting this problem.
> >
> > I have read http://java.apache.org/faq/index.cgi?file=85 which is no help.
> 
> really alan, that is the answer. for some reason, the jdk cannot access the
> class. either your .jar file is in the wrong location, is corrupt, doesn't
> exist or you have your wrapper.class and wrapper.classpath set wrong.
> 
> -jon
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]


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

Reply via email to