- 
        1. Re: Multiple Jboss instances and Apache configuartion on samudaydg Aug 28, 2002 2:52 PM (in response to udaydg)I have found the answer to this one.. 
 Changes to run multiple instances of Jboss need to be made in jbossmq-service.xml jboss-minimal.xml hsqldb-service.xml jboss-service.xml mssql-service.xml standardjboss.xml and tomcat4-service.xml.
 Change the port for different services like JNDI/Hyeprsonic DB etc .
 For enabling Apache to talk to correct instance of Jboss + catalina there need to be chnages done to Apache httpd.conf file and worker.properties in cataline/conf which is under jboss..
 In hhtpd.conf you can use Virtual Host capability to listen on different port for incomming request. Depending on which port the request is comming from the
 <VirtualHost 127.0.0.1:80>
 ServerAdmin webmaster@dummy-host.example.com
 DocumentRoot "c:\DDDDpplication"
 ServerName localhost
 ErrorLog logs/error_log
 JkMount /*.jsp ajp_someName
 JkMount /*.svl ajp_someName
 JkMount /appimages/* ajp_someName
 # CustomLog logs/dummy-host.example.com-access_log common
 <VirtualHost 222.222.1.139:90>
 ServerAdmin webmaster@dummy-host.example.com
 DocumentRoot "c:\Application"
 ServerName uday-eng
 ErrorLog logs/error_log
 JkMount /*.jsp ajp_someotherName
 JkMount /*.svl ajp_someotherName
 JkMount /appimages/* ajp_someotherName
 # CustomLog logs/dummy-host.example.com-access_log common
 Chnage worker.properties to
 worker.ajp_someName.port=8009
 worker.ajp_someName.host=localhost
 worker.ajp_someName.type=ajp13
 worker.ajp_someOtherName.port=8010
 worker.ajp_someOtherName.host=localhost
 worker.ajp_someOtherName.type=ajp13
 Just specify in httpd.conf against JKMount what instance of ajp connector it is listening on..
 That would enable the request to be routed to correct Tomcat + Jboss instance from web server..
 UG
