How about commenting out the stuff that applies to your present code,
and see if you can get just the example stuff to work, so that
http://host/servlets/example/Hello
and
http://host/example/Hello
are both working. Then make incremental changes from there, including one zone of
your own code. That way you better establish where the error is. If the basic stuff
that comes with jserv works, it's probably the naming setup of your own zones/mounts.
If it doesn't work, its probably some more general setup issue.
Also, are there any errors from this in the jserv.log or mod_jserv.log? It might
help you determine where the hang-up is occurring, at the httpd server, or
the servlet engine. You might want to set the log level to debug to the jserv.properties
and the httpd.conf (and jserv.conf?).
rob
--- You wrote:
> Your problem is obviously with your naming conventions.
Thank you for your suggestions!
However, these naming conventions were precisely the same ones that worked
perfectly with the previous installation of Apache with JServ, with the
exception of those examples (the root repository). The directories
"opinion" and "file" in the JServ's root directory were actually symbolic
links to where those repositories actually reside; I created the same
symlinks in the new installation. This leads me to suspect that name
conflicts could not be the problem.
However, there is no reason not to make sure.
Let us make the following changes. In jserv.conf, I set
ApJServMount /opinion ajpv12://localhost:8007/opinion
ApJServMount /file ajpv12://localhost:8007/file
and in jserv.properties, I take off the root stuff so that only
zones=opinion,file
opinion.properties=/usr/local/jserv/etc/opinion.properties
file.properties=/usr/local/jserv/etc/file.properties
remain.
Result:
The problem remains. http://myhost/opinion/anythingtypedhere still results
in bad requests.
Anyway, these new naming conventions are better overall so I'll stick to
them and make necessary changes to hypertext links after I get the
servlets themselves working. Thank you pointing this out! Any other
suggestions?
Tero
--- end of quote ---
-- -------------------------------------------------------------- Please read the FAQ!