head	1.17;
access;
symbols;
locks
	nobody:1.17; strict;
comment	@# @;


1.17
date	99.09.02.09.31.43;	author nobody;	state Exp;
branches;
next	1.16;

1.16
date	99.07.27.22.32.38;	author nobody;	state Exp;
branches;
next	1.15;

1.15
date	99.07.14.22.56.25;	author nobody;	state Exp;
branches;
next	1.14;

1.14
date	99.07.14.22.39.13;	author nobody;	state Exp;
branches;
next	1.13;

1.13
date	99.07.14.22.17.01;	author nobody;	state Exp;
branches;
next	1.12;

1.12
date	99.07.14.22.16.22;	author nobody;	state Exp;
branches;
next	1.11;

1.11
date	99.05.13.17.21.10;	author nobody;	state Exp;
branches;
next	1.10;

1.10
date	99.04.29.19.40.14;	author nobody;	state Exp;
branches;
next	1.9;

1.9
date	99.04.27.20.14.56;	author nobody;	state Exp;
branches;
next	1.8;

1.8
date	99.04.27.20.13.49;	author nobody;	state Exp;
branches;
next	1.7;

1.7
date	99.04.16.23.04.27;	author nobody;	state Exp;
branches;
next	1.6;

1.6
date	99.04.07.18.20.21;	author nobody;	state Exp;
branches;
next	1.5;

1.5
date	99.04.01.18.11.25;	author nobody;	state Exp;
branches;
next	1.4;

1.4
date	99.03.31.03.16.25;	author nobody;	state Exp;
branches;
next	1.3;

1.3
date	99.03.29.20.24.30;	author nobody;	state Exp;
branches;
next	1.2;

1.2
date	99.03.29.20.22.03;	author nobody;	state Exp;
branches;
next	1.1;

1.1
date	99.03.29.20.21.49;	author nobody;	state Exp;
branches;
next	;


desc
@null
@


1.17
log
@null
@
text
@IDependOn-Set: 1
IDependOn-Set: 101
IDependOn-Set: 2
IDependOn-Set: 262
IDependOn-Set: 296
IDependOn-Set: 7
IDependOn-Set: 80
IDependOn-Set: 85
IDependOn-Set: 98
LastModifiedSecs: 936264702
Parent: 7
SequenceNumber: 13
Title: java.lang.NoClassDefFoundError: org/apache/jserv/JServ also known as Can't find class "org.apache.jserv.JServ"
Part: 0
Author-Set: jon@@working-dogs.com
HideAttributions: 1
LastModifiedSecs: 926616069
Type: monospaced
Lines: 22
In your jserv.properties file, make sure that you have this line:

# Apache JServ entry point class (should not be changed)
# Syntax: wrapper.class=[classname]
# Default: "org.apache.jserv.JServ"
wrapper.class=org.apache.jserv.JServ

If you have overridden the above line with something else, you must have 
at least one more line with the above in it. In other words if you have this:

wrapper.class=foo.bar.ack
you MUST also have another line like this:
wrapper.class=org.apache.jserv.JServ

They will be appended together internally.

Also, make sure that your wrapper.classpath= has the correct path to your ApacheJServ.jar file.

ie:

wrapper.classpath=/usr/local/jserv/ApacheJServ.jar

EndPart: 0
Part: 1
Author-Set: jon@@working-dogs.com
Author-Set: pier@@apache.org
HideAttributions: 1
LastModifiedSecs: 931991953
Type: monospaced
Lines: 73
----------
From: Tim Trentham <tim@@furnitureshow.com>
To: Java Apache Users <java-apache-users@@list.working-dogs.com>
Subject: Re: Can't find class org.apache.jserv.JServ
Date: Wed, Jul 14, 1999, 3:08 PM


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.....
EndPart: 1
Part: 2
Author-Set: jon@@working-dogs.com
Author-Set: pier@@apache.org
HideAttributions: 1
LastModifiedSecs: 931992985
Type: monospaced
Lines: 76
----------
From: "Alan R Williamson" <alan@@n-ary.com>
To: "Java Apache Users" <java-apache-users@@list.working-dogs.com>
Subject: Can't find class org.apache.jserv.JServ
Date: Wed, Jul 14, 1999

[..skipped..]

I have read http://java.apache.org/faq/index.cgi?file=85 which is no help.

I can run the system manually with no problems what so ever.   Now I have
everything setup as stated in all the documentation.  But still i get this.
 
Now what is the definite answer here?   What is the file permissions of
these files?  What is the permissions of the directories?   What is the
weather suppose to be?
 
+++ my error_log file+++
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ
Can't find class org.apache.jserv.JServ

----------
From: "jon *" <jon@@clearink.com>
To: Java Apache Users <java-apache-users@@list.working-dogs.com>
Subject: Re: Can't find class org.apache.jserv.JServ
Date: Wed, 14 Jul 1999 14:48:41 -0700

> 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

----------
From: Pierpaolo Fumagalli <pier@@apache.org>
To: Java Apache Users <java-apache-users@@list.working-dogs.com>
Subject: Re: Can't find class org.apache.jserv.JServ
Date: Wed, 14 Jul 1999 14:48:23 -0700

