-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

I'm trying to setup Jserv 1.0 with Apache 1.3.6 on a Linux 2.2 (RedHat 6.0)
box.  I'm using jdk 1.2, from blackdown.org.  Jserv and Apache both
compiled fine and from the log files, it looks like Jserv is successfully
loaded upon startup of the webserver.  I follwed the various documents and
HOW-TO's to setup the Jserv AND apache config files.  I setup one zone and
created a servlet repository under <apache_home>/servlets/myZone.  I can
get to http://localhost/jserv/  and the JServ status page comes up fine and
it lists my machine name as a configured host and I can view its
parameters.   So then I tried to test the sample HelloWorld servlet
included.  I put the HelloWorld.class file in /servlets/myZone, and
restarted apache.  When I try to access the servlet via
http://localhost/servlets/myZone/HelloWorld the server hangs for a while,
the webbrowser says "host contacted waiting for reply..." and nothing
happens for a few minutes.  Then I get a "the document contained no data"
error in the webbrowser.  The same happens if I leave out the HelloWorld,
and just use http://localhost/servlets/myZone.   When the server times out
I get a message in the jserv log file stating some AJP Protocol Error.
Does anyone know whats up with this?  Here is the Jserv log file starting
from a restart:

[29/07/1999 07:57:35:208 CDT] ApacheJServ/1.0 is starting...
[29/07/1999 07:57:35:255 CDT] WARNING: connection authentication is disabled
[29/07/1999 07:57:35:459 CDT] Connection allowed from localhost/127.0.0.1
[29/07/1999 07:57:35:461 CDT] Listening on port 8007 accepting 50 maximum
connections
[29/07/1999 07:57:35:588 CDT] Creating Servlet Zones
[29/07/1999 07:57:35:588 CDT] Servlet Zone myZone initializing...
[29/07/1999 07:57:35:589 CDT]  - Using configuration file:
/usr/local/apache/conf/myZone.properties
[29/07/1999 07:57:35:783 CDT] Initialisation timeout: 10 seconds
[29/07/1999 07:57:35:786 CDT] Destroy timeout: 10 seconds
[29/07/1999 07:57:35:789 CDT] Session timeout: 1800 seconds
[29/07/1999 07:57:35:791 CDT] New session timeout: 1800 seconds
[29/07/1999 07:57:35:794 CDT] Session check frequency: 30 seconds
[29/07/1999 07:57:35:798 CDT] Autoreload on zone file changes: true
[29/07/1999 07:57:35:800 CDT] Autoreload on classfile changes: true
[29/07/1999 07:57:35:847 CDT] Default initArgs: {}
[29/07/1999 07:57:35:920 CDT] Servlet Zone myZone initialization complete
[29/07/1999 08:02:49:973 CDT] AJP Protocol Error: java.io.IOException:
Malformed AJP request: error reading line length [id = ] [token1 = null]
[token2 = null]


Also, nothing weird appears in the mod_jserv.log file, or error_log file.

-Randy
[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