bpurcell.org - Updated to CFMX 6.1 Apache Virtual Hosts Configuration Article
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Subject Archives
Amazon EC2 (15)
ColdFusionMX (155)
Corvette (3)
Flash Lite (4)
Flash Media Server (5)
Flash Player (3)
Flex (39)
General Web Dev (14)
HDTV (3)
Jboss (1)
Jquery (2)
JRun (59)
Max 2003 (3)
Other (33)
PC Hardware (16)
Software (17)
SpatialKey (7)
Wireless (8)
Working Out (1)

RSS Feed
Feed Listing

Site Contents
My Blog
Wireless & Networking
Hardware & Gadgets
Software Picks
Contact Me

My Articles & Papers
Flex Performance
mm.com Under the Hood
Multiple Instances of CFMX
Multiple Instance Config
NLB with ColdFusion
Clustering CFMX for J2EE
Multi-Tier Hardware LB w CFMX
Cisco CSS & Coldfusion MX
JRun 4 Jini based Clustering
WiFi Growth

2ID Tacweb

Other Hobbys
Body-For-Life Challenge

Personal Projects
Family Pool
Deck Gate


Viewing Individual Entry / Main
August 10, 2004

I recently updated my article on configuring Installing and Configuring ColdFusion MX 6.1 Multiple Instances with IIS and Apache Virtual Hosts.  There was a problem with the Apache configuration causing errors.  There was an issue highlighted on Steven Erat's blog pointing out that the JRunConfig Apialloc setting must be set in the Virtual Host for second instance, and must be set to false. If not, one in every 4 or 5 requests will return an Apache Internal Server Error to the client with a 500 status code and the Apache error log will record a message such as:

[Thu Jun 24 15:09:33 2004] [notice] jrApache[1635] JRun will not accept request. Check JRun web server configuration and JRun mappings on JRun server.

The article can be found on macromedia.com.  There was only one page updated that dealt with the apache configuration.


So a bit related - have you ever figured out how to get Apache to do the following:

Use virtual hosts If a CFM file is not found, fire off the Apache 404 handler.

This is easy in IIS - you simply tell IIS to check for script existence. I have yet to find a way to get Apache to do this.


Just wrote a fairly big comment here and hit cancel by mistake. One more reason to hate popup windows.

ok here goes second time...

I've been running multiple Apache virtual hosts with multiple CFMX instances on JRun in my dev environment since about the start of this year.

For the first month or so I was experiencing the type of thing you describe with the Apache errors.

I reinstalled my CFMX instances and carefully checked the logs to see what was happening. It turned out that the JRun Web proxy service wasn't automatically starting when the CFMX instance was started. Once I'd manually started it, I found that it automatically started every time the services were cycled, or the machine was rebooted.

I don't have any JRun Apialloc settings in any of my virtual hosts and I haven't had a single error since I tracked down the cause of the issue and started the proxy service in each of the instances.

Page Render Time:203