Tomcat is open source, so I think you probably meant to say "our
documentation".

Every example HERE:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebex.html

has:

[shm]
file=${serverRoot}/logs/shm.file
size=1048576

in it.  Have you tried something like that?

BTW, patches to the documentation are welcome.

John


-----Original Message-----
From: Robert Andersson [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, February 19, 2003 6:36 PM
To: [EMAIL PROTECTED]
Subject: tomcat/apache problems


hi all!

i just wanted to set up tomcat to speak with my apache server with this
jk2-module. i can get the tomcat server to up and running on its own port
8080 as default. though when starting the apache server it only says in the
error log:

  [Thu Feb 20 00:07:35 2003] [debug]
/tmp/httpd-2.0.44/server/mpm/prefork/prefork.c(1039): AcceptMutex: pthread
(default: pthread)
  [Thu Feb 20 00:07:35 2003] [error] shm.init(): No file
  [Thu Feb 20 00:07:35 2003] [error] mod_jk child init 1 0
  [Thu Feb 20 00:07:35 2003] [error] shm.init(): No file
  [Thu Feb 20 00:07:35 2003] [error] shm.init(): No file

i am running tomcat 4.1... on solaris 9 sparc

got this in my worksers2.properties

  # Define the communication channel 
  [channel.socket:localhost:8019]
  info=Ajp13 forwarding over socket
  tomcatId=localhost:8019

  # Map the Tomcat examples webapp to the Web server uri space
  [uri:/examples/*]
  info=Map the whole webapp

and this in my j2k.properties

  handler.list=apr
  channelSocket.port=8019
  shm.file=/usr/local/apache/apache2/logs/jk2.shm
  apr.jniModeSo=/usr/local/apache/apache2/modules/mod_jk2.so

i really tried to follow your manuals... hehehe, over 20 years of hacking
seemed like a waste... :) you really have to do something about your
manuals, gee

yours,
/robert

-- 
Systems Administrator
Swedish National Graduate School of Language Technology

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to