----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------



Kamesh

You are right. The jsdk.jar file does not have the javax class. But how can I
re-install it. I did install JSDK 2 v1.3 from the sun site but this particular
jar file did not come with that installation. It was already there under the
following path -

C:\Program Files\Netscape\Communicator\Prgram\java\classes\jsdk.jar

Please advise.




----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

The error message means that the
javax.servlet.http.HttpServlet class could not be located.
To make sure that the jsdk.jar indeed has this class you can
either do a

jar tvf jsdk.jar

and see if the class is listed there. Alternatively, you may
write a small java program which has the following line,

import javax.servlet.http.*;

public class test{
}


put the jsdk.jar in the classpath and compile this program. if
it compiles, jsdk.jar has the required class. Else reinstall
this jar file.

-Kamesh

on Nov 17, Gagan Kaur thus hinted about ""

GK:Date: Fri, 17 Nov 2000 08:46:42 -0500
GK:From: Gagan Kaur <[EMAIL PROTECTED]>
GK:Reply-To: Java Apache Users <[EMAIL PROTECTED]>
GK:To: [EMAIL PROTECTED]
GK:
GK:----------------------------------------------------------------
GK:BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
GK:WHEN YOU POST, include all relevant version numbers, log files,
GK:and configuration files.  Don't make us guess your problem!!!
GK:----------------------------------------------------------------
GK:
GK:
GK:
GK:Hi -
GK:
GK:I am trying to install ApacheJServ 1.1.2 along with the Apache 1.3.9 that is
GK:currently running on my NT 4.0 Server and have run into a lot of problems.
GK:I have completely gone throught the FAQ and even though this particular
problem
GK:is specifically mentioned, the resolutions given do not eliminate my problem.
GK:
GK:As per the 3 solutions given,
GK:
GK:1. wrapper.classpath points to the ApacheJServ.jar and jsdk.jar files (I also
GK:added the rt.jar as suggested by someone in the FAQ)
GK:2. The zone is configured as per instructions
GK:3. The log file has write permissions
GK:4. The ApacheJServ.jar size is 154 kb
GK:
GK:In addition to this I also followed the step by step suggestions as given by
GK:Krishna Sampath (Setting up JSErv on NT4.0 - HOW TO) but this too does not
help
GK:at all.
GK:
GK:The following is the start of the message in the error.log file for Apache
when
GK:the apache is started -
GK:
GK:java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
GK: at java.lang.ClassLoader.defineClass0(Native Method)
GK: at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
GK: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
GK: at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
GK: at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
GK: at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
GK: at java.security.AccessController.doPrivileged(Native Method)
GK: at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
GK: at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
GK: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
GK: at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
GK: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
GK:Exception in thread "main" java.lang.NoClassDefFoundError:
GK:javax/servlet/http/HttpServlet
GK:
GK:
GK:In addition to this the mod_jserv logfile for Apache JServ has the following
log
GK:
GK:
GK:[16/11/2000 23:49:23:190] (INFO) wrapper: Java Virtual Machine started
(PID=332)
GK:[16/11/2000 23:49:23:190] (INFO) wrapper: controller started (PID=310)
GK:[16/11/2000 23:49:24:743] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:24:743] (INFO) wrapper: Java Virtual Machine started
(PID=385)
GK:[16/11/2000 23:49:25:003] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:25:003] (INFO) wrapper: Java Virtual Machine started
(PID=392)
GK:[16/11/2000 23:49:25:273] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:25:273] (INFO) wrapper: Java Virtual Machine started
GK:(PID=383)
GK:[16/11/2000 23:49:25:534] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:25:534] (INFO) wrapper: Java Virtual Machine started
(PID=387)
GK:[16/11/2000 23:49:25:794] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:25:794] (INFO) wrapper: Java Virtual Machine started
(PID=396)
GK:[16/11/2000 23:49:26:055] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:26:055] (INFO) wrapper: Java Virtual Machine
started(PID=388)
GK:[16/11/2000 23:49:26:315] (INFO) wrapper: Java Virtual Machine crashed
GK:[16/11/2000 23:49:26:315] (INFO) wrapper: VM died too many times w/in 5
second
GK:intervals (6); no more tries
GK:[16/11/2000 23:49:26:315] (INFO) wrapper: too many restart attempts w/in a
short
GK: timeframe; no more retries.
GK:There may be an error in your Apache JServ configuration.
GK:To debug, please enable all log options in jserv.properties:
GK:
GK:I have downloaded Java 2 SDK v1.3 from Sun's website.
GK:
GK:Please advise.
GK:
GK:
GK:
GK:
GK:--
GK:--------------------------------------------------------------
GK:Please read the FAQ! <http://java.apache.org/faq/>
GK:To subscribe:        [EMAIL PROTECTED]
GK:To unsubscribe:      [EMAIL PROTECTED]
GK:Search Archives:
GK:<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
GK:Problems?:           [EMAIL PROTECTED]
GK:



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]









--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to