Can I use the same workers file and define new worker definition? Will this approach work even if the second instance of Tomcat happens to have its own binary files (tomcat6w.exe) and its own configuration settings (server.xml, web.xml, Catalina.properties, Catalina.policy etc.)?
Thanks, ________________________________ Anurag 301-296-3838 The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. -----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Thursday, May 22, 2008 2:33 PM To: Tomcat Users List Subject: Re: mod jk and workers file -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Anurag, Mehrotra, Anurag wrote: | I now have to connect the same instance of web server (as above) to another | instance of Tomcat running on a different ip address and port numbers. | | How can I go about specifying multiple Workers file? You don't want to do this. | Can I use the same workers file and define new worker definition | | worker.wk2.port=new port number | worker.wk2.host=new ip address | worker.wk2.type=ajp13 This is the way to do it. Just copy your existing worker configuration (the worker.[name].whatever lines) and paste them below the originals. Just change the worker name and whatever other settings you need (such as port number). Finally, adjust the "worker.list" property to include both workers, like this: worker.list=wk1, wk2 That should be all you need. Make sure you reload httpd's configuration after you change your workers file. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkg1vGoACgkQ9CaO5/Lv0PBUYQCffxjJKoZR9G8+cOqZXtC++Hlu VpgAoKFCuMV5glCTL+lJ5wQh56yxy6pb =Z6f1 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]