Moving over from Railo

Hi All, we are looking to migrate from Railo to Lucee since this is the
*recommended trend,

What are the disadvantages of use express version (plain catalina) rather
than full blown tomcat?

GX

Express doesn’t install itself as a service. That’s it as far as I know.

Mark Drew> On 3 Feb 2015, at 05:34, @mailme.gx wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the *recommended trend,

What are the disadvantages of use express version (plain catalina) rather than full blown tomcat?

GX


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.
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/843044ce-b619-4abc-ac6d-e831df5c0504%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Compared to the installer? Yes.

You should still change how much memory your app requires on the tomcat
setenv.sh

MDOn Tue, 3 Feb 2015 at 08:28, <@mailme.gx> wrote:

great so if I have nginx in front that does the reverse proxy and monit to
start stop and monitor the express is fine as far as performance number of
connections etc?

On Tuesday, February 3, 2015 at 10:23:52 AM UTC+2, Micha wrote:

Yeah, that is exactly the point, you have in both cases Tomcat …, the
installer simply add it as a service and connects it with a webserver.

Micha

On Tue, Feb 3, 2015 at 9:17 AM, Mark Drew mark...@gmail.com wrote:

Express doesn’t install itself as a service. That’s it as far as I know.

Mark Drew

On 3 Feb 2015, at 05:34, mail...@gmail.com wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the
*recommended trend,

What are the disadvantages of use express version (plain catalina)
rather than full blown tomcat?

GX


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/843044ce-b619-4abc-ac6d-e831df5c0504%40googlegroups.com
https://groups.google.com/d/msgid/lucee/843044ce-b619-4abc-ac6d-e831df5c0504%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com
https://groups.google.com/d/msgid/lucee/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


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.
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/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Yeah, that is exactly the point, you have in both cases Tomcat …, the
installer simply add it as a service and connects it with a webserver.

MichaOn Tue, Feb 3, 2015 at 9:17 AM, Mark Drew <@Mark_Drew> wrote:

Express doesn’t install itself as a service. That’s it as far as I know.

Mark Drew

On 3 Feb 2015, at 05:34, @mailme.gx wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the
*recommended trend,

What are the disadvantages of use express version (plain catalina) rather
than full blown tomcat?

GX


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.
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/843044ce-b619-4abc-ac6d-e831df5c0504%40googlegroups.com
https://groups.google.com/d/msgid/lucee/843044ce-b619-4abc-ac6d-e831df5c0504%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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.
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/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com
https://groups.google.com/d/msgid/lucee/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

CORRECTION:

My apologies. I pulled the comments from the setenv.sh file, but hashes aren’t proper batch file comments:----------------------
REM Tomcat memory settings
REM -Xms set initial Java heap size
REM -Xmx set maximum Java heap size
REM -Xss set java thread stack size
REM -XX:MaxPermSize sets the java PermGen size

set CATALINA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=128m -javaagent:lib/lucee-inst.jar

or


:: Tomcat memory settings
:: -Xms set initial Java heap size
:: -Xmx set maximum Java heap size
:: -Xss set java thread stack size
:: -XX:MaxPermSize sets the java PermGen size

set CATALINA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=128m -javaagent:lib/lucee-inst.jar

Apologies for blindly copying and pasting there.

-Jordan

----- Original Message -----
From: “Jordan Michaels” <@Jordan_Michaels>
To: lucee@googlegroups.com
Sent: Thursday, February 5, 2015 1:30:17 PM
Subject: Re: [Lucee] moving over from Railo

If you’re using Windows you’ll need to look at the .bat files in the current express build. The .bat files are the Windows equivalent for Linux’s .sh files. Note that the catalina.bat file looks for a setenv.bat file for it’s parameters, just as the catalina.sh file looks for setenv.sh file.

So, basically just create a new setenv.bat file and add the following:


Tomcat memory settings

-Xms set initial Java heap size

-Xmx set maximum Java heap size

-Xss set java thread stack size

-XX:MaxPermSize sets the java PermGen size

set CATALINA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=128m -javaagent:lib/lucee-inst.jar

And this would give you the same defaults as the Tomcat Installers used to have.

IMPORTANT: you’ll want to make sure the lucee-inst.jar is in your [tomcat]/lib folder or Tomcat will not start with the above params.

Hope this helps.

Kind regards,
Jordan Michaels

----- Original Message -----
From: “Julian Halliwell” <@Julian_Halliwell>
To: lucee@googlegroups.com
Sent: Thursday, February 5, 2015 4:13:23 AM
Subject: Re: [Lucee] moving over from Railo

Forgive the ignorance but were would I set JVM memory and other args in the
Express install?

On Windows I can’t see any setenv.sh file anywhere (that would be for nix
anyway, no?)

On Railo and my migrated Lucee install, I use(d) the tomcat service control.

Cheers

On Tuesday, 3 February 2015 08:31:12 UTC, Mark Drew wrote:

Compared to the installer? Yes.

You should still change how much memory your app requires on the tomcat
setenv.sh

MD
On Tue, 3 Feb 2015 at 08:28, <mail...@gmail.com <javascript:>> wrote:

