Hi, I'm having a real problem getting Apache 1.3.6 and Jserv up and
running on my Windows 95 box. I've installed Apache 1.3.6 and downloaded
a brand new JRE 1.2 from Sun. I've installed JServ, and overwritten the
0 bytes ApacheJServ.jar with a real one. I've downloaded a newly
compiled ApacheModuleJServ.dll and copied that into the modules
directory.I think I have all the settings set up correctly in the httpd.conf,
jserv.properties, and zone.properties files. However, when I start
Apache from the command line, the web server starts up fine, but the JVM
starts and crashes repeatedly. I thought at first this meant that the
Java exceutable wasn't right, but that's why I downloaded the new one.Judging by the log files (listings below), the JVM is loading, but then
crashing when it can't create the server socket. It attempts to do this
multiple times, until I put it out of its misery. As a double-check,
I've installed MS DUN 1.3 and Winsock2, but this doesn't help.Any help would be very much welcomed... Thanks, Martin error.log: (Multiple lines)Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) jserv.log:[28/03/1999 15:46:05:050 PST] JServ is starting...[28/03/1999 15:46:05:110 PST] WARNING: connection authentication is disabled[28/03/1999 15:46:06:920 PST] Connection allowed from 127.0.0.1/127.0.0.1[28/03/1999 15:46:06:920 PST] Listening on port 8007 accepting 50 maximum connections mod_jserv.log:[28/03/1999 23:43:46:040] (INFO) wrapper: Shutdown done (PID=-138841)[28/03/1999 23:43:46:040] (INFO) Apache Module was cleaned-up[28/03/1999 23:43:46:640] (INFO) wrapper: Java Virtual Machine started (PID=-347249)[28/03/1999 23:43:46:750] (INFO) wrapper: controller started (PID=-138841)[28/03/1999 23:44:11:630] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:11:690] (INFO) wrapper: Java Virtual Machine started (PID=-347517)[28/03/1999 23:44:23:280] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:24:320] (INFO) wrapper: Java Virtual Machine started (PID=-393645)[28/03/1999 23:44:32:670] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:32:720] (INFO) wrapper: Java Virtual Machine started (PID=-351249)[28/03/1999 23:44:41:180] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:41:180] (INFO) wrapper: Java Virtual Machine started (PID=-406021)[28/03/1999 23:44:48:710] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:48:760] (INFO) wrapper: Java Virtual Machine started (PID=-354241)[28/03/1999 23:44:58:100] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:58:150] (INFO) wrapper: Java Virtual Machine started (PID=-345517)[28/03/1999 23:45:07:820] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:07:880] (INFO) wrapper: Java Virtual Machine started (PID=-406897)[28/03/1999 23:45:16:610] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:16:660] (INFO) wrapper: Java Virtual Machine started (PID=-349253)[28/03/1999 23:45:25:560] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:25:620] (INFO) wrapper: Java Virtual Machine started (PID=-397237)[28/03/1999 23:45:33:970] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:34:020] (INFO) wrapper: Java Virtual Machine started (PID=-397169)[28/03/1999 23:45:45:170] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:45:170] (INFO) wrapper: Java Virtual Machine started (PID=-448005)[28/03/1999 23:45:56:050] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:56:100] (INFO) wrapper: Java Virtual Machine started (PID=-403905)[28/03/1999 23:46:11:810] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:46:11:920] (INFO) wrapper: Java Virtual Machine started (PID=-411169)
Hi, I'm having a real problem getting Apache 1.3.6 and Jserv up and
running on my Windows 95 box. I've installed Apache 1.3.6 and downloaded
a brand new JRE 1.2 from Sun. I've installed JServ, and overwritten the
0 bytes ApacheJServ.jar with a real one. I've downloaded a newly
compiled ApacheModuleJServ.dll and copied that into the modules
directory.I think I have all the settings set up correctly in the httpd.conf,
jserv.properties, and zone.properties files. However, when I start
Apache from the command line, the web server starts up fine, but the JVM
starts and crashes repeatedly. I thought at first this meant that the
Java exceutable wasn't right, but that's why I downloaded the new one.Judging by the log files (listings below), the JVM is loading, but then
crashing when it can't create the server socket. It attempts to do this
multiple times, until I put it out of its misery. As a double-check,
I've installed MS DUN 1.3 and Winsock2, but this doesn't help.Any help would be very much welcomed... Thanks, Martin error.log: (Multiple lines)Apache JServ: Exception creating the server socket: java.net.SocketException: create (code=10106) jserv.log:[28/03/1999 15:46:05:050 PST] JServ is starting...[28/03/1999 15:46:05:110 PST] WARNING: connection authentication is disabled[28/03/1999 15:46:06:920 PST] Connection allowed from 127.0.0.1/127.0.0.1[28/03/1999 15:46:06:920 PST] Listening on port 8007 accepting 50 maximum connections mod_jserv.log:[28/03/1999 23:43:46:040] (INFO) wrapper: Shutdown done (PID=-138841)[28/03/1999 23:43:46:040] (INFO) Apache Module was cleaned-up[28/03/1999 23:43:46:640] (INFO) wrapper: Java Virtual Machine started (PID=-347249)[28/03/1999 23:43:46:750] (INFO) wrapper: controller started (PID=-138841)[28/03/1999 23:44:11:630] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:11:690] (INFO) wrapper: Java Virtual Machine started (PID=-347517)[28/03/1999 23:44:23:280] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:24:320] (INFO) wrapper: Java Virtual Machine started (PID=-393645)[28/03/1999 23:44:32:670] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:32:720] (INFO) wrapper: Java Virtual Machine started (PID=-351249)[28/03/1999 23:44:41:180] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:41:180] (INFO) wrapper: Java Virtual Machine started (PID=-406021)[28/03/1999 23:44:48:710] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:48:760] (INFO) wrapper: Java Virtual Machine started (PID=-354241)[28/03/1999 23:44:58:100] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:44:58:150] (INFO) wrapper: Java Virtual Machine started (PID=-345517)[28/03/1999 23:45:07:820] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:07:880] (INFO) wrapper: Java Virtual Machine started (PID=-406897)[28/03/1999 23:45:16:610] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:16:660] (INFO) wrapper: Java Virtual Machine started (PID=-349253)[28/03/1999 23:45:25:560] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:25:620] (INFO) wrapper: Java Virtual Machine started (PID=-397237)[28/03/1999 23:45:33:970] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:34:020] (INFO) wrapper: Java Virtual Machine started (PID=-397169)[28/03/1999 23:45:45:170] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:45:170] (INFO) wrapper: Java Virtual Machine started (PID=-448005)[28/03/1999 23:45:56:050] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:45:56:100] (INFO) wrapper: Java Virtual Machine started (PID=-403905)[28/03/1999 23:46:11:810] (INFO) wrapper: Java Virtual Machine crashed[28/03/1999 23:46:11:920] (INFO) wrapper: Java Virtual Machine started (PID=-411169)
Try adding the following line(s) to your jserv.properties file (the
comment header is
probably already there, just add the non-commented wrapper.env.copy
statement because I don't think one is there by default):
# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value]
# Default: NONE on Unix Systems
#
SystemDrive and SystemRoot with appropriate values on Win32 systems
#wrapper.env=winbootdir=C:\WINDOWS
#wrapper.env=JAVA_HOME=C:\JDK1.2
wrapper.env=windir=C:\WINDOWS
See Apache JServ problem #3642 in the bug list for details.
