• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Deploying ColdFusion 8 project via EAR/WAR file

New Here ,
Jan 12, 2010 Jan 12, 2010

Copy link to clipboard

Copied

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)?

Views

3.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Jan 15, 2010 Jan 15, 2010

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 environ

...

Votes

Translate

Translate
Advocate ,
Jan 13, 2010 Jan 13, 2010

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 13, 2010 Jan 13, 2010

Copy link to clipboard

Copied

My apologise for not specifying the situation.

I have been asked to research how it would work, in order to find out if we can use it to simplify updating our hosted internal system.

>> Do you want to generate complete black box EAR files that are completely  uneditable when deployed?

Not really, we have dedicated hosting.

>> Do you want to ship the CF Administrator with  them or not?

The server does have ColdFusion installed, so I don't think this is needed

>> Do you want compiled code or not?

What are the pros and cons of compiling it?


>> Do you know beforehand  in what environment your EAR files will be deployed?

Yes

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 14, 2010 Jan 14, 2010

Copy link to clipboard

Copied

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/

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2010 Jan 14, 2010

Copy link to clipboard

Copied

@Jochem: Thank you for the blog entry, it does answer a few questions; however it also raises a few more:

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

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

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jan 15, 2010 Jan 15, 2010

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation