Deploying a Lucee-based application across multiple environments

Here is my conundrum:

We have multiple legacy ACF applications we are trying to convert to Lucee.

We have 4 environments (DEV/TEST/STAGING/PROD).

We want to be able to deploy these apps across the platforms (from DEV to
Test to Stage to Prod) with little-to-no human intervention.

The easiest way would be to deploy them as a WAR file - so that we can just
“drag and drop” (I use that term loosely) them from one Tomcat to the next.

The only differences are some minor changes in the Lucee configurations
(turning debug display on and off, template caching, etc).

Can someone tell me where the Lucee web and server configurations are
stored? Are they in XML files? Is there documentation on these files?

My plan is to build config files - 1 set for each environment.

Then the deployment would go something like this:

  1. SVN Checkout (from whatever appropriate branch)
  2. Maven build the WAR file (with the appropriate config file(s) for
    whichever environment it is deploying to)
  3. Deploy the WAR file in Tomcat

We already have a method for the application to check and configure its
datasources based on the environments - just trying to figure out the best
way to accomplish the rest of this.

(Servers are Linux - developer computers are Windows)

I might not have been clear - we want to deploy the App AND Lucee as one
bundle. Just to be clear.

Hey Sid

If you are looking at a normal express install of Lucee (should be the same for the installer) the configs are:

Server:

lucee/lib/ext/lucee-server/context/lucee-server.xml

Web:
(context)/WEB-INF/lucee/lucee-web.xml.cfm
And yeah they are in XML files :slight_smile:

Regards

MD> On 12 Apr 2016, at 13:40, Sid Wing <@Sid_Wing> wrote:

Here is my conundrum:

We have multiple legacy ACF applications we are trying to convert to Lucee.

We have 4 environments (DEV/TEST/STAGING/PROD).

We want to be able to deploy these apps across the platforms (from DEV to Test to Stage to Prod) with little-to-no human intervention.

The easiest way would be to deploy them as a WAR file - so that we can just “drag and drop” (I use that term loosely) them from one Tomcat to the next.

The only differences are some minor changes in the Lucee configurations (turning debug display on and off, template caching, etc).

Can someone tell me where the Lucee web and server configurations are stored? Are they in XML files? Is there documentation on these files?

My plan is to build config files - 1 set for each environment.

Then the deployment would go something like this:

  1. SVN Checkout (from whatever appropriate branch)
  2. Maven build the WAR file (with the appropriate config file(s) for whichever environment it is deploying to)
  3. Deploy the WAR file in Tomcat

We already have a method for the application to check and configure its datasources based on the environments - just trying to figure out the best way to accomplish the rest of this.

(Servers are Linux - developer computers are Windows)


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

To create a WAR file you would also need to include all the libs that are in lucee/lib/ext/ in the WEB-INF/libs folder (if I recall correctly)

MD> On 12 Apr 2016, at 14:03, Mark Drew <@Mark_Drew> wrote:

Hey Sid

If you are looking at a normal express install of Lucee (should be the same for the installer) the configs are:

Server:

lucee/lib/ext/lucee-server/context/lucee-server.xml

Web:
(context)/WEB-INF/lucee/lucee-web.xml.cfm
And yeah they are in XML files :slight_smile:

Regards

MD

On 12 Apr 2016, at 13:40, Sid Wing <@Sid_Wing mailto:Sid_Wing> wrote:

Here is my conundrum:

We have multiple legacy ACF applications we are trying to convert to Lucee.

We have 4 environments (DEV/TEST/STAGING/PROD).

We want to be able to deploy these apps across the platforms (from DEV to Test to Stage to Prod) with little-to-no human intervention.

The easiest way would be to deploy them as a WAR file - so that we can just “drag and drop” (I use that term loosely) them from one Tomcat to the next.

The only differences are some minor changes in the Lucee configurations (turning debug display on and off, template caching, etc).

Can someone tell me where the Lucee web and server configurations are stored? Are they in XML files? Is there documentation on these files?

My plan is to build config files - 1 set for each environment.

Then the deployment would go something like this:

  1. SVN Checkout (from whatever appropriate branch)
  2. Maven build the WAR file (with the appropriate config file(s) for whichever environment it is deploying to)
  3. Deploy the WAR file in Tomcat

We already have a method for the application to check and configure its datasources based on the environments - just trying to figure out the best way to accomplish the rest of this.

(Servers are Linux - developer computers are Windows)


Love Lucee? Become a supporter and be part of the Lucee project today! - http://lucee.org/supporters/become-a-supporter.html http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an email to lucee+unsubscribe@googlegroups.com mailto:lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com mailto:lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout https://groups.google.com/d/optout.

Thanks, Adam! I’ll look this over!On Wed, Apr 13, 2016 at 6:49 AM, Adam Chapman <@Adam_Chapman> wrote:

