Skip navigation
e{X}calibur_lk
Currently Being Moderated

Deploying ColdFusion 8 project via EAR/WAR file

Jan 12, 2010 5:47 PM

I was wondering what considerations to take when deploying a ColdFusion 8 project as an EAR/WAR file. Is it possible to create the file on one computer (eg: development) and run it on another (eg: server)?

 
Replies
  • Jochem van Dieten
    2,389 posts
    Apr 8, 2001
    Currently Being Moderated
    Jan 13, 2010 6:29 AM   in reply to e{X}calibur_lk

    Yes, that is possible.

     

    What exactly do you want? Do you want to generate complete black box EAR files that are completely uneditable when deployed? Do you want to ship the CF Administrator with them or not? Do you want compiled code or not? Do you know beforehand in what environment your EAR files will be deployed?

     
    |
    Mark as:
  • Jochem van Dieten
    2,389 posts
    Apr 8, 2001
    Currently Being Moderated
    Jan 14, 2010 2:19 PM   in reply to e{X}calibur_lk

    I had written an explanation on how we use EAR files, then decided it

    may be useful to more people so I put it on my blog:

    http://jochem.vandieten.net/2010/01/15/using-ear-files-for-coldfusion- deployments/

     
    |
    Mark as:
  • Jochem van Dieten
    2,389 posts
    Apr 8, 2001
    Currently Being Moderated
    Jan 15, 2010 12:42 AM   in reply to e{X}calibur_lk

    ecalibur_lk wrote on 1/14/2010 11:47 PM:

    With ColdFusion packaged into the EAR, do you need ColdFusion installed on the environment you are deploying it on for it to work?

     

    No. You need to have a J2EE server like JBoss or JRun.

     

     

    If so, does it make a difference on what version of ColdFusion it is packaged with (eg: Developer vs. Enterprise edition)?

     

    If you want to We package our EAR files without a license key and

    leave it up to our clients to make sure they have the proper licenses

    for their environment. If they put a key in the properties file, we use

    the Admin API to register the instance. If they don't put a key in the

    properties file, the instance is a developer edition.

     

     

    Do you know of somewhere that describes how to build an EAR file via ANT and how to deploy it?

     

    http://www.adobe.com/devnet/coldfusion/articles/ear.html

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points