---------------------------------------------------------------- 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 Thanks a lot ! It eliminated the problem I was having - JVM does not crash anymore. But I am still unable to access the servlets. The following error message is being logged in the log file - [17/11/2000 16:21:14:626 EST] Connections from <my machine name>/<my machine ip address> are not allowed It seems weird because the ServerRoot in my httpd.conf file is my IP address; the ApJServDefaultHost in jserv.conf is the same IP address and the bindaddress in the jserv.properties is also the same. The only default entry in the jserv.conf file which I am unsure about is - <Location /jserv/> SetHandler jserv-status order deny,allow deny from all allow from 127.0.0.1 </Location> I did try and change the above IP to my own - but that did not help either. In fact the JVM has started to crash again after that. I am going to try and reboot my machine and see if that eliminates the crashing (following what somebody has mentioned in the FAQ). Please advise. ---------- Forwarded message ---------- Date: Fri, 17 Nov 2000 15:13:34 -0500 (EST) From: Mail Delivery Subsystem <MAILER-DAEMON> To: [EMAIL PROTECTED] Subject: Returned mail: User unknown The original message was received at Fri, 17 Nov 2000 15:13:24 -0500 (EST) from [EMAIL PROTECTED] [129.49.1.3] ----- The following addresses had permanent fatal errors ----- <[EMAIL PROTECTED]> ----- Transcript of session follows ----- ... while talking to dnsmx1pya.telcordia.com.: >>> RCPT To:<[EMAIL PROTECTED]> <<< 553 <[EMAIL PROTECTED]>... Please correct destination address from [EMAIL PROTECTED] to [EMAIL PROTECTED] 550 <[EMAIL PROTECTED]>... User unknown Reporting-MTA: dns; bartman.ic.sunysb.edu Received-From-MTA: DNS; sparky.ic.sunysb.edu Arrival-Date: Fri, 17 Nov 2000 15:13:24 -0500 (EST) Final-Recipient: RFC822; [EMAIL PROTECTED] Action: failed Status: 5.1.1 Remote-MTA: DNS; dnsmx1pya.telcordia.com Diagnostic-Code: SMTP; 553 <[EMAIL PROTECTED]>... Please correct destination address from [EMAIL PROTECTED] to [EMAIL PROTECTED] Last-Attempt-Date: Fri, 17 Nov 2000 15:13:34 -0500 (EST) Return-Path: <[EMAIL PROTECTED]> Received: from sparky.ic.sunysb.edu ([EMAIL PROTECTED] [129.49.1.3]) by bartman.ic.sunysb.edu (8.9.3/8.9.3) with ESMTP id PAA16362 for <[EMAIL PROTECTED]>; Fri, 17 Nov 2000 15:13:24 -0500 (EST) Received: from localhost (kkamesh@localhost) by sparky.ic.sunysb.edu (8.9.3/8.9.1) with ESMTP id PAA08255 for <[EMAIL PROTECTED]>; Fri, 17 Nov 2000 15:13:24 -0500 (EST) X-Authentication-Warning: sparky.ic.sunysb.edu: kkamesh owned process doing -bs Date: Fri, 17 Nov 2000 15:13:24 -0500 (EST) From: Kamesh Kompella <[EMAIL PROTECTED]> Reply-To: Kamesh Kompella <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: your mail In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-851401618-974492004=:1996" Hi Gagan, The last time I looked I could locate the jar file on Sun's web site. Not so this time, though. I am sending my copy of the jar file as an attachment. You can verify the presence of the relevant class files by doing jar tvf jsdk.jar Hope this helps. Kamesh on Nov 17, Gagan Kaur thus hinted about "Re: your mail" GK:Date: Fri, 17 Nov 2000 14:12:21 -0500 GK:From: Gagan Kaur <[EMAIL PROTECTED]> GK:Reply-To: Java Apache Users <[EMAIL PROTECTED]> GK:To: Java Apache Users <[EMAIL PROTECTED]> GK:Subject: Re: your mail 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:Kamesh GK: GK:You are right. The jsdk.jar file does not have the javax class. But how can I GK:re-install it. I did install JSDK 2 v1.3 from the sun site but this particular GK:jar file did not come with that installation. It was already there under the GK:following path - GK: GK:C:\Program Files\Netscape\Communicator\Prgram\java\classes\jsdk.jar GK: GK:Please advise. GK: GK: GK: 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:The error message means that the GK:javax.servlet.http.HttpServlet class could not be located. GK:To make sure that the jsdk.jar indeed has this class you can GK:either do a GK: GK:jar tvf jsdk.jar GK: GK:and see if the class is listed there. Alternatively, you may GK:write a small java program which has the following line, GK: GK:import javax.servlet.http.*; GK: GK:public class test{ GK:} GK: GK: GK:put the jsdk.jar in the classpath and compile this program. if GK:it compiles, jsdk.jar has the required class. Else reinstall GK:this jar file. GK: GK:-Kamesh GK: GK:on Nov 17, Gagan Kaur thus hinted about "" GK: GK:GK:Date: Fri, 17 Nov 2000 08:46:42 -0500 GK:GK:From: Gagan Kaur <[EMAIL PROTECTED]> GK:GK:Reply-To: Java Apache Users <[EMAIL PROTECTED]> GK:GK:To: [EMAIL PROTECTED] GK:GK: GK:GK:---------------------------------------------------------------- GK:GK:BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> GK:GK:WHEN YOU POST, include all relevant version numbers, log files, GK:GK:and configuration files. Don't make us guess your problem!!! GK:GK:---------------------------------------------------------------- GK:GK: GK:GK: GK:GK: GK:GK:Hi - GK:GK: GK:GK:I am trying to install ApacheJServ 1.1.2 along with the Apache 1.3.9 that is GK:GK:currently running on my NT 4.0 Server and have run into a lot of problems. GK:GK:I have completely gone throught the FAQ and even though this particular GK:problem GK:GK:is specifically mentioned, the resolutions given do not eliminate my problem. GK:GK: GK:GK:As per the 3 solutions given, GK:GK: GK:GK:1. wrapper.classpath points to the ApacheJServ.jar and jsdk.jar files (I also GK:GK:added the rt.jar as suggested by someone in the FAQ) GK:GK:2. The zone is configured as per instructions GK:GK:3. The log file has write permissions GK:GK:4. The ApacheJServ.jar size is 154 kb GK:GK: GK:GK:In addition to this I also followed the step by step suggestions as given by GK:GK:Krishna Sampath (Setting up JSErv on NT4.0 - HOW TO) but this too does not GK:help GK:GK:at all. GK:GK: GK:GK:The following is the start of the message in the error.log file for Apache GK:when GK:GK:the apache is started - GK:GK: GK:GK:java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet GK:GK: at java.lang.ClassLoader.defineClass0(Native Method) GK:GK: at java.lang.ClassLoader.defineClass(ClassLoader.java:486) GK:GK: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111) GK:GK: at java.net.URLClassLoader.defineClass(URLClassLoader.java:248) GK:GK: at java.net.URLClassLoader.access$100(URLClassLoader.java:56) GK:GK: at java.net.URLClassLoader$1.run(URLClassLoader.java:195) GK:GK: at java.security.AccessController.doPrivileged(Native Method) GK:GK: at java.net.URLClassLoader.findClass(URLClassLoader.java:188) GK:GK: at java.lang.ClassLoader.loadClass(ClassLoader.java:297) GK:GK: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286) GK:GK: at java.lang.ClassLoader.loadClass(ClassLoader.java:253) GK:GK: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313) GK:GK:Exception in thread "main" java.lang.NoClassDefFoundError: GK:GK:javax/servlet/http/HttpServlet GK:GK: GK:GK: GK:GK:In addition to this the mod_jserv logfile for Apache JServ has the following GK:log GK:GK: GK:GK: GK:GK:[16/11/2000 23:49:23:190] (INFO) wrapper: Java Virtual Machine started GK:(PID=332) GK:GK:[16/11/2000 23:49:23:190] (INFO) wrapper: controller started (PID=310) GK:GK:[16/11/2000 23:49:24:743] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:24:743] (INFO) wrapper: Java Virtual Machine started GK:(PID=385) GK:GK:[16/11/2000 23:49:25:003] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:25:003] (INFO) wrapper: Java Virtual Machine started GK:(PID=392) GK:GK:[16/11/2000 23:49:25:273] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:25:273] (INFO) wrapper: Java Virtual Machine started GK:GK:(PID=383) GK:GK:[16/11/2000 23:49:25:534] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:25:534] (INFO) wrapper: Java Virtual Machine started GK:(PID=387) GK:GK:[16/11/2000 23:49:25:794] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:25:794] (INFO) wrapper: Java Virtual Machine started GK:(PID=396) GK:GK:[16/11/2000 23:49:26:055] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:26:055] (INFO) wrapper: Java Virtual Machine GK:started(PID=388) GK:GK:[16/11/2000 23:49:26:315] (INFO) wrapper: Java Virtual Machine crashed GK:GK:[16/11/2000 23:49:26:315] (INFO) wrapper: VM died too many times w/in 5 GK:second GK:GK:intervals (6); no more tries GK:GK:[16/11/2000 23:49:26:315] (INFO) wrapper: too many restart attempts w/in a GK:short GK:GK: timeframe; no more retries. GK:GK:There may be an error in your Apache JServ configuration. GK:GK:To debug, please enable all log options in jserv.properties: GK:GK: GK:GK:I have downloaded Java 2 SDK v1.3 from Sun's website. GK:GK: GK:GK:Please advise. GK:GK: GK:GK: GK:GK: GK:GK: GK:GK:-- GK:GK:-------------------------------------------------------------- GK:GK:Please read the FAQ! <http://java.apache.org/faq/> GK:GK:To subscribe: [EMAIL PROTECTED] GK:GK:To unsubscribe: [EMAIL PROTECTED] GK:GK:Search Archives: GK:GK:<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/> GK:GK:Problems?: [EMAIL PROTECTED] GK: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: GK: GK: GK: GK: 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]