----------------------------------------------------------------
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!!!
----------------------------------------------------------------
I've just built and installed JServ1.1b2 with a fresh copy of Stronghold
2.4.2 (Apache 1.3.6).
I'm seeing the following errors in the logs when attempting to run the
"Hello" servlet:
[Fri Nov 12 12:32:27 1999] [emerg] JServ: ajp12: cannot scan servlet headers (500)
[Fri Nov 12 12:32:27 1999] [error] JServ: an error returned handling request via
protocol "ajpv12"
[Fri Nov 12 12:32:27 1999] [error] General SSL accept error -1
[Fri Nov 12 12:32:27 1999] [error] SSL: 5776:error:140760FA:SSL
routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:493
[Fri Nov 12 12:32:27 1999] [error] [client 147.225.33.41] Premature end of script
headers: /servlets/Hello
I get a '500 Internal Server Error' when I try to run the servlet.
Configuration Notes:
Platform: SunOS 5.5.1 Generic_103640-24 sun4u sparc
JDK: java version "1.1.8"
Apache: Server version: Stronghold/2.4.2 Apache/1.3.6 C2NetEU/2410 (Unix)
JServ: 1.1b2
Building the thing was somewhat challenging, as I had to deal with
differences between Stronghold and 'virgin' Apache packaging, but once I
got all of the path dependencies worked out (and hacked at the configure
script a bit) it does build.
mod-jserv works somewhat (i.e. I can go to /jserv/). Two mapped servlet
engines appear:
ajpv12://localhost:8007 ajpv12://localhost:4443
Port 4443 is where I'm running my private copy of Stronghold to test
this. I can interrogate the first one (8007). The second one gives a
server error as well.
Here's my jserv.conf:
<IfModule mod_jserv.c>
ApJServManual off
ApJServProperties /usr/local/stronghold/server/java/etc/jserv.properties
ApJServLogFile DISABLED
ApJServLogLevel debug
ApJServDefaultProtocol ajpv12
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMountCopy on
<Location /jserv/>
SetHandler jserv-status
order deny,allow
deny from all
allow from .foo.com
</Location>
</IfModule>
--
Brian W. Spolarich - UUNET - Manager, Internetworking Operations Support (IOS)
"Do not confuse effort with progress." - Frederick P. Brooks, Jr.
--
--------------------------------------------------------------
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]