----------------------------------------------------------------
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!!!
----------------------------------------------------------------

System:
Win95 4.00.950B Winsock2
Apache/1.3.9 (Win32) ApacheJServ/1.1b1
Sun jdk/1.2.2 jsdk/2.0

Setup:
1) Authentication is disabled. All settings are install default.
2) Have had jdk/1.2.2 functioning for some time.
3) JSDK WebServer Version 2.1 (Sun's Servlet & JSP engine) functions
correctly.
4) This system has IE4 and MS Visual Studio 6 installed so its quite
possible that other system dll's have been updated.

Problem:   When attempting to access the JServ engine Apache returns an
internal server error. Hewever, there is no problem accessing the
/jserv/ dynamically generated server status information.

The following messages are recorded in mod_jserv.log when attempting to
access the JServ servlet engine with the URL
http://127.0.0.1/jserv/engine/0/.

        (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
        (EMERGENCY) ajp11: connection fail
        (ERROR) an error returned handling request via protocol "ajpv11"
        (ERROR) an error returned handling request via protocol "status"

The following messages are recorded in mod_jserv.log when attempting to
access the JServ servlet engine with the URL http://127.0.0.1/servlets/.

        (EMERGENCY) ajp11: can not connect to host 127.0.0.1:8007
        (EMERGENCY) ajp11: connection fail
        (ERROR) an error returned handling request via protocol "ajpv11"
        
The following lines are added to jserv.log every so often when Apache is
started (it does not happen every time). These messages seem to have no
relation to the functioning of the servlet engine. ie. The servlet
engine doesnt function even when these messages appear. At other times,
just the "ApacheJServ/1.0 is starting..." line is recorded.

        ApacheJServ/1.0 is starting...
        WARNING: connection authentication is disabled
        Connection allowed from 127.0.0.1/127.0.0.1
        Listening on port 8007 accepting 50 maximum connections

Have done the following:
1) Verified that all file paths are correct. None of these paths have
spaces in them. 
2) Verified that all conf variables are correctly formatted. Apache HTTP
functions propperly and JServ loads.
3) Uninstalled Winsock2. Unfortunately, Apache/1.3.9 cannot run without
it. Tried replacing wsock32.dll with earlier version but this also
caused problems.
4) Tried both integrated and custom JServ install.  Have reinstalled
everything multiple times in various combinations.
5) Tried both JServ/1.0 and JServ/1.1b1

Conclusions:  I've read the JServ and Apache JServ Protocol Version 1.1
documentation and theres nothing related to this problem.  From reading
FAQ's I think this problem has something to do with winsock2. Dont know
if the problem is with creation of the socket or connection to the
socket.  I don't think its a problem with the protocol because the ERROR
message relating to that comes after the EMERGENCY messages related to
the socket connection.  I'm going to try reverting to Apache/1.1.6 but
do not know if this version also requires winsock2.  Will try various
combinations of this and see what happens.


Anyone have any thoughts or suggestions that might be helpful? Thanks
for your assistance.

M. Greenblatt
[EMAIL PROTECTED]


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
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