I do a similar thing… See the bash script in the link below which creates
a finished war file that I deploy to a tomcat container.

There is probably a bunch of stuff in there you don’t need…

https://chapmandu.com/2015/06/09/deploying-a-lucee-application-to-an-amazon-elastic-beanstalk-environment/

Regards,
Adam

On Tuesday, April 12, 2016 at 11:05:42 PM UTC+10, Mark Drew wrote:

To create a WAR file you would also need to include all the libs that are
in lucee/lib/ext/ in the WEB-INF/libs folder (if I recall correctly)

MD

On 12 Apr 2016, at 14:03, Mark Drew mark...@gmail.com wrote:

Hey Sid

If you are looking at a normal express install of Lucee (should be the
same for the installer) the configs are:

Server:

lucee/lib/ext/lucee-server/context/lucee-server.xml

Web:
(context)/WEB-INF/lucee/lucee-web.xml.cfm
And yeah they are in XML files :slight_smile:

Regards

MD

On 12 Apr 2016, at 13:40, Sid Wing sid....@gmail.com wrote:

Here is my conundrum:

We have multiple legacy ACF applications we are trying to convert to
Lucee.

We have 4 environments (DEV/TEST/STAGING/PROD).

We want to be able to deploy these apps across the platforms (from DEV to
Test to Stage to Prod) with little-to-no human intervention.

The easiest way would be to deploy them as a WAR file - so that we can
just “drag and drop” (I use that term loosely) them from one Tomcat to the
next.

The only differences are some minor changes in the Lucee configurations
(turning debug display on and off, template caching, etc).

Can someone tell me where the Lucee web and server configurations are
stored? Are they in XML files? Is there documentation on these files?

My plan is to build config files - 1 set for each environment.

Then the deployment would go something like this:

  1. SVN Checkout (from whatever appropriate branch)
  2. Maven build the WAR file (with the appropriate config file(s) for
    whichever environment it is deploying to)
  3. Deploy the WAR file in Tomcat

We already have a method for the application to check and configure its
datasources based on the environments - just trying to figure out the best
way to accomplish the rest of this.

(Servers are Linux - developer computers are Windows)


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com
https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html


You received this message because you are subscribed to a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/xM07OrqdLkc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3b3f7413-f8e2-40cd-ac91-67df16b1cc28%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3b3f7413-f8e2-40cd-ac91-67df16b1cc28%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Sid Wing
“We are dreamers, shapers, singers, and makers. We study the mysteries of
laser and circuit, crystal and scanner, holographic demons and invocations
of equations. These are the tools we employ, and we know many things.” -
Elric

I do a similar thing… See the bash script in the link below which creates
a finished war file that I deploy to a tomcat container.

There is probably a bunch of stuff in there you don’t need…

Regards,
AdamOn Tuesday, April 12, 2016 at 11:05:42 PM UTC+10, Mark Drew wrote:

To create a WAR file you would also need to include all the libs that are
in lucee/lib/ext/ in the WEB-INF/libs folder (if I recall correctly)

MD

On 12 Apr 2016, at 14:03, Mark Drew <mark...@gmail.com <javascript:>> wrote:

Hey Sid

If you are looking at a normal express install of Lucee (should be the
same for the installer) the configs are:

Server:

lucee/lib/ext/lucee-server/context/lucee-server.xml

Web:
(context)/WEB-INF/lucee/lucee-web.xml.cfm
And yeah they are in XML files :slight_smile:

Regards

MD

On 12 Apr 2016, at 13:40, Sid Wing <sid....@gmail.com <javascript:>> wrote:

Here is my conundrum:

We have multiple legacy ACF applications we are trying to convert to Lucee.

We have 4 environments (DEV/TEST/STAGING/PROD).

We want to be able to deploy these apps across the platforms (from DEV to
Test to Stage to Prod) with little-to-no human intervention.

The easiest way would be to deploy them as a WAR file - so that we can
just “drag and drop” (I use that term loosely) them from one Tomcat to the
next.

The only differences are some minor changes in the Lucee configurations
(turning debug display on and off, template caching, etc).

Can someone tell me where the Lucee web and server configurations are
stored? Are they in XML files? Is there documentation on these files?

My plan is to build config files - 1 set for each environment.

Then the deployment would go something like this:

  1. SVN Checkout (from whatever appropriate branch)
  2. Maven build the WAR file (with the appropriate config file(s) for
    whichever environment it is deploying to)
  3. Deploy the WAR file in Tomcat

We already have a method for the application to check and configure its
datasources based on the environments - just trying to figure out the best
way to accomplish the rest of this.

(Servers are Linux - developer computers are Windows)


Love Lucee? Become a supporter and be part of the Lucee project today! -
http://lucee.org/supporters/become-a-supporter.html

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com
https://groups.google.com/d/msgid/lucee/44024a58-41ea-4e30-992f-228d0ca12787%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

1 Like