I've been reading the list (and the archives) to try to solve my problem, 
but I can't seem to figure out why 
http://localhost/servlets/HelloWorldServlet it hangs for several minutes 
and finally tells me that the document contains no data.  Another weird 
thing is that http://localhost/status/jserv/ seems to work, but the image 
icon is broken and the two links in the middle of the page are broken.  
The config:

JServ 1.03b  DSO linked
Apache 1.3.3 DSO enabled
Solaris 2.7 SPARC

My httpd.conf:

<IfModule mod_jserv.c>
  ApJServManual          off
  ApJServSecretKey       /usr/local/apache/etc/jserv.secret.key
  ApJServProperties      /usr/local/apache/etc/jserv.properties
  ApJServLogFile         /usr/local/apache/var/log/jserv.log
  ApJServDefaultProtocol ajpv11
  ApJServDefaultHost     sparky.spinweb.net
  ApJServDefaultPort     8007
  ApJServMount           /servlets /servlets
</IfModule>

<Location /status/jserv>
  SetHandler jserv-status
  order deny,allow
  allow from localhost 147.226.109.6
</Location>

jserv.properties:

port=8007

wrapper.bin=/usr/bin/java
wrapper.classpath=/usr/JSDK2.0/lib/jsdk.jar
wrapper.classpath=/usr/local/jserv/lib/Apache-JServ.jar
wrapper.classpath=/usr/java/lib/classes.zip

zones=servlets
servlets.properties=/usr/local/apache/etc/jserv.servlets.properties

security.remote.administration=true
security.allowedAddresses=127.0.0.1,147.226.109.6
security.authentication=true
security.secretKey=/usr/local/apache/etc/jserv.secret.key

log=false
log.file=/usr/local/apache/var/log/jserv.trace
log.timestamp=true
log.dateFormat=[yyyyMMdd HHmmss.SSS zz]
log.channel.init=false
log.channel.terminate=true
log.channel.serviceRequest=true
log.channel.authentication=true
log.channel.requestData=false
log.channel.responseHeaders=false
log.channel.signal=true
log.channel.exceptionTracing=true
log.channel.servletManager=true
log.channel.singleThreadModel=true

jserv.servlets.properties:

repositories=/usr/local/apache/share/servlets
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

Apache error_log:

[Wed Mar 10 13:31:51 1999] [notice] Apache/1.3.3 (Unix) ApacheJServ/1.0b3 
config
ured -- resuming normal operations
Apache JServ: Exception creating the server socket: 
java.net.BindException: Addr
ess already in use

jserv.log:

[10/03/1999 13:31:53:146] (INFO) [10/03/1999 13:31:53:146] (INFO) 
wrapper: watch
ing processes (PID=1051,PPID=494,VM PID=1058)wrapper classpath: 
/usr/JSDK2.0/lib
/jsdk.jar:/usr/local/jserv/lib/Apache-JServ.jar:/usr/java/lib/classes.zip

[10/03/1999 13:31:53:151] (INFO) wrapper: Java VM spawned 
(PID=1058|PPID=1051)
[10/03/1999 13:31:57:151] (INFO) wrapper: JVM Exited, restarting it (my 
PID=1051)
[10/03/1999 13:31:57:164] (INFO) wrapper: Java VM spawned 
(PID=1074|PPID=1051)

Many thanks for any help.  I bet it is something simple, but I'm at a 
loss.

Duane Gran

Got unix?  Get Solaris Central.

  http://www.SolarisCentral.org



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

Reply via email to