Here are a few differences between your configuration and mine:
1) My workers2.properties uses [shm:] instead of [shm].
2) I found that the 2.0.2 jk2 ISAPI redirector dll does not like forward slash path
syntax on Windows (for your SHM file). Try \\.
---- Tomcat Users List <[EMAIL PROTECTED]> wrote:
> hi there,
>
> here are the properties files I currently use (a merge of Mark's + Rick's
> configuration files):
>
> =========================
> jk2.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
>
> #
> # Socket configuration
> #
> handler.list=request,container,channelSocket
> #apr
>
> #
> # apr configuration
> # jk2.properties file in C:\Tomcat\conf
> #
> #apr.NativeSo=${jkHome}\\bin\\Win32\\jkjni.dll
> #apr.jniModeSo=${jkHome}\\bin\\Win32\\jkjni.dll
>
> #
> # socket configuration
> #
> channelSocket.port=8009
> channelSocket.address=127.0.0.1
> channelSocket.maxPort=port+10
>
> =========================
> workers2.properties
> =========================
> # workers2.properties file in C:\Apache2\conf
> # only at beginning. In production uncomment it out
> # [logger.apache2]
> # level=DEBUG
>
> [shm]
> file=f:/tomcat-4.1.18/shm.file
> size=1048576
>
> # Example socket channel, override port and host.
> [channel.socket:localhost:8009]
> port=8009
> host=127.0.0.1
>
> # define the worker
> [ajp13:localhost:8009]
> channel=channel.socket:localhost:8009
>
> # Uri mapping
> [uri:/examples/*]
> worker=ajp13:localhost:8009
>
> [uri:/wartung/*]
> worker=ajp13:localhost:8009
>
> [uri:/SignonClient/*]
> worker=ajp13:localhost:8009
>
> thx
> Johannes
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]