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

Ketan,
In order to run the ApacheJServ to access servlets you need to have the
Apache Server running first as Steve Rubry pointed out.
To be able to get access to the Hello servlet you have to add the mount
point to the servlet zone ( in this case the example zone where the Hello
example is - the parameter is ApJServMount)
You can check the JServ.conf file for an explanation about that parameter.
When you run the servlet you can do it with the following line
http://localhost/ex/Hello
(Assuming that the mount point for the "example" zone is "ex", and that the
Apache server is listening on port 80)
I have installed the same configuration on Windows NT 4.0 so let me know if
you still have a problem

Pablo.


-----Original Message-----
From: Ketan Patel <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Thursday, December 09, 1999 3:03 PM
Subject: JServ running as s standalone engine


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



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