Server.cfc

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start up?–

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

Thanks Gert, Andrew and Micha.

I am pretty sure I have mentioned it before, but - Team Lucee Rock

To the Devatorium everybody!On Friday, 15 July 2016, Andrew Dixon <@Andrew_Dixon> wrote:

Bit more on what Gert has said from my conversation with Micha this
evening.

  1. The web.cfc goes in the following location
    /WEB-INF/lucee/context/Web.cfc
  2. There is currently no server.cfc, however it is in the works.
  3. The web.cfc gets run when the web context starts, so basically on
    server start, but could vary depending on your app server configuration.
  4. This feature is completely experimental, not deeply tested and could
    change, so use with caution.

Hope that is helpful.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 23:01, Gert Franz <@Gert_Franz <javascript:_e(%7B%7D,‘cvml’,’@Gert_Franz’);>> wrote:

Hi all,

The latest version of Lucee 5.0.1.024 contains a first implementation of
web.cfc and server.cfc. There are a few things that need to be said here:

  1.  It’s a hidden feature yet (well not really anymore J)
    
  2.  The server.cfc is loaded BEFORE all web contexts are loaded.
    

This means that there will no application or so be available. Only to fill
the server scope for instance or create files etc.

  1.  The web.cfc is called for each web context, when it starts. It
    

contains ONE method which will be onWebStart() so the cfc will look like
this:

component {

 public function onWebStart() {

       doSomething…

 }

}

HTH

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Switzerland

Email: @Gert_Franz <javascript:_e(%7B%7D,‘cvml’,’@Gert_Franz’);>
Skype: gert.franz

Phone Switzerland: +41 76 5680 231

Von: andrew@andrewdixon.co.uk
<javascript:_e(%7B%7D,‘cvml’,‘andrew@andrewdixon.co.uk’);> [mailto:
andrew@andrewdixon.co.uk
<javascript:_e(%7B%7D,‘cvml’,‘andrew@andrewdixon.co.uk’);>] *Im Auftrag
von *Andrew Dixon
Gesendet: Donnerstag, 14. Juli 2016 22:34
An: lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>
Betreff: Re: [Lucee] server.cfc

I’ll ask Micha.

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 21:16, Nando Breiter <@Nando_Breiter <javascript:_e(%7B%7D,‘cvml’,’@Nando_Breiter’);>> wrote:

Here’s my test Application.cfc, dropped into a subdirectory under the
webroot

component {

this.name = “rename”;

public void function onApplicationStart() {

systemOutput(‘onApplicationStart() called!’, true);

}

public void function onRequestStart() {

systemOutput(‘onRequestStart() called!’, true);

}

public void function onServerStart() {

systemOutput(‘onServerStart() called!’, true);

}

public void function onServerEnd() {

systemOutput(‘onServerEnd() called!’, true);

}

}

I’m seeing onApplicationStart() called! and onRequestStart() called!
testing on Lucee 5, but no sign at all of the the server start and stop log
entries in catalina.out.

Aria Media Sagl

+41 (0)76 303 4477 cell
skype: ariamedia

On Thu, Jul 14, 2016 at 8:51 PM, Andrew Dixon <@Andrew_Dixon <javascript:_e(%7B%7D,‘cvml’,’@Andrew_Dixon’);>> wrote:

Like I said, I’ve never used it but it is listed in the Javadoc’s for
Lucee:

http://javadoc.lucee.org/lucee/runtime/listener/ApplicationListener.html

and it says:

onServerStart()
this method will be called when a server starts

There is also onServerEnd:

onServerEnd()
this method will be called when the server shutdown correctly (no crashes)

I guess the only way to find out what it does is try it!!! :slight_smile:

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 19:42, ADK <@ADK <javascript:_e(%7B%7D,‘cvml’,’@ADK’);>> wrote:

but Application.cfc isn’t hit “on server start” so how would that work?

On Thursday, July 14, 2016 at 6:08:48 AM UTC-7, Andrew Dixon wrote:

Never used it, but given the name I would assume it is on server start
up, otherwise it is no different to onApplicationStart.

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 14:05, AJ Mercer <ajme...@gmail.com <javascript:_e(%7B%7D,‘cvml’,‘ajme…@gmail.com’);>> wrote:

does they fire wen Lucee starts up

or the first time the application is loaded?

I am something that fires when Luce Starts

On 14 July 2016 at 21:01, Andrew Dixon <andrew...@gmail.com <javascript:_e(%7B%7D,‘cvml’,‘andrew…@gmail.com’);>> wrote:

