House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Multiple Instances of ColdFusion MX on JRun

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jeffry Houser
04/28/2004 11:36 AM

Hi All,   Over the past few days I've had the pleasure of setting up multiple instance of CFMX on JRun.  Despite a lot of what I've heard, I did not have nearly the problems I thought I would.  The set-up went fairly smoothly.  This tech note was a great help: <http://www.macromedia.com/support/coldfusion/ts/documents/tn18314.htm>;   However, I was really confused as to what the "ColdFusion MX for J2EE" setup program was.  The way I set stuff up was by copying an existing ear directory from an already installed instance into the new app.   The questions I have are: A) Is there a way to get each separate instance of CFMX listed in the Windows Control Panel? B) If the answer to the previous question is no, then is there a way to set up each separate instance to start every time JRun is started?   In advance, thank you! -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer <mailto:jeff@instantcoldfusion.com> -- AIM: Reboog711  | Phone: 1-203-379-0773 -- My Books: <http://www.instantcoldfusion.com> Recording Music: <http://www.fcfstudios.com> Original Energetic Acoustic Rock: <http://www.farcryfly.com>

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Paul Kenney
04/28/2004 12:04 PM

Check out this article by Brandon Purcell: http://www.macromedia.com/devnet/mx/coldfusion/articles/multi_instances.html Paul Kenney paul@pjk.us 916-212-4359 ----- Excess quoted text cut - see Original Post for more ----- 8314.htm>   However, I was really confused as to what the "ColdFusion MX for J2EE" setup program was.  The way I set stuff up was by copying an existing ear directory from an already installed instance into the new app.   The questions I have are: A) Is there a way to get each separate instance of CFMX listed in the Windows Control Panel? B) If the answer to the previous question is no, then is there a way to set up each separate instance to start every time JRun is started?   In advance, thank you! -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer <mailto:jeff@instantcoldfusion.com> -- AIM: Reboog711  | Phone: 1-203-379-0773 -- My Books: <http://www.instantcoldfusion.com> Recording Music: <http://www.fcfstudios.com> Original Energetic Acoustic Rock: <http://www.farcryfly.com>

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Adrocknaphobia
04/28/2004 11:56 AM

I assume you are talking about setting services for each instance. As an initial install of JRUN/CFMX will create 3 default, admin and cfusion. You can use the jrunsvc.exe found in <jrun-install>\bin. usage: jrunsvc -install [jrun instance name] [service name] [display name] [description] As for moving ear files to create new instances, that is definitely the way to go. I do all the deployments here, and its made my job a whole lot easier. I have a base one setup that I user to create all my instance, then just add the service to make sure they start if the system gbets rebooted. But jeah, I don't think MM likes that. I think they want you to ensure you have licenses for all of those instances. -adam ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Steven Erat
04/28/2004 11:58 AM

Brandon Purcell is really the master of JRun Clustering.  He has many articles available that cover a variety of aspects.   That said, I once posted a "no frills guide" to clustering ColdFusion instances in JRun here: http://www.talkingtree.com/blog/index.cfm?data=20040225 This was originally my "recipe" for setting this up, since I found myself doing it often.   I just want to point out that there are a variety of links at the bottom, including: Configuring individual jvm.config files per instance http://www.macromedia.com/support/jrun/ts/documents/tn18206.htm Although I can't recall which Technote describes how to install a JRun server instance as a Windows Service, in short you can do it with: C:\JRun4\bin\jrunsvc -install my_cfusion_instance_1 "ColdFusion Instance 1 on JRun" Here, "my_cfusion_instance_1" is the name of the JRun server instance as it appears in the JMC, and "ColdFusion Instance 1 on JRun" is the display name you'd like for the Windows Service control panel. -Steven Erat ----- Excess quoted text cut - see Original Post for more -----

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Steven Erat
04/28/2004 12:25 PM

Licensing is CPU based, not instance based. ... > But jeah, I don't think MM likes that. I think they want you to ensure you > have licenses for all of those instances. > > -adam

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Jeffry Houser
04/28/2004 04:46 PM

  I had already read that one; but didn't really find it useful.   I want to thank both Adam and Steven for their responses, because that 'jrunsvc' file seemed to be exactly what I was looking for. At 05:01 PM 4/28/2004, you wrote: ----- Excess quoted text cut - see Original Post for more ----- -- Jeffry Houser, Web Developer, Writer, Songwriter, Recording Engineer <mailto:jeff@instantcoldfusion.com> -- AIM: Reboog711  | Phone: 1-203-379-0773 -- My Books: <http://www.instantcoldfusion.com> Recording Music: <http://www.fcfstudios.com> Original Energetic Acoustic Rock: <http://www.farcryfly.com>


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

February 08, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       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