> I am trying to get multiple server instances of CFMX (v7 and > v8) to use with Apache v2.0.59. I want virtual server A to be > hosted by a CFMX7.02 instance and virtual server B hosted by > a CFMX8 instance. > I cannot get this to work and I recall this was no problem > with IIS. Can anyone tell me how to do this? > > Simply copying the lines > > JRunConfig Serverstore C:\JRun4\lib\wsconfig\2 > JRunConfig Bootstrap 127.0.0.1:51000 #cfmx8 instance > JRunConfig Apialloc false > (with the correct values for Serverstore and Bootstrap) > > in a virtual container section of a httpd.config file > configured for use with JRun4 server/cfmx7 instance won't do > it. Its's as if the lines in the virtual hosts section are > ignored by Apache.
Setting up JRun to work with Apache is a little more work. I think the easiest way to do this is the following: 1. Run wsconfig to set up Apache to work with your first JRun instance. 2. Copy your httpd.conf file. 3. Run wsconfig to set up Apache to work with your second JRun instance. 4. Edit your httpd.conf file to include the changes made in the first step, placing some in your VirtualHost directive and others in your main httpd.conf content. The LoadModule part will need to go in httpd.conf, and you'll need the IfModule directive containing only the Ssl option in httpd.conf also. The other parts will go into your VirtualHost directives as appropriate. > 2nd question > The workings of servlet engines (JBoss, Tomcat, JRun etc) is > a littlebit unclear to me. What does it mean to deploy a > ear/war file? What exactly happens when you deploy a cfmx > server in a servlet engine like JRun/Tomcat? What's the > lifecycle of a request for a file served by this cfmx > instance? What is different with the "old" cfmx (pre v5) behavior? Deploying an EAR or WAR file creates the resources needed for a specific enterprise or web application. Your application server will look for specific URL patterns, which will then be handled by the application server. I don't think this tells you everything you're curious about, but frankly I'm not sure what else you want to know exactly. The lifecycle of a request is no different with a J2EE server than with any other sort of server, really. > Also I don't quite understand the need for the Windows' > services "Macromedia JRun Admin Server" and "Macromedia JRun > Cfusion Server". They both point to the same executable > "C:\JRun4\bin\jrunsvc.exe". As I see it the JRun4 servlet > engine is responsible for the workings of any (coldfusion) > servlet collection deployed. And it listens for requests on > configured ports. Why these windows services? They run separate instances of JRun. If you look at the arguments passed to each executable for each service, you'll notice that they're a bit different. The command-line analogue is to run jrun.exe: jrun -start admin jrun -start cfusion The Admin server lets you manage JRun itself, much like the CF Administrator application lets you manage CF. You can disable the JRun Admin service; you don't need it unless you want to access the JRun Admin console. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.net ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/JRun-Talk/message.cfm/messageid:5806 Subscription: http://www.houseoffusion.com/groups/JRun-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.8
