I am trying to figure out the jk2 configuration and need some help.
I want to use the shared memory capability of JK2, but am confused by the requirement
that I must also use a port (8009). I have apache configured to require mutual
authentication. Here is my config file:
### Start workers2.properties ###
[logger]
level=DEBUG
[config:]
file=${serverRoot}/conf/workers2.properties
debug=0
debugEnv=0
[uriMap:]
info=Maps the requests. Options: debug
debug=0
[shm:]
info=Scoreboard. Required for reconfiguration and status with multiprocess servers
file=${serverRoot}/logs/jk2.shm
size=1000000
debug=0
disabled=0
[workerEnv:]
info=Global server options
timing=1
debug=0
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
debug=0
tomcatId=localhost:8009
[status:]
info=Status worker, displays runtime informations
[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
[uri:/blah/servlet/*]
info=blah context
context=/blah
debug=1
### End workers2.properties ###
When I comment out the "channel.socket:localhost:8009" section, I cannot connect to my
servlets. Is there another connector that I should be using? Or do I need to have
port 8009 open?
thank you for the help.