>Number: 3642 >Category: mod_jserv >Synopsis: JServ 1.0b1 not (fully) running. >Confidential: no >Severity: serious >Priority: medium >Responsible: jserv >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Mon Jan 11 08:10:00 PST 1999 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: 1.3.3 >Environment: Win95 >Description: I recently downloaded Apache 1.1.3 install pack (EXE) for win32 and the servlet module JServ 1.0b1.
I installed Apache 'out of the box' on a Win95 system, letting it do all the defaults. I modified the 2 or 3 required fields in the 'httpd.conf' file and fired it up. It worked (of course). Love it when a plan comes together! I shut Apache down and did the same for JServ. I checked the 'httpd.conf' file and the modifications looked fine in there. I checked the 'jserv.properties' file and everything looked good in there too. I fire up Apache now and it still 'works', but the JServ is not working (completely anyway). If I do the test thing on 'localhost/jserv/' the 'servlet' works, but if I attempt to follow the link on that page about 'ajpv11://localhost:8007', I get an 'Internal Server Error' (generated from jserv). Before I get into the technical stuff, there are no other modules loaded (from the 'http.conf' file) other than JServ - that may come into it later. The log files are not 'at all' helpful. Just starting up Apache with no hits yields: 'error.log' in Apache: Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) 'mod_jserv.log' in JServ: [05/01/1999 22:06:04:060] (INFO) Apache JServ Module is initializing [05/01/1999 22:06:04:110] (INFO) wrapper: Shutdown done (PID=-4138393) [05/01/1999 22:06:04:110] (INFO) Apache Module was cleaned-up [05/01/1999 22:06:04:220] (INFO) Apache JServ Module is initializing [05/01/1999 22:06:04:280] (INFO) wrapper: Java Virtual Machine started (PID=-4169501) [05/01/1999 22:06:04:280] (INFO) wrapper: controller started (PID=-4138393) [05/01/1999 22:06:04:330] (INFO) Apache JServ Module is initializing [05/01/1999 22:06:04:390] (INFO) Apache JServ Module is initializing (ap_child) [05/01/1999 22:06:08:340] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:08:340] (INFO) wrapper: Java Virtual Machine started (PID=-4163609) [05/01/1999 22:06:11:970] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:12:020] (INFO) wrapper: Java Virtual Machine started (PID=-4165521) [05/01/1999 22:06:15:590] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:15:590] (INFO) wrapper: Java Virtual Machine started (PID=-4167149) [05/01/1999 22:06:19:820] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:19:880] (INFO) wrapper: Java Virtual Machine started (PID=-3705609) [05/01/1999 22:06:23:450] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:23:450] (INFO) wrapper: Java Virtual Machine started (PID=-3704613) [05/01/1999 22:06:27:020] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:27:020] (INFO) wrapper: Java Virtual Machine started (PID=-4137805) [05/01/1999 22:06:30:640] (INFO) wrapper: Java Virtual Machine crashed [05/01/1999 22:06:30:640] (INFO) wrapper: VM died too many times w/in 5 second intervals (6); no more tries [05/01/1999 22:06:30:640] (INFO) wrapper: too many restart attempts w/in short timeframes; no more tries. There may be an error in your JServ configuration. Despite the indication in the logs that JServ is not running, it is as I can hit it at 'localhost/jserv/', but the rest of JServ is not running. A guess: What it looks like is JServ is somehow losing track of the initial JVM it launches, which has successfully bound to port 8007. All subsequent attempts to start <whatever> fail on the bind to that port, hence the error log. The question: Why is JServ losing track of the initial JVM it launches (if it is...)? The Apache people obviously have it working or they would not have released it, so what am I doing wrong? I have twiddled very minorly with the .conf and .properties files, but I will own up to a configuration error if it will solve this problem. I have tried both JDK1.1.7B and JDK1.2. I am using JSDK2.0. Both JDK's 'work' as JServ 'runs' to display that page, but nothing else runs. I have tried with all pathnames in forward and back slashes "C:\Program Files\..." and "C:/Program Files/...", and in old DOS format "C:\Progra~1\....". Also have tried repositories being just directories and JAR files. Also have tried putting the strings in quotes and not. i.e. "C:\Program Files\..." vs. C:\Program Files\... Several other people (4 as a matter of fact) have responded to my posting in comp.infosystems.www.servers.ms-windows, saying that they have the same problem. One fellow added that it was working on his NT box, but not the Win95 box (presumably after identical installations...). They emailed me direct, not repost. HELP! Thanks. >How-To-Repeat: Mentioned above in full description. >Fix: None - except contact people that have it working on Win95, and obtain their config files, compare them to mine to see if it is an error I (and others) are making. If that does not pan out, discover what may be different about the config of my (and other) Win95 boxes than other that it works on... systedm dll's etc. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include <[EMAIL PROTECTED]> in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]
