-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Hi all,

ApacheJserv ver 1.0
Apache ver 1.3.6
O.S ver hpux 10.20  (s800)
JDK ver 1.17 (from hp's ftp site)
JSDK ver 2.0 (from sun's web site)

i installed ApacheJserv for the first time,i configured Jserv
statically,not as dso,and
installed it and the new compiled apache files.
every thing went well so far.
when i started apachectl i got  apachectl start: httpd started , but
when i tried to address
the url  http://myserver:8007/example/Hello i wasn't able to load the
Hello example.
in my apache error file i got :

[Tue Aug 17 07:33:00 1999] [notice] Apache/1.3.6 (Unix) ApacheJServ/1.0
configured -- resuming normal operations.

but in my jserv error file which is mod_jserv.log i got the following :

[17/08/1999 10:03:06:393 GMT+05:30] ApacheJServ/1.0 is starting...
[17/08/1999 10:03:06:395 GMT+05:30] WARNING: connection authentication
is disabled
[17/08/1999 10:03:06:577 GMT+05:30] Connection allowed from
hp10/138.134.9.27
[17/08/1999 10:03:06:583 GMT+05:30] Connection allowed from
sun73.hai.iec.co.il/
138.134.14.144
[17/08/1999 10:03:06:584 GMT+05:30] Listening on port 8007 accepting 50
maximum  connections
[17/08/1999 10:03:06:645 GMT+05:30] Creating Servlet Zones
[17/08/1999 10:03:06:645 GMT+05:30] Servlet Zone example initializing...

[17/08/1999 10:03:06:646 GMT+05:30]  - Using configuration file:
/usr/local/shar
e/ApacheJServ-1.0/example/example.properties
[17/08/1999 10:03:06:988 GMT+05:30] Initialisation timeout: 10 seconds
[17/08/1999 10:03:06:989 GMT+05:30] Destroy timeout: 10 seconds
[17/08/1999 10:03:06:989 GMT+05:30] Session timeout: 1800 seconds
[17/08/1999 10:03:06:989 GMT+05:30] New session timeout: 1800 seconds
[17/08/1999 10:03:06:990 GMT+05:30] Session check frequency: 30 seconds
[17/08/1999 10:03:06:990 GMT+05:30] Autoreload on zone file changes:
true
[17/08/1999 10:03:06:990 GMT+05:30] Autoreload on classfile changes:
true
[17/08/1999 10:03:07:028 GMT+05:30] Default initArgs: {}
[17/08/1999 10:03:07:135 GMT+05:30] Servlet Zone example initialization
complete
[17/08/1999 10:46:29:256 GMT+05:30] Connection from hp10/138.134.9.27
[17/08/1999 10:46:29:305 GMT+05:30] Initializing servlet request
[17/08/1999 10:46:29:305 GMT+05:30] Reading request data
[17/08/1999 10:46:29:548 GMT+05:30] Will read 3584 bytes for this line
[17/08/1999 10:50:10:508 GMT+05:30] AJP Protocol Error:
java.io.IOException: Mal
formed AJP request: error reading line data [id = ] [token1 = null]
[token2 = null]


and i wasn't able to load my Hello example.

here is my configuration :

(1) in my httpd.conf i added    Include
/usr/local/share/ApacheJServ-1.0/example/jserv.conf

(2)  jserv.conf
     =========

ApJServProperties
/usr/local/share/ApacheJServ-1.0/example/jserv.properties
ApJServLogFile /usr/local/share/ApacheJServ-1.0/example/jserv.log
ApJServDefaultProtocol ajpv11
ApJServDefaultPort 8007
ApJServSecretKey DISABLED
ApJServMount /example /example
ApJServMountCopy on
<Location /jserv/>
  SetHandler jserv-status
  order deny,allow
  allow from all
</Location>


(3) jserv.properties
     ============

wrapper.bin=/opt/java/bin/java
wrapper.class=org.apache.jserv.JServ
wrapper.classpath=/opt/java/lib/classes.zip
wrapper.classpath=/usr/local/share/ApacheJServ-1.0/src/java/ApacheJServ.jar

wrapper.classpath=/usr/local/share/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/share/JSDK2.0/src
wrapper.classpath=/usr/local/share/ApacheJServ-1.0/src/java
wrapper.env.copyall=true
port=8007
zones=example
example.properties=/usr/local/share/ApacheJServ-1.0/example/example.properties

security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=138.134.9.27,138.134.14.144
security.authentication=false
security.challengeSize=5
log=true
log.file=/usr/local/share/httpd/logs/mod_jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.channel.servletLog=true
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=true
log.channel.responseHeaders=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
log.channel.signalThreadModel=true


(4) example.properties
     ===============

repositories=/usr/local/share/ApacheJServ-1.0/example
autoreload.classes=true
autoreload.file=true
init.timeout=10000
destroy.timeout=10000
session.timeout=1800000
session.checkFrequency=30000
singleThreadModelServlet.initialCapacity=5
singleThreadModelServlet.incrementCapacity=5
singleThreadModelServlet.maximumCapacity=10


what should i do ??? even the simple Hello won't run, why ???????


--
        Amy Hofman
Unix System Administrator
Israel's Electric Company





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