> 
> There are two places that you define shm.file, tomcat 
> jk2.properties and
> apache workers2.properties. If you comment out one, you have 
> to comment out
> another.
> 

It's not in jk2.properties. My jk2.properties is empty, in so far as all the
entries are commented out. [shm] appears to be required in
workers2.properties otherwise the isapi_redirector2.dll complains. I'm not
using Apache, I'm using IIS. I've attached my jk2.properties and
workers2.properties below.

Regards
Roger

<----- J2K.PROPERTIES ----->
# THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.

## COMMENTS WILL BE _LOST_

## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.

# Set the desired handler list
# handler.list=apr,request,channelJni
#
# Override the default port for the socketChannel
# channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
# shm.file=${jkHome}/work/jk2.shm

# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:

# apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess


<---------- WORKERS2.PROPERTIES --------->

[shm]
file=e:\java\jakarta-tomcat\logs\shm.file
size=1048576

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

# Creates a new File logger to use instaead of the 
# default one, for IIS the default it's the event log
[logger.file:0]
file=${serverRoot}/logs/jk2.log
 
# uses the newly created File logger as the default one..
[workerEnv:]
logger=logger.file:0


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

# Map the Customer Administration stuff
[uri:/CustomerAdministration/*.jsp]
[uri:/CustomerAdministration/servlet/*]



> -----Original Message-----
> From: Varley, Roger [mailto:[EMAIL PROTECTED]] 
> Sent: February 6, 2003 11:10 AM
> To: 'Tomcat Users List'
> Subject: RE: Tomcat 4.1.18, JK2 - no iis_redirect.log
> 
> 
> > 
> > > has been the
> > > major cause of my problems in getting Tomcat to work. For 
> > > example, I only
> > > found out about the need for [shm] through the archives of 
> > this list.
> > > 
> > 
> > [shm] is needed section is needed to run i_r2.dll ?  
> > 
> > i'll test this.. shouldnt be needed at all.. or at least have a
> > plausible default that to not cause any problems if not needed..
> > 
> > I think it's a bug.. Please report this issue at
> > <http://nagoya.apache.org/bugzilla>.. Thanks..
> > 
> 
> If I try to start Tomcat without 
> 
> [shm]
> file=e:\java\jakarta-tomcat\logs\shm.file
> size=1048576
> 
> in the workers2.properties then I get "[Thu Feb 06 16:00:41 
> 2003] (error )
> [jk_shm.c (333)]  shm.init(): No file" in the tomcat logfile 
> and I cannot
> load the examples webapp. 
> 
> Before I report this as a bug I need to tidy up what I've 
> been doing, I've
> been trying to get this to work for a couple of days now and 
> it is entirely
> possible that I've got some crud/unneccassary configuration 
> floating around.
> 
> Incidentally, does the path http://<domainname>/global/ have a special
> meaning to Tomcat 4.x. I have a web application "global" that 
> I have not yet
> mapped into server.xml yet, but trying to load a static html page
> <domainname>/global/default.htm is returning a 404 from 
> Tomcat rather than
> finding it with IIS which I would have expected.
> 
> Regards
> Roger  
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to