One of the requirements to make this work in apache is to use the {VirtualHost} 
tags. You would define a specific CF instance to use for each VH.  Try making a 
copy of your current httpd.conf file and pointing the Web Config Tool at it 
instead of the live version.  You would then remove the JRun specific items 
from this copied file.  If there is a CF stuff already in the file, the config 
tool won't work correctly.  Failing all that, you can create all of this 
manually.

To manually create the connector, you will need to create a new numbered folder 
in  {jrunroot}/lib/wsconfig.  Doesn't matter the number really, but let's say 
you already have a "1", you'd then create a "2".  In this new folder you will 
need a copy of the mod_jrun22.so (copy this from the first folder) and a 
jrunserver.store file (also copied from the first folder).  That file should 
only contain the word "proxyservers=".  The only use for this file to map a 
cluster of instances.

Next, you'll need to edit your httpd.conf.  Each VH will need this information 
included between the tags.  I'll explain below where the info comes from.
<IfModule mod_jrun22.c>
    JRunConfig Verbose false
    JRunConfig Apialloc false
    JRunConfig Ignoresuffixmap false
    JRunConfig Serverstore "C:/JRun4/lib/wsconfig/1/jrunserver.store"
    JRunConfig Bootstrap 127.0.0.1:51020
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .cfr .cfswf
</IfModule>

Serverstore - points to the newly created folder and file.  We don't have much 
use for it in this case.  If you were clustering, Oy the fun!
Bootstrap - This is found in your jrun.xml file.  Typically, this file is found 
in {jrunroot}/servers/{instance}/SERVER-INF/jrun.xml.  The block of lines 
you're looking for have a server name of ProxyService.

Annnnd.  That's it, really.  Provided you don't have to manually compile the 
mod_jrun22.so, it's pretty straight forward.  My 7.0.2 connector works with 6.1 
and 8.


Matthew Williams
Geodesic GraFX
www.geodesicgrafx.com/blog 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294627
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to