I am attempting to set up on one box with two separate Tomcat instances, one for dev, and one for stage, all using Unix Sockets.
In configuring this, I am wondering if I need to specify a separate socket file for each Tomcat instance, or can they share the same one? Is there a better performance out of either pattern? For reference, here is my workers2.properites file that I used to finally get what I want (two separate virtual host to not load-balance, using Unix Sockets). I would also love any suggestions on a better way to do this: [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocess servers file=/usr/local/apache2/logs/jk2.shm size=1000000 debug=0 disabled=0 [channel.un:/usr/local/apache2/modules/jk2_dev.socket] group=devlbgroup [channel.un:/usr/local/apache2/modules/jk2_stage.socket] group=stagelbgroup [uri:192.168.1.152/*] channel=channel.un:/usr/local/apache2/modules/jk2_dev.socket group=devlbgroup [uri:192.168.1.153/*] channel=channel.un:/usr/local/apache2/modules/jk2_stage.socket group=stagelbgroup