Apache 1.3.3 w/ JServ: Servlet-Error.

Apache 1.3.3 w/ JServ: Servlet-Error.

Post by Tom Ors » Mon, 11 Jan 1999 04:00:00



Hello.

Apache 1.3.3
JServ 1.0.1b
JDK 1.1.6
Linux RH 5.1

Server is up and running. Full Logging is on when I attempt to run the
example zone
and the Hello servlet I get the following in the access_log and
jserv.log logfiles:

access_log:
alexandria.zingaretti.com - - [09/Jan/1999:20:50:40 -0500] "GET
/jserv/engine/0/
HTTP/1.0" 200 -

jserv.log:
[09/01/1999 20:52:50:507 EST] Connection from localhost/127.0.0.1
[09/01/1999 20:52:50:513 EST] Initializing servlet request
[09/01/1999 20:52:50:514 EST] Reading request data
[09/01/1999 20:53:09:438 EST] All data read.
[09/01/1999 20:53:09:447 EST] Sending response headers.
[09/01/1999 20:53:09:452 EST] Status: 400 Bad Request
[09/01/1999 20:53:09:454 EST] Servlet-Error: Received empty servlet name

It seems that the jserv program is being presented a empty servlet name.

I do not know what the access_log will look like on a HTTP get with a
good servlet
name. The servlet name is obviously not being sent. Is this a browser
problem????

Could someone send me a cut from the access_log where the servlet is
loaded successfully? I
am very curious on wheter "/jserv/engine/0/" is the correct string to
GET in order to load
the servlet.

 Thanks,
 -Tom-

 
 
 

1. Apache Jserv / java servlets under FreeBSD Apache

I dont know if this is really the right place to ask, and I am a
relative Unix novice, but here goes anyway:

We have FreeBSD 2.2.7 and a working install of Apache 1.3.4, compiled with
options --enable-module=most --enable-shared=max. This should enable DSO
support. We also have JDK 1.1.7 ported for FreeBSD, and that works fine
too.

The problem is that I am trying to install java servlet support for apache
with Apache Jserv 1.0b2. I have JSDK2.0 as well, but cant test whether
that "works" OK(!)

The configure script for jserv throws up some peculiar errors: if I ran it
according to the instructions for DSO given on-line,

./configure --with-apache-install="/usr/local/etc/src/apache" \
--enable-apache-conf
(i.e. --with-apache-install=/path/to/apache/source)

then it says "DSO not enabled" and exits.

If I give it the path to my apache installation, it does the same.

The "--enable-apache-conf" seems to make no difference whatever other
options I use.

if I run configure without --with-apache-install, it detects apache in
/usr/local/apache and offers to install it there; it finishes without
error messages whether i answer y or n. But when I "make" (or gmake)
jserv, the make script finishes OK but mod_jserv.so, the essential
library, does not exist anywhere. "make install" (or gmake) also finishes
successfully, however the mod_jserv file is never installed into the
apache libexec directory. Adding the "LoadModule" / "AddModule" things to
httpd.conf stops it from starting correctly.

on further inspection, the makefile in Apache-JServ-1.0b2/src/c
says "cp ./.libs/libjserv.so ./mod_jserv.so" and the .libs diretory does
not exist! This is the only reference to mod_jserv.so anywhere in the
source tree.

Has anyone else managed to install JServ on FreeBSD?

Thanks for your help,
Alan Lawrence

2. prob building kernel

3. jserv for apache : JServUtils.java:66: Class javax.servlet.http.Cookie not found in import.

4. pfiles not detecting sockets

5. Apache/Jserv/Servlets/Memory

6. sigqueue problem on Irix

7. Apache Jserv - Servlet question

8. kppp with bigger.net.

9. Problem with Apache+JServ+Servlets delivering gzipped Files

10. HELP!? Servlet logs on apache/JServ

11. Apache JServ--Need help starting servlets

12. Apache/JServ 1.0 "cannot scan servlet headers"

13. apache, jserv, servlet to DB doesn't work