Brad Wood wrote:
> Yes. If you really want CF to have sources outside the EAR you need to 
> create a mapping in jrun-web.xml, but I wouldn't bother.
> 
> ====
> 
> Are you suggesting that all my cfm files should always reside under
> jrun/servers/instance_name/...

I am suggesting you put all your code in an EAR file and leave it there. 
Whether you create your instances under /jrun/servers/ or not is up to you.


> Right now, all my cfml is on an entirely separate drive.  We did this
> because we wanted multiple instances to share the same code.  In our
> environment we need the ability to deploy hot fixes any time throughout
> the day quickly and easily by simply moving a single file.  Maybe, this
> is all possible and easy and we just don't know what we are doing (most
> likely scenario) but it seems that we would be greatly complicating our
> release process by having to create and deploy an EAR or something when
> all we need to update is a single line of code.

Our scenario is designed to make it hard to mess with the contents of 
the application and change files. You get one EAR file, not a bunch of 
..cfm/cfc files. And changing individual files is a bit hard if they are 
all compiled. We have had too many issues with people that alter our 
applications.


> From my experiences so
> far, creating and deploying WARs seems to be a very time consuming
> process.  

Depends on your definition of long. Generating an EAR straight from 
source control takes about 80 seconds for uncompiled and 120 seconds for 
compiled applications. For the more complicated applications running 
automated regression tests easily takes several hours. Deployment on a 
three node cluster takes 2 minutes if it is an incompatible change (old 
and new version can not be active at the same time due to incompatible 
database schema's) or up to an hour if we do a slow and controlled 
update of the cluster where we update one instance at a time.

But our scenario is designed with a clearly different goal.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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

Reply via email to