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>
>> .
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/3b7e0e54-a290-41f0-9a77-d55c1a02de10%40googlegroups.com.