Skip to main content
Participant
April 25, 2006
Question

multple instances

  • April 25, 2006
  • 1 reply
  • 266 views
Greetings-

I'm new to the multiple instance installation of CF. Now that things seem to run out of the JRUN folder, I'm just wondering what a good web directory structure for applications might look like . With a normal installation i just have:

\webroot
\instance1
\app1
\app2
\app3
\instance2
\app1
\app2
\app3

But now i'm totally confused by the JRUN folder and the default subfolders (ear/war) that get created within it. Can anybody tell me what the above structure might look like under a multiple instance installation???

Thanks
Jay
    This topic has been closed for replies.

    1 reply

    Inspiring
    April 26, 2006
    TurrosUkko wrote:
    > But now i'm totally confused by the JRUN folder and the default subfolders
    > (ear/war) that get created within it. Can anybody tell me what the above
    > structure might look like under a multiple instance installation???

    Typically in a multi-instance installation you'll have this:
    /jrun_directory/servers/
    cfusion/cfusion-ear/cfusion-war
    instance1/cfusion.ear/cfusion.war
    instance2/cfusion.ear/cfusion.war

    That points to the default doc root of each instance, with the cfusion
    instance being the "default" instance. You could then put your
    additional apps under those directories.

    Now that doesn't mean you *have* to put things in those directories, of
    course. Since your web server configuration points cfm and cfc calls to
    the CF engine of a particular instance, but doesn't care where
    specifically the files are located, you can really put your app files
    wherever you want. For example, in our setup the CF code for our
    applications is stored on a single network storage device and the web
    servers all point to this single storage device. We don't have any
    application files in the cfusion-ear/cfusion-war structure at all.

    If this is a development server you're referring to and you're using the
    built-in web server in CF, it's probably simplest just to dump your
    application files under the directory structure above.

    Hope that helps,
    Matt
    --
    Matt Woodward
    mpwoodward@gmail.com
    Adobe Community Expert - ColdFusion
    Participant
    April 26, 2006
    That all makes sense, Matt...thanks. That is pretty much what i was thinking was the case from the bits and pieces of info i've gotten. I was really hoping to be able to keep my original structure, which i think i will do now. It's amazing to me how non intuitive this whole process of deploying apps from a traditional install to a multiple instance install is...with very little concrete documentation to support it.

    Thanks again.
    jay