Searching through the archives I've saw a couple of problems 
similar to this, but either no resolution was posted to the list, or 
the suggeted fixes didn't help.

I'm trying to use Apache JServ 1.0b1 with Apache 1.3.4 on Windows 95. 
(I did a "typical" install of both Apache and JServ).

Here's my problem:

I can start Apache and JServ with seemingly no problem.  I can run 
http://localhost/jserv/ and see the status page.  I can even add new 
zones and see them on the status page. I can't however run any 
servlet.

Looking in the mod_jserv.log file, I see a number of JVM 
crashed/started messages (from the wrapper).  

More significantly (or so it would seem), in the Apache error.log 
file, I get a number of messages like this:

Apache JServ: Exception creating the server socket: 
java.net.SocketException: create (code=10106)

My first guess was that the socket was in use.  It is not.  (I can 
even bind to it with other Java programs).  (As someone pointed out in 
the archives, this isn't the "port in use" code anyway.)

Dropping a stack trace into the fail method of JServ.java shows that 
this exception is being thrown in the <init> code of 
AuthenticatedServerSocket (ok, actually in the java.net methods below 
that).  I even tried replacing the "new AuthenticatedServerSocket" 
call with a regular java.net.ServerSocket constructor, but this didn't 
seem to help.

I would include the config files, but I'm not sure what's relevant. 
I've played around with various settings to no avial, but basically 
all I've changed from the default configs is adding zones in 
jserv.properties and adding "ApJServMount" directives in httpd.conf.

Does anyone have any thoughts as to what might be causing this?  or 
how to work around it?

 - rod

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to