RE: CFMX Clustering / J2EE Session Sharing (configured, but with unexpected side effects)

2005-06-02 Thread jacksonj
Thanks (once again) Dave.

Our Apache admin is out for the day, so I'm trying to interpret your 
instructions myself (but am having a tough time following them). 

-The way I've dealt with this in the past is to set up each CFMX instance
-with its own web server (either the JRun web server or a specific IIS or
-Apache virtual host)

My CFMX sites are all hosted on a single CFMX instance (per machine), but each 
site has its own virtual host entry (e.g., "ENTRY 2," below).

-then added each instance to the cluster,

Since I've got one CFMX instance per machine, my cluster(s) consist(s) of one 
local CFMX instance and one remote CFMX instance. (So, I think I've completed 
this step.)

-then configured the cluster to talk to a specific IIS or Apache virtual host.

This is the part that I'm unsure how to accomplish. Would you mind helping me 
through this part? I've included some snippets from my httpd.conf.

Thanks,
Jamie


   
   
JRunConfig Verbose false
   
JRunConfig Apialloc false   
   
JRunConfig Ssl false
   
JRunConfig Ignoresuffixmap false
   
JRunConfig Serverstore /usr/local/jrun/lib/wsconfig/1/jrunserver.store  
   
JRunConfig Bootstrap 127.0.0.1:51000   
AddHandler jrun-handler .jsp .jws .cfm  
   
 








ServerAdmin [EMAIL PROTECTED]   
 
DocumentRoot /var/www/myCfSite  

ServerName my.cf.site.com   
   
ServerAlias stage1.my.cf.site.com   
 
CustomLog /var/log/apache/my.cf.site.com-access_log common  
   
ErrorLog /var/log/apache/my.cf.site.com-error_log
   




ServerAdmin [EMAIL PROTECTED]   
   
DocumentRoot /var/www/myJavaSite
 
ServerName my.java.site.com 
 
ServerAlias www.my.java.site.com

CustomLog /var/log/apache/my.java.site.com-access_log common
   
ErrorLog /var/log/apache/my.java.site.com-error_log 
   
   
   
   JRunConfig Verbose false 
   
   JRunConfig Apialloc false  
   JRunConfig Ignoresuffixmap false 
   
   JRunConfig Serverstore /usr/local/jrun/lib/wsconfig/3/jrunserver.store   
   
   JRunConfig Bootstrap 127.0.0.1:51006
   AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
   
 
   
   

~~~

RE: CFMX Clustering / J2EE Session Sharing (configured, but with unexpected side effects)

2005-06-01 Thread Dave Watts
> Say I've got an index.cfm file on both servers, one that 
> says, "Hi, I'm server 1," and the other that says "Hi, I'm 
> server 2."  If I hit server 1, I have no way to predict 
> whether I'll see the message from the local filesystem ("Hi, 
> I'm server 1") or from the remote filesystem ("Hi, I'm server 
> 2").

The thing is, when you set up your cluster, you don't know which server
you're hitting unless you also have a non-clustered way to talk to the same
server! When you define a cluster and connect that cluster to a web server,
then connect to that virtual web server, you're no longer addressing CFMX
servers individually.

The way I've dealt with this in the past is to set up each CFMX instance
with its own web server (either the JRun web server or a specific IIS or
Apache virtual host), then added each instance to the cluster, then
configured the cluster to talk to a specific IIS or Apache virtual host.

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!


~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:208289
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54