I have been fighting with this issue myself off and on for about a year now.

I have the following configuration:  
Apache 2.0.52
JRun4/ColdFusionMX 6.1
Sun Solaris 8

Example senerio:
One Apache2 Instance with two virtual hosts and 3 JRun Instances using
ColdFusion MX 6.1.  All of this is configured on one server.

Apache2 Virtual Host are:
www.abc.org
www.xyz.org

JRun Instances running ColdFusion Applications are:
Name - Host - JNDI Port - HTTP Port - Proxy Port
app1 - localhost - 2911 - 8101 - 51001
app2 - localhost - 2912 - 8102 - 51002
app3 - localhost - 2913 - 8103 - 51003

Here are the URLs for each of the applications:
http://www.abc.org/app1/index.cfm
http://www.abc.org/app2/index.cfm
http://www.xyz.org/app3/index.cfm

app3 appears to work find, but app1 and app2 appears to have issues.

The closes solution I found to my problem in the JRun documentation is
Connector-based clustering.  But this solution does not appear to
support my configuration.  It appears to only support cases where each
virtual host has it's own JRun Connector or used the default global
JRun connector if one is not defined in the Virtual Host directive. 
This would mean that I would have to install app1 and app2 in one JRun
instances with ColdFusion MX and set the context root to \.

I have not found a way to have one virtual host manage multiple JRun
Instances in which each JRun Instance is running a different
application.

Here are the directives in the Apache http.conf file for virtual host
www.abc.org.
  <IfModule mod_jrun20.c>
      JRunConfig Verbose true
      JRunConfig Apialloc false
      #JRunConfig Ssl false
      JRunConfig Ignoresuffixmap false
      JRunConfig Serverstore /opt/websites/www.abc.org/conf/jrunserver.store
      JRunConfig Bootstrap 127.0.0.1:51001
      #JRunConfig Errorurl <optionally redirect to this URL on errors>
      AddHandler jrun-handler .cfm .cfml .cfc
  </IfModule>

jrunserver.store looks like this:
proxyservers=127.0.0.1:51001;127.0.0.1:51002

The JRunConfig Bootstrap directive looks for a JRun Instance Listening
to 127.0.0.1:51001 in order to initialize.  What if that JRun
instances is not running, what happens next?

Anybody have any ideas?

-- 
Troy Simpson
  Applications Analyst/Programmer, OCPDBA, MCSE, SCSA
North Carolina State University Libraries
Campus Box 7111 | Raleigh | North Carolina
ph.919.515.3855 | fax.919.513.3330
E-mail: [EMAIL PROTECTED]

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:210924
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

Reply via email to