great so if I have nginx in front that does the reverse proxy and monit
to start stop and monitor the express is fine as far as performance number
of connections etc?

On Tuesday, February 3, 2015 at 10:23:52 AM UTC+2, Micha wrote:

Yeah, that is exactly the point, you have in both cases Tomcat …, the
installer simply add it as a service and connects it with a webserver.

Micha

On Tue, Feb 3, 2015 at 9:17 AM, Mark Drew mark...@gmail.com wrote:

Express doesn’t install itself as a service. That’s it as far as I know.

On 3 Feb 2015, at 05:34, mail...@gmail.com wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the

*recommended trend,

What are the disadvantages of use express version (plain catalina)
rather than full blown tomcat?
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/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com
https://groups.google.com/d/msgid/lucee/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


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/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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.
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/3b7e0e54-a290-41f0-9a77-d55c1a02de10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Forgive the ignorance but were would I set JVM memory and other args in the
Express install?

On Windows I can’t see any setenv.sh file anywhere (that would be for nix
anyway, no?)

On Railo and my migrated Lucee install, I use(d) the tomcat service control.

CheersOn Tuesday, 3 February 2015 08:31:12 UTC, Mark Drew wrote:

Compared to the installer? Yes.

You should still change how much memory your app requires on the tomcat
setenv.sh

MD
On Tue, 3 Feb 2015 at 08:28, <mail...@gmail.com <javascript:>> wrote:

great so if I have nginx in front that does the reverse proxy and monit
to start stop and monitor the express is fine as far as performance number
of connections etc?

On Tuesday, February 3, 2015 at 10:23:52 AM UTC+2, Micha wrote:

Yeah, that is exactly the point, you have in both cases Tomcat …, the
installer simply add it as a service and connects it with a webserver.

Micha

On Tue, Feb 3, 2015 at 9:17 AM, Mark Drew mark...@gmail.com wrote:

Express doesn’t install itself as a service. That’s it as far as I know.

On 3 Feb 2015, at 05:34, mail...@gmail.com wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the

*recommended trend,

What are the disadvantages of use express version (plain catalina)
rather than full blown tomcat?
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/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com
https://groups.google.com/d/msgid/lucee/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


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/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Very helpful, Jordan, thanks.On 5 February 2015 at 21:30, Jordan Michaels <@Jordan_Michaels> wrote:

basically just create a new setenv.bat file

If you’re using Windows you’ll need to look at the .bat files in the current express build. The .bat files are the Windows equivalent for Linux’s .sh files. Note that the catalina.bat file looks for a setenv.bat file for it’s parameters, just as the catalina.sh file looks for setenv.sh file.

So, basically just create a new setenv.bat file and add the following:----------------------

Tomcat memory settings

-Xms set initial Java heap size

-Xmx set maximum Java heap size

-Xss set java thread stack size

-XX:MaxPermSize sets the java PermGen size

set CATALINA_OPTS=-Xms256m -Xmx512m -XX:MaxPermSize=128m -javaagent:lib/lucee-inst.jar

And this would give you the same defaults as the Tomcat Installers used to have.

IMPORTANT: you’ll want to make sure the lucee-inst.jar is in your [tomcat]/lib folder or Tomcat will not start with the above params.

Hope this helps.

Kind regards,
Jordan Michaels

----- Original Message -----
From: “Julian Halliwell” <@Julian_Halliwell>
To: lucee@googlegroups.com
Sent: Thursday, February 5, 2015 4:13:23 AM
Subject: Re: [Lucee] moving over from Railo

Forgive the ignorance but were would I set JVM memory and other args in the
Express install?

On Windows I can’t see any setenv.sh file anywhere (that would be for nix
anyway, no?)

On Railo and my migrated Lucee install, I use(d) the tomcat service control.

Cheers

On Tuesday, 3 February 2015 08:31:12 UTC, Mark Drew wrote:

Compared to the installer? Yes.

You should still change how much memory your app requires on the tomcat
setenv.sh

MD
On Tue, 3 Feb 2015 at 08:28, <mail...@gmail.com <javascript:>> wrote:

great so if I have nginx in front that does the reverse proxy and monit
to start stop and monitor the express is fine as far as performance number
of connections etc?

On Tuesday, February 3, 2015 at 10:23:52 AM UTC+2, Micha wrote:

Yeah, that is exactly the point, you have in both cases Tomcat …, the
installer simply add it as a service and connects it with a webserver.

Micha

On Tue, Feb 3, 2015 at 9:17 AM, Mark Drew mark...@gmail.com wrote:

Express doesn’t install itself as a service. That’s it as far as I know.

On 3 Feb 2015, at 05:34, mail...@gmail.com wrote:

Hi All, we are looking to migrate from Railo to Lucee since this is the

*recommended trend,

What are the disadvantages of use express version (plain catalina)
rather than full blown tomcat?
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/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com
https://groups.google.com/d/msgid/lucee/81A919FC-A7CD-4411-BE19-FF67B895B852%40gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


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/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/e0093818-9163-4d29-9dac-b1a7dc28450a%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


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.
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/3b7e0e54-a290-41f0-9a77-d55c1a02de10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.