tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas, Rory" <Rory.Doug...@na.sunchem.com>
Subject RE: example mod_jk2 files for Apache 2.0.39
Date Tue, 25 Jun 2002 17:39:30 GMT
Dave,

I think all the "shm.init(): no file" messages are because at one point in
my fiddling around
I removed the config for the scoreboard file from workers2.properties. If
you include the block below in your workers2.properties after [uriMap:],

  [shm:]
  info=Scoreboard. Required for reconfiguration and status with multiprocess
servers
  file=${serverRoot}/logs/jk2.shm
  size=1000000
  debug=0
  disabled=0

the "no file" messages should go away (or at least change, should now see
stuff about GLOBAL_FILE etc.

All I know about the scoreboard is what is contained in the above info=
line...something to do with multiprocess servers ;-)

BTW, I would still recomment looking at the sample workers2.properties file
that comes with the connectors source (in 4.1 this is in jtc-src\jk\conf.
That has examples which relate to load-balancing, though I haven't got this
to work yet.

cheers
Rory


-----Original Message-----
From: Short, Dave [mailto:dave.short@pfizer.com]
Sent: Tuesday, June 25, 2002 1:20 PM
To: 'Tomcat Users List'
Subject: RE: example mod_jk2 files for Apache 2.0.39


Rory,
 
Thanks for the info.  The following messages are written to the
Apache2\logs\error.log when I start Apache 2.0.39:
 
[Tue Jun 25 10:17:10 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:10 2002] [notice] Parent: Created child process 1884
[Tue Jun 25 10:17:11 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:11 2002] [notice] Child 1884: Child process is running
[Tue Jun 25 10:17:11 2002] [error] workerEnv.init() create default worker
lb:lb
[Tue Jun 25 10:17:11 2002] [error] shm.init(): No file
[Tue Jun 25 10:17:11 2002] [notice] Child 1884: Acquired the start mutex.
[Tue Jun 25 10:17:12 2002] [notice] Child 1884: Starting 250 worker threads.

Do the the messages mean anything to you?
 
Dave

-----Original Message-----
From: Douglas, Rory [mailto:Rory.Douglas@na.sunchem.com]
Sent: June 25, 2002 5:54 AM
To: 'Tomcat Users List (E-mail)'
Subject: example mod_jk2 files for Apache 2.0.39



As requested, attached are the actual config files I'm currently using to
integerate Apache2 and Tomcat 4.1.3 using mod_jk2.  I have not included
server.xml (it is hard to read because it's maintained by the admin webapp)
but the complete <connector> element is attached (actually the tomcat docs
on this part of the config are fine).


Rory Douglas 
Sun Chemical Corporation 
(201) 224-4600 x133 
rory.douglas@na.sunchem.com 




Mime
View raw message