Howdy, You need separate shutdown ports if you want to be able to shutdown/restart individual instances.
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Eriksen, Kjell [mailto:[EMAIL PROTECTED] >Sent: Monday, September 22, 2003 8:07 PM >To: '[EMAIL PROTECTED]' >Subject: Multiple Web Apps... Am I missing anything? > >We are testing out Tomcat to host multiple app instances - any feedback >would be greatly appreciated. > >To install multiple web apps on W2K - each with its own service/instance: > >1) Copy/rename server.xml (webapp1.xml) >a. config "non-SSL Coyote HTTP/1.1 Connector" on open port, say 8081 > i. not >really necessary since we external web server - but good for >troubleshooting >b. config "a Coyote/JK2 AJP 1.3 Connector" on open port , say 8581 >c. Add our context > i. >changing DocBase (c:\app1) + Path (/app1) > >2) Config worker.properties >a. add a worker to the list (myapp1) >b. copy/modify the worker definition (worker + port) > i. >worker.MYAPP1.port=8581 > ii. >worker.MYAPP1.host=localhost > iii. >worker.MYAPP1.type=ajp13 > >3) Config uriworkermap.properties >a. add mappings to point to the appropriate worker > i. >/app1/*.jsp=MYAPP > >4) Use Jakarta ISAPI in IIS - redirects jsp's to tomcat > >5) Create Virtual Directory in IIS for each app instance > >6) Use Config utility to create windows services - and point service >to appropriate (copy of) server.xml. > > >End result: > >* Multiple server.xml files (renamed: app1, app2, app3...etc) >* Multiple workers in the list >* Multiple definitions in the worker.properties file (all type AJP13) >* Multiple URI path listings >* 1 ISAPI filter >* Multiple VD's in IIS >* Multiple services - each to its own instance > >Sites run fine > >Questions: > >1) Is this the best way to config? >2) Is anything missing? Any settings? Timeouts? >3) Does each server.xml file need a unique Server Port? >a. <Server port="8005" shutdown="SHUTDOWN" debug="0"> >4) Any suggestions to increase performance in such a config? > > >Thank you, > >Kjell Eriksen > >---------------------------------------------- >The information transmitted is intended only for the person or entity to >which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination, distribution, >forwarding, or other use of, or taking of any action in reliance upon, this >information by persons or entities other than the intended recipient is >prohibited without the express permission of the sender. If you received >this communication in error, please contact the sender and delete the >material from any computer. > This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