Alan R Williamson wrote:
> 
> Now what is the definite answer here?   What is the file permissions of
> these files?  What is the permissions of the directories?   What is the
> weather suppose to be?
> 
"SU" to your httpd user and try to run JServ manually...

        Pier

----------
From: "Alan R Williamson" <alan@@n-ary.com>
To: "Java Apache Users" <java-apache-users@@list.working-dogs.com>
Subject: RE: Can't find class org.apache.jserv.JServ
Date: Wed, 14 Jul 1999 23:05:06 +0100

> 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.

In the words of General Hague.... BUGGER. Checked all that Jon, still nothing.

However, Pier said something that made the whole thing work wonderfully
well.  Your right it was file permissions on the directory where the .JAR
file lives.  It needed the 'x' set on it.  Bloody marvellous . . . many
thanks chaps.

May one suggest updating the FAQ with this *nugget* of information.

Bloody good show . . . problem broadcasted, solved and off to bed, all
within 12 minutes . . . a record me thinks.

EndPart: 2
Part: 3
Author-Set: anonymous
Author-Set: jon@@working-dogs.com
Author-Set: gwachob@@wachob.net
Author-Set: steve_jenks@@lincmedia.co.jp
HideAttributions: 1
Type: directory
Lines: 10
Subcategories:


Answers in this category:

faqomatic:101

faqomatic:262

<faqomatic:296>
EndPart: 3
@


1.16
log
@null
@
text
@d5 1
d10 1
a10 1
LastModifiedSecs: 933114757
d12 1
a12 1
SequenceNumber: 12
d212 1
d215 1
a215 1
Lines: 8
d224 2
@


1.15
log
@null
@
text
@d4 1
d9 1
a9 1
LastModifiedSecs: 931992985
d11 1
a11 1
SequenceNumber: 11
d210 1
d213 1
a213 1
Lines: 6
d220 2
@


1.14
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 931991953
d10 1
a10 1
SequenceNumber: 10
d124 1
d126 1
a126 1
LastModifiedSecs: 931990620
d128 55
a182 1
Lines: 24
d187 1
a187 2
Date: Wed, Jul 14, 1999, 3:05 PM

d189 1
a189 2
> really alan, that is the answer. for some reason, the jdk cannot
> access the
d193 1
a193 2
In the words of General Hague  . . . . BUGGER.   Checked all that Jon, still
nothing.
d204 1
@


1.13
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 931990620
d10 1
a10 1
SequenceNumber: 9
d43 1
d45 1
a45 1
LastModifiedSecs: 931990582
d47 1
a47 2
Lines: 98

d66 1
a66 2
# Notes: if more than one line is supplied these will be concatenated
using
d82 1
a82 2
  2853 Wed Jun 30 15:46:24 EDT 1999
org/apache/java/io/LogWriter$Agent.class
d84 3
a86 6
   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
d89 4
a92 8
   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
d94 7
a100 14
   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
d102 4
a105 8
   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
d109 1
a109 2
   787 Wed Jun 30 15:46:36 EDT 1999
org/apache/jserv/JServLogChannels.class
d111 2
a112 4
   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
a114 1

@


1.12
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 931990582
d10 1
a10 1
SequenceNumber: 8
d147 31
d189 1
a189 1
EndPart: 2
@


1.11
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 926616069
d10 1
a10 1
SequenceNumber: 7
d42 105
d158 1
a158 1
EndPart: 1
@


1.10
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 925244096
d10 1
a10 1
SequenceNumber: 6
d15 1
a15 1
LastModifiedSecs: 922739040
d17 1
a17 1
Lines: 15
d33 7
@


1.9
log
@null
@
text
@a13 1
DateOfPart: 1999-Apr-27  1:14pm
@


1.8
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 925244029
d10 1
a10 1
SequenceNumber: 5
d14 1
d18 1
a18 1
Lines: 14
d26 2
a27 1
If you have overridden the above line with something else, you must have at least one more line with the above in it. In other words if you have this:
@


1.7
log
@null
@
text
@d8 1
a8 1
LastModifiedSecs: 923509221
d10 2
a11 2
SequenceNumber: 4
Title: java.lang.NoClassDefFoundError: org/apache/jserv/JServ
@


1.6
log
@null
@
text
@d7 1
@


1.5
log
@null
@
text
@d2 1
d7 1
a7 1
LastModifiedSecs: 922990284
d9 1
a9 1
SequenceNumber: 3
d34 1
d37 1
a37 1
Lines: 4
d42 2
@


1.4
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 922739070
d8 1
a8 1
SequenceNumber: 2
d31 10
@


1.3
log
@null
@
text
@a11 1
DateOfPart: 1999-Mar-29 12:24pm
d13 1
@


1.2
log
@null
@
text
@d6 1
a6 1
LastModifiedSecs: 922738922
d8 1
a8 1
SequenceNumber: 1
d10 21
@


1.1
log
@null
@
text
@d4 1
d6 1
a6 1
LastModifiedSecs: 922738909
d8 2
a9 2
SequenceNumber: 0
Title: New Item
@
