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


Problem
=======
When from browser IE4/5 I try to execute the  Hello Servlet, I get following
message.

Status: 400 Bad Request Servlet-Error: Malformed data sent to JServ

And when using Netscape 4.2, I got dialog Box, saying "document contains no
data".

I tried all possible ways to run. But I got same ERROR, as above.
http://localhost:8007/Hello
http://localhost:8007/Servlet/Hello
http://localhost:8007/servlet/Hello
http://localhost:8007/Servlets/Hello
http://localhost:8007/servlets/Hello
http://localhost:8007/root/Hello
I also tried replacing localhost with my IP and 127.0.0.1, still got the
same error.

??Any idea, what I am doing wrong??



My Setup
======
I have installed JServ 1.1b3 on Windows NT 4.0 SP4, as a standalone engine.
I have used ApacheCore.dll -> Apache 1.3.9 and JSDK2.0, JDK1.2.2
I ran the JServ engine from DOS prompt as,
C:\Jserv>ApacheJServ  jserv.properties

The directory structure is as follows:
C:\JSERV
|   ApacheCore.dll
|   ApacheJServ.exe
|   ApacheModuleJServ.dll
|   jserv.properties
+---apps
|       Hello.class
|       Hello.java
|       IsItWorking.class
|       IsItWorking.java
|       zone.properties
+---classes
|       ApacheJServ.jar
|       jsdk.jar
\---logs
        jserv.log


 jserv.log
======
[09/12/1999 12:36:42:038 EST] Hello: init
[09/12/1999 12:36:44:163 EST] AJP Protocol Error: java.io.IOException:
Stream broken
[09/12/1999 12:36:44:710 EST] AJP Protocol Error: java.io.IOException:
Stream broken
[09/12/1999 12:36:45:210 EST] AJP Protocol Error: java.io.IOException:
Stream broken
[09/12/1999 12:36:45:757 EST] AJP Protocol Error: java.io.IOException:
Stream broken


jserv.properties
=================
bindaddress=localhost
port=8007
zones=root
root.properties=C:\JServ\apps\zone.properties
log.file=c:\jserv\logs\jserv.log


zone.properties
==========
repositories=C:\Jserv\apps
servlets.startup=Hello



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