I don’t think so, what about using the OnServerStart in the
Application.cfc?

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 13:45, AJ Mercer <ajme...@gmail.com <javascript:_e(%7B%7D,‘cvml’,‘ajme…@gmail.com’);>> wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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:_e(%7B%7D,‘cvml’,‘lucee%2Bun…@googlegroups.com’);>.
To post to this group, send email to lu...@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lu…@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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:_e(%7B%7D,‘cvml’,‘lucee%2Bun…@googlegroups.com’);>.
To post to this group, send email to lu...@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lu…@googlegroups.com’);>.

To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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:_e(%7B%7D,‘cvml’,‘lucee%2Bun…@googlegroups.com’);>.
To post to this group, send email to lu...@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lu…@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.

To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijUtoCobWT6dWKeYVnZHRsz9Rp%2BKjcTX2o%3Ddo6MxJkSDUQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUtoCobWT6dWKeYVnZHRsz9Rp%2BKjcTX2o%3Ddo6MxJkSDUQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/005701d1de1b%24397e3230%24ac7a9690%24%40rasia.ch
https://groups.google.com/d/msgid/lucee/005701d1de1b%24397e3230%24ac7a9690%24%40rasia.ch?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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
<javascript:_e(%7B%7D,‘cvml’,‘lucee%2Bunsubscribe@googlegroups.com’);>.
To post to this group, send email to lucee@googlegroups.com
<javascript:_e(%7B%7D,‘cvml’,‘lucee@googlegroups.com’);>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/CAG1WijX0rR_nqosD%3D84%2BQ%3DrGKasLMPctT0%2BjJOyAZcz2Ei1rCA%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijX0rR_nqosD%3D84%2BQ%3DrGKasLMPctT0%2BjJOyAZcz2Ei1rCA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

I don’t think so, what about using the OnServerStart in the Application.cfc?

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 14 July 2016 at 13:45, AJ Mercer <@AJ_Mercer> wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

I’ll ask Micha.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 14 July 2016 at 21:16, Nando Breiter <@Nando_Breiter> wrote:

Here’s my test Application.cfc, dropped into a subdirectory under the
webroot

component {
this.name = “rename”;

public void function onApplicationStart() {
systemOutput(‘onApplicationStart() called!’, true);
}

public void function onRequestStart() {
systemOutput(‘onRequestStart() called!’, true);
}

public void function onServerStart() {
systemOutput(‘onServerStart() called!’, true);
}

public void function onServerEnd() {
systemOutput(‘onServerEnd() called!’, true);
}

}

I’m seeing onApplicationStart() called! and onRequestStart() called!
testing on Lucee 5, but no sign at all of the the server start and stop log
entries in catalina.out.

Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia

On Thu, Jul 14, 2016 at 8:51 PM, Andrew Dixon <@Andrew_Dixon> wrote:

Like I said, I’ve never used it but it is listed in the Javadoc’s for
Lucee:

http://javadoc.lucee.org/lucee/runtime/listener/ApplicationListener.html

and it says:

onServerStart()

this method will be called when a server starts

There is also onServerEnd:

onServerEnd()

this method will be called when the server shutdown correctly (no
crashes)

I guess the only way to find out what it does is try it!!! :slight_smile:

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 19:42, ADK <@ADK> wrote:

but Application.cfc isn’t hit “on server start” so how would that work?

On Thursday, July 14, 2016 at 6:08:48 AM UTC-7, Andrew Dixon wrote:

Never used it, but given the name I would assume it is on server start
up, otherwise it is no different to onApplicationStart.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 14:05, AJ Mercer ajme...@gmail.com wrote:

does they fire wen Lucee starts up
or the first time the application is loaded?

I am something that fires when Luce Starts

On 14 July 2016 at 21:01, Andrew Dixon andrew...@gmail.com wrote:

I don’t think so, what about using the OnServerStart in the
Application.cfc?

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 13:45, AJ Mercer ajme...@gmail.com wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications
start up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…


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/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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

Never used it, but given the name I would assume it is on server start up,
otherwise it is no different to onApplicationStart.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 14 July 2016 at 14:05, AJ Mercer <@AJ_Mercer> wrote:

does they fire wen Lucee starts up
or the first time the application is loaded?

I am something that fires when Luce Starts

On 14 July 2016 at 21:01, Andrew Dixon <@Andrew_Dixon> wrote:

I don’t think so, what about using the OnServerStart in the
Application.cfc?

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 13:45, AJ Mercer <@AJ_Mercer> wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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

Like I said, I’ve never used it but it is listed in the Javadoc’s for Lucee:

http://javadoc.lucee.org/lucee/runtime/listener/ApplicationListener.html

and it says:

onServerStart()

this method will be called when a server starts

There is also onServerEnd:

onServerEnd()

this method will be called when the server shutdown correctly (no crashes)

I guess the only way to find out what it does is try it!!! :slight_smile:

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.orgOn 14 July 2016 at 19:42, ADK <@ADK> wrote:

but Application.cfc isn’t hit “on server start” so how would that work?

On Thursday, July 14, 2016 at 6:08:48 AM UTC-7, Andrew Dixon wrote:

Never used it, but given the name I would assume it is on server start
up, otherwise it is no different to onApplicationStart.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 14:05, AJ Mercer ajme...@gmail.com wrote:

does they fire wen Lucee starts up
or the first time the application is loaded?

I am something that fires when Luce Starts

On 14 July 2016 at 21:01, Andrew Dixon andrew...@gmail.com wrote:

I don’t think so, what about using the OnServerStart in the
Application.cfc?

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 13:45, AJ Mercer ajme...@gmail.com wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start
up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…


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/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com?utm_medium=email&utm_source=footer
.

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

Small addition, the Web.cfc is also called when you restart a webcontext,
that means also a change in the admin can trigger a restart of a context
(this behaviour may change).

component {
public function onWebStart(required boolean reload) {
systemOutput(“susi sorglos”,true);
}
}

MichaOn Fri, Jul 15, 2016 at 1:49 AM, AJ Mercer <@AJ_Mercer> wrote:

Thanks Gert, Andrew and Micha.

I am pretty sure I have mentioned it before, but - Team Lucee Rock

To the Devatorium everybody!

On Friday, 15 July 2016, Andrew Dixon <@Andrew_Dixon> wrote:

Bit more on what Gert has said from my conversation with Micha this
evening.

  1. The web.cfc goes in the following location
    /WEB-INF/lucee/context/Web.cfc
  2. There is currently no server.cfc, however it is in the works.
  3. The web.cfc gets run when the web context starts, so basically on
    server start, but could vary depending on your app server configuration.
  4. This feature is completely experimental, not deeply tested and could
    change, so use with caution.

Hope that is helpful.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 23:01, Gert Franz <@Gert_Franz> wrote:

Hi all,

The latest version of Lucee 5.0.1.024 contains a first implementation of
web.cfc and server.cfc. There are a few things that need to be said here:

  1.  It’s a hidden feature yet (well not really anymore J)
    
  2.  The server.cfc is loaded BEFORE all web contexts are loaded.
    

This means that there will no application or so be available. Only to fill
the server scope for instance or create files etc.

  1.  The web.cfc is called for each web context, when it starts. It
    

contains ONE method which will be onWebStart() so the cfc will look like
this:

component {

 public function onWebStart() {

       doSomething…

 }

}

HTH

Sincerely
Gert Franz

RASIA GmbH

Spittelgasse 7

5103 Moeriken-Wildegg

Switzerland

Email: @Gert_Franz
Skype: gert.franz

Phone Switzerland: +41 76 5680 231

Von: andrew@andrewdixon.co.uk [mailto:andrew@andrewdixon.co.uk] *Im
Auftrag von *Andrew Dixon
Gesendet: Donnerstag, 14. Juli 2016 22:34
An: lucee@googlegroups.com
Betreff: Re: [Lucee] server.cfc

I’ll ask Micha.

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 21:16, Nando Breiter <@Nando_Breiter> wrote:

Here’s my test Application.cfc, dropped into a subdirectory under the
webroot

component {

this.name = “rename”;

public void function onApplicationStart() {

systemOutput(‘onApplicationStart() called!’, true);

}

public void function onRequestStart() {

systemOutput(‘onRequestStart() called!’, true);

}

public void function onServerStart() {

systemOutput(‘onServerStart() called!’, true);

}

public void function onServerEnd() {

systemOutput(‘onServerEnd() called!’, true);

}

}

I’m seeing onApplicationStart() called! and onRequestStart() called!
testing on Lucee 5, but no sign at all of the the server start and stop log
entries in catalina.out.

Aria Media Sagl

+41 (0)76 303 4477 cell
skype: ariamedia

On Thu, Jul 14, 2016 at 8:51 PM, Andrew Dixon <@Andrew_Dixon> wrote:

Like I said, I’ve never used it but it is listed in the Javadoc’s for
Lucee:

http://javadoc.lucee.org/lucee/runtime/listener/ApplicationListener.html

and it says:

onServerStart()
this method will be called when a server starts

There is also onServerEnd:

onServerEnd()
this method will be called when the server shutdown correctly (no
crashes)

I guess the only way to find out what it does is try it!!! :slight_smile:

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 19:42, ADK <@ADK> wrote:

but Application.cfc isn’t hit “on server start” so how would that work?

On Thursday, July 14, 2016 at 6:08:48 AM UTC-7, Andrew Dixon wrote:

Never used it, but given the name I would assume it is on server start
up, otherwise it is no different to onApplicationStart.

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 14:05, AJ Mercer ajme...@gmail.com wrote:

does they fire wen Lucee starts up

or the first time the application is loaded?

I am something that fires when Luce Starts

On 14 July 2016 at 21:01, Andrew Dixon andrew...@gmail.com wrote:

I don’t think so, what about using the OnServerStart in the
Application.cfc?

Kind regards,

Andrew

about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member http://lucee.org

On 14 July 2016 at 13:45, AJ Mercer ajme...@gmail.com wrote:

Did server.cfc get implemented in Lucee?

Ff so, please point me to doco.

If not, how do people populate SERVER scope before applications start up?

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC0234Jmp_ScC2HNpZ-8N72f1RPBMit15tJ6Fbkm%2BZk7gg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUfvn6-WnHe_UQnAJStaQuqhXg4sAT68qeeuMKQGoLCsg%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC128%3Drdk-c8W6P5nKLEjW5LFvRsp3xfmtLxeCVM9_f7tg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com
https://groups.google.com/d/msgid/lucee/38ca627d-5c2f-4749-8c37-816ea6621f9a%40googlegroups.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijVUamS-Z_-B%2BuXJyBuu_UzB09mze-aGe9SvWJK1c5msbw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAGHrs%3D-Z6%2BbtTwM4u5UapA%2BLcR5ziqWc4b6-SX-g7Phfr%2B%3D5yQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijUtoCobWT6dWKeYVnZHRsz9Rp%2BKjcTX2o%3Ddo6MxJkSDUQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijUtoCobWT6dWKeYVnZHRsz9Rp%2BKjcTX2o%3Ddo6MxJkSDUQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/005701d1de1b%24397e3230%24ac7a9690%24%40rasia.ch
https://groups.google.com/d/msgid/lucee/005701d1de1b%24397e3230%24ac7a9690%24%40rasia.ch?utm_medium=email&utm_source=footer
.

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


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAG1WijX0rR_nqosD%3D84%2BQ%3DrGKasLMPctT0%2BjJOyAZcz2Ei1rCA%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG1WijX0rR_nqosD%3D84%2BQ%3DrGKasLMPctT0%2BjJOyAZcz2Ei1rCA%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix


Win a ticket to dev.objective from Lucee via Twitter, see
http://bit.ly/1UbTMWj for details, good luck and see you there…

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/CAPURtC2oaSfMm-_L%3DezCEZ7xq%2BO5ujCiuJAzSMN636_7AgOTuw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAPURtC2oaSfMm-_L%3DezCEZ7xq%2BO5ujCiuJAzSMN636_7AgOTuw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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

Actually, web.cfc fires when server started
but not on a lucee restart (from with in server admin)On 16 July 2016 at 11:40, AJ Mercer <@AJ_Mercer> wrote:

Is there a ticket or something to watch ( / vote) for server.cfc?

I have added web.cfc - that does not get fired until the web app is
access; which seems reasonable enough.

On 15 July 2016 at 06:28, Andrew Dixon <@Andrew_Dixon> wrote:

Bit more on what Gert has said from my conversation with Micha this
evening.

  1. The web.cfc goes in the following location
    /WEB-INF/lucee/context/Web.cfc
  2. There is currently no server.cfc, however it is in the works.
  3. The web.cfc gets run when the web context starts, so basically on
    server start, but could vary depending on your app server configuration.
  4. This feature is completely experimental, not deeply tested and could
    change, so use with caution.

Hope that is helpful.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member
http://lucee.org

AJ Mercer
<webonix:net strength=“Industrial” /> http://webonix.net | <webonix:org
community=“Open” /> http://webonix.org
http://twitter.com/webonix

Is there a ticket or something to watch ( / vote) for server.cfc?

I have added web.cfc - that does not get fired until the web app is access;
which seems reasonable enough.On 15 July 2016 at 06:28, Andrew Dixon <@Andrew_Dixon> wrote:

Bit more on what Gert has said from my conversation with Micha this
evening.

  1. The web.cfc goes in the following location
    /WEB-INF/lucee/context/Web.cfc
  2. There is currently no server.cfc, however it is in the works.
  3. The web.cfc gets run when the web context starts, so basically on
    server start, but could vary depending on your app server configuration.
  4. This feature is completely experimental, not deeply tested and could
    change, so use with caution.

Hope that is helpful.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon - mso http://www.mso.net - Lucee
Association Member
http://lucee.org