moving over from Railo

223 views
Skip to first unread message

mail...@gmail.com

unread,
Feb 3, 2015, 12:34:59 AM2/3/15
to lu...@googlegroups.com
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


Mark Drew

unread,
Feb 3, 2015, 3:17:24 AM2/3/15
to lu...@googlegroups.com
Express doesn't install itself as a service. That's it as far as I know. 

Mark Drew
--
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.
For more options, visit https://groups.google.com/d/optout.

Michael Offner

unread,
Feb 3, 2015, 3:23:52 AM2/3/15
to lucee
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

mail...@gmail.com

unread,
Feb 3, 2015, 3:28:05 AM2/3/15
to lu...@googlegroups.com
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?

Mark Drew

unread,
Feb 3, 2015, 3:31:12 AM2/3/15
to lu...@googlegroups.com
Compared to the installer? Yes.

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

MD

denstar

unread,
Feb 3, 2015, 3:46:13 AM2/3/15
to lu...@googlegroups.com
On 02/03/2015 01:28 AM, mail...@gmail.com 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?

I'm thinking we should rename "express" to "standard" so it's clear that
there's nothing less "productiony" (technical term) about it.

:Den

mail...@gmail.com

unread,
Feb 3, 2015, 3:49:39 AM2/3/15
to lu...@googlegroups.com
I agree, I remeber early days of railo express was resin and production was tomcat or something of the sort...

Mark Drew

unread,
Feb 3, 2015, 4:19:31 AM2/3/15
to lu...@googlegroups.com
Jetty and Resin if I recall correctly. 

MD 

--
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.

Julian Halliwell

unread,
Feb 5, 2015, 7:13:23 AM2/5/15
to lu...@googlegroups.com
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> 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.

Jordan Michaels

unread,
Feb 5, 2015, 4:30:20 PM2/5/15
to lu...@googlegroups.com
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<size> set initial Java heap size
# -Xmx<size> set maximum Java heap size
# -Xss<size> 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" <julianh...@gmail.com>
To: lu...@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+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/3b7e0e54-a290-41f0-9a77-d55c1a02de10%40googlegroups.com.

Jordan Michaels

unread,
Feb 5, 2015, 4:33:49 PM2/5/15
to lu...@googlegroups.com
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<size> set initial Java heap size
REM -Xmx<size> set maximum Java heap size
REM -Xss<size> 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<size> set initial Java heap size
:: -Xmx<size> set maximum Java heap size
:: -Xss<size> 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

Julian Halliwell

unread,
Feb 5, 2015, 4:40:24 PM2/5/15
to lu...@googlegroups.com
Very helpful, Jordan, thanks.
Reply all
Reply to author
Forward
0 new messages