We're trying to bring up jserv 1.0b3.  I've been able to recompile httpd
successfully (with mod_jserv statically linked) but when we try to start
it, it runs for a few seconds then dies.  The only apparent error message
is a line in mod_jserv.log that says "ajp11: can not connect to host
127.0.0.1:8007".  Logs and configuration files (with some repeating lines
removed) follow.

Anybody got any suggestions?

Here's the gory details:
Apache version:     1.3.3.
JServ version: 1.0b3
OS:       Solaris 2.6
JSDK version:  2.0
java version:  1.1.3

<<< httpd.conf looks like this: >>>

ServerType standalone
Port 8080
HostnameLookups on
User webdev
Group webdev
ServerAdmin webdev@wonderboy
ServerRoot "/usr/local/apache"
ErrorLog /usr/local/apache/var/log/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /usr/local/apache/var/log/access_log common
PidFile /usr/local/apache/var/run/httpd.pid
ScoreBoardFile /usr/local/apache/var/run/httpd.scoreboard
ServerName erp-srv1
ServerSignature on
UseCanonicalName on
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 30
#
# we have multiple developers, each working in their on virtual host
# with their own port
#
Listen 8080
Listen 8081
# etc. for all ports in use

#
# sample VirtualHost setup; all others are similar
#
<VirtualHost erp-srv1:8081>
ServerName erp-srv1:8081
DocumentRoot /index/server/wardd/htdocs
ScriptAlias /cgi-bin/ "/index/server/wardd/cgi-bin/"
ErrorLog /index/server/wardd/error_log
CustomLog /index/server/wardd/access_log common
<IfModule mod_jserv.c>
     ApJServLogFile /index/server/wardd/jserv.log
     ApJServMount /servlets /wardd
</IfModule>
</VirtualHost>

<IfModule mod_jserv.c>
ApJServManual "Off"
ApJServProperties "./conf/jserv.properties"
ApJServLogFile "/usr/local/apache/var/log/mod_jserv.log"
ApJServDefaultProtocol "ajpv11"
ApJServDefaultHost "localhost"
ApJServDefaultPort "8007"
ApJServSecretKey DISABLED
ApJServMountCopy "On"
<Location /jserv/>
  SetHandler jserv-status

  order deny,allow
  deny from all
  allow from all
</Location>
</IfModule>

<<< jserv.properties >>>

wrapper.bin=/bin/java
wrapper.classpath=/usr/local/jserv/src/java/Apache-JServ.jar
wrapper.classpath=/usr/local/JSDK2.0/lib/jsdk.jar
port=8007
zones=ambalac,christm,clemone,connelj,dallaik,dossets,farrelt,forthd,forthl
,gba,goodem,hallj,huffc,katialr,lamoric,liangr,neuj,wardd,xuezhan,zhangh
# Configuration file for each servlet zone (one per servlet zone)
ambalac.properties=/index/server/ambalac/servlets/zone.properties
# etc. -- similar for each zone defined

security.selfservlet=true
security.maxConnections=50
security.allowedAddresses=127.0.0.1,182.9.20.15
security.authentication=false
log=true
log.file=/usr/local/apache/var/log/jserv.log
log.timestamp=true
log.dateFormat=[dd/MM/yyyy HH:mm:ss:SSS zz]
log.channel.init=true
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletLog=true
log.channel.queueStatus=true
log.queue.maxage = 5000
log.queue.maxsize = 1000

<<< jserv.log >>

[17/03/1999 10:08:23:080 EST] JServ is starting...
[17/03/1999 10:08:23:087 EST] WARNING: connection authentication is
disabled
[17/03/1999 10:08:23:172 EST] Connection allowed from localhost/127.0.0.1
[17/03/1999 10:08:23:175 EST] Connection allowed from erp-srv1/182.9.20.15
[17/03/1999 10:08:23:176 EST] Listening on port 8007 accepting 50 maximum
connections
[17/03/1999 10:08:23:283 EST] Creating Servlet Zones

<<< mod_jserv.log >>>

[17/03/1999 10:08:18:491] (INFO) Apache Module was cleaned-up
[17/03/1999 10:08:21:698] (INFO) wrapper: watching processes
(PID=27310,PPID=1,VM PID=27313)
[17/03/1999 10:08:21:703] (INFO) wrapper: Apache exited, cleaning up (my
PID=27310)
[17/03/1999 10:08:21:703] (INFO) Wrapper: Shutting down JServ (PID=27310)
(sig 0)
[17/03/1999 10:08:21:704] (INFO) [17/03/1999 10:08:21:699] (INFO) wrapper:
Terminating JServ (PID=27310, VM PID=27313)wrapper classpath:
/usr/local/jserv/src/java/Apache-JServ.jar:/usr/local/JSDK2.0/lib/jsdk.jar

[17/03/1999 10:08:21:706] (INFO) wrapper: Java VM spawned
(PID=27313|PPID=27310)
[17/03/1999 10:08:21:707] (INFO) ajp11: sending shutdown signal
[17/03/1999 10:08:21:715] (EMERGENCY) ajp11: can not connect to host
127.0.0.1:8007
[17/03/1999 10:08:21:716] (EMERGENCY) ajp11: function connection fail

---------
Charlie Huff
Information Architects/Alydaar Software
[EMAIL PROTECTED]




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://www.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to