PageContext from non-request thread

Hi,

I figured since everyone has moved to this group I’d ask here, can anyone
shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM

Hi, I’ve answered you there :wink:
Don’t know if it will help you…On Tuesday, March 17, 2015 at 4:44:40 PM UTC+1, Shane Curless wrote:

Hi,

I figured since everyone has moved to this group I’d ask here, can anyone
shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM

It’s funny I was just working on that wiki entry, but this part is still
missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

MichaAm Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can anyone
shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

Alternatively, if I recall, CLI “Requests” do not time out. Is there a way
of making a never-ending request from CFML code?
My theory is, that a request could be made, then force close the response
stream via getPageContext().getResponseStream().close() (I know this works,
I use it in several places when dealing with binary data such as the piped
output of ffmpeg, wkhtmltopdf etc.), leaving the request active from the
server side, but finished from the client’s point of view.On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is still
missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can anyone
shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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

RE: never ending request:

https://bitbucket.org/lucee/lucee/issue/222/setting-request-timeout-to-0-throws

This “fix” was released 4.5.1.007, which is a development channel release.

https://bitbucket.org/lucee/lucee/wiki/4.5.1.007%20-%20Release%20Notes

Kind regards,

Andrew
about.me http://about.me/andrew_dixon
mso http://www.mso.net - Lucee http://lucee.org - MemberOn 17 March 2015 at 22:20, Shane Curless <@Shane_Curless> wrote:

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

Alternatively, if I recall, CLI “Requests” do not time out. Is there a way
of making a never-ending request from CFML code?
My theory is, that a request could be made, then force close the response
stream via getPageContext().getResponseStream().close() (I know this works,
I use it in several places when dealing with binary data such as the piped
output of ffmpeg, wkhtmltopdf etc.), leaving the request active from the
server side, but finished from the client’s point of view.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is still
missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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

Between the lines

Micha

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there a way
of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the response
stream via getPageContext().getResponseStream().close() (I know this works,
I use it in several places when dealing with binary data such as the piped
output of ffmpeg, wkhtmltopdf etc.), leaving the request active from the
server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you no
longer have interaction with the servlet engine.Am Dienstag, 17. März 2015 schrieb Shane Curless :

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner <javascript:_e(%7B%7D,‘cvml’,’@Michael_Offner’);>> wrote:

It’s funny I was just working on that wiki entry, but this part is still
missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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
<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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

That is absolutely fantastic! I now have a solid reason to migrate my Railo
servers to Lucee :-)On Tuesday, March 31, 2015 at 3:18:22 PM UTC-4, Desmond Miles wrote:

Looks like you added the expected “When Lucee does not load your Java
code”
in the wiki :

Now we can see how to create a PageContext. Wonderful ! Thanks again :slight_smile:

On Wednesday, March 18, 2015 at 7:59:01 AM UTC+1, Micha wrote:

Between the lines

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there a
way of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the
response stream via getPageContext().getResponseStream().close() (I know
this works, I use it in several places when dealing with binary data such
as the piped output of ffmpeg, wkhtmltopdf etc.), leaving the request
active from the server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you no
longer have interaction with the servlet engine.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is
still missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Looks like you added the expected “When Lucee does not load your Java
code”
in the wiki :

Now we can see how to create a PageContext. Wonderful ! Thanks again :)On Wednesday, March 18, 2015 at 7:59:01 AM UTC+1, Micha wrote:

Between the lines

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there a
way of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the response
stream via getPageContext().getResponseStream().close() (I know this works,
I use it in several places when dealing with binary data such as the piped
output of ffmpeg, wkhtmltopdf etc.), leaving the request active from the
server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you no
longer have interaction with the servlet engine.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is still
missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Yeah I realised that… Any idea on an ETA? Or is there a branch I can
download now? Even looking at the source of that function could
be helpfulOn Thursday, 2 April 2015, Michael Offner <@Michael_Offner> wrote:

But this is only for Lucee 5, not Lucee 4.5…

Micha

On Tue, Mar 31, 2015 at 10:04 PM, Shane Curless <@Shane_Curless <javascript:_e(%7B%7D,‘cvml’,’@Shane_Curless’);>> wrote:

That is absolutely fantastic! I now have a solid reason to migrate my
Railo servers to Lucee :slight_smile:

On Tuesday, March 31, 2015 at 3:18:22 PM UTC-4, Desmond Miles wrote:

Looks like you added the expected “When Lucee does not load your Java
code”
in the wiki :

Now we can see how to create a PageContext. Wonderful ! Thanks again :slight_smile:

On Wednesday, March 18, 2015 at 7:59:01 AM UTC+1, Micha wrote:

Between the lines

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there a
way of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the
response stream via getPageContext().getResponseStream().close() (I
know this works, I use it in several places when dealing with binary data
such as the piped output of ffmpeg, wkhtmltopdf etc.), leaving the request
active from the server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you
no longer have interaction with the servlet engine.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is
still missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-
480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in
the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2
HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%
3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.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
<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/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/unsubscribe.
To unsubscribe from this group and all its topics, 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/CAG%2BEEBz2N5zjWGBstVHcL6vmJhdN8%2Bkd3poujhUa-Y-6XTG8Qw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBz2N5zjWGBstVHcL6vmJhdN8%2Bkd3poujhUa-Y-6XTG8Qw%40mail.gmail.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

But this is only for Lucee 5, not Lucee 4.5…

MichaOn Tue, Mar 31, 2015 at 10:04 PM, Shane Curless <@Shane_Curless> wrote:

That is absolutely fantastic! I now have a solid reason to migrate my
Railo servers to Lucee :slight_smile:

On Tuesday, March 31, 2015 at 3:18:22 PM UTC-4, Desmond Miles wrote:

Looks like you added the expected “When Lucee does not load your Java
code”
in the wiki :

Now we can see how to create a PageContext. Wonderful ! Thanks again :slight_smile:

On Wednesday, March 18, 2015 at 7:59:01 AM UTC+1, Micha wrote:

Between the lines

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hmm, is it at all possible to add such a feature to Lucee, that allows
functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there a
way of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the
response stream via getPageContext().getResponseStream().close() (I
know this works, I use it in several places when dealing with binary data
such as the piped output of ffmpeg, wkhtmltopdf etc.), leaving the request
active from the server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you
no longer have interaction with the servlet engine.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is
still missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/lucee/95gTUvVAdNc/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/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2
HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%
3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.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/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%40googlegroups.com?utm_medium=email&utm_source=footer
.

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

Hi Shane,

The beta for Lucee 5 will be available soon, next week or so, no date on a
final release yet. The source is not publicly available yet either.

Kind regards,

Andrew
about.me http://about.me/andrew_dixon
mso http://www.mso.net - Lucee http://lucee.org - MemberOn 2 April 2015 at 12:43, Shane Curless <@Shane_Curless> wrote:

Yeah I realised that… Any idea on an ETA? Or is there a branch I can
download now? Even looking at the source of that function could
be helpful

On Thursday, 2 April 2015, Michael Offner <@Michael_Offner> wrote:

But this is only for Lucee 5, not Lucee 4.5…

Micha

On Tue, Mar 31, 2015 at 10:04 PM, Shane Curless <@Shane_Curless> wrote:

That is absolutely fantastic! I now have a solid reason to migrate my
Railo servers to Lucee :slight_smile:

On Tuesday, March 31, 2015 at 3:18:22 PM UTC-4, Desmond Miles wrote:

Looks like you added the expected “When Lucee does not load your Java
code”
in the wiki :

Now we can see how to create a PageContext. Wonderful ! Thanks again :slight_smile:

On Wednesday, March 18, 2015 at 7:59:01 AM UTC+1, Micha wrote:

Between the lines

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hmm, is it at all possible to add such a feature to Lucee, that
allows functions to be called via the appScope object, without requiring a
PageContext?

I will extend the wiki entry with a example of how you can create a
pagecontext yourself

Alternatively, if I recall, CLI “Requests” do not time out. Is there
a way of making a never-ending request from CFML code?

Simply set cfset ting to a very high number

My theory is, that a request could be made, then force close the
response stream via getPageContext().getResponseStream().close() (I
know this works, I use it in several places when dealing with binary data
such as the piped output of ffmpeg, wkhtmltopdf etc.), leaving the request
active from the server side, but finished from the client’s point of view.

Creating a pagecontext only simulates the servlet environment, so you
no longer have interaction with the servlet engine.

On 17 March 2015 at 14:14, Michael Offner <@Michael_Offner> wrote:

It’s funny I was just working on that wiki entry, but this part is
still missing
https://bitbucket.org/lucee/lucee/wiki/Java_Using_Lucee_in_Java

I will fill in that gap and will then let you know …

Micha

Am Dienstag, 17. März 2015 schrieb Shane Curless :

Hi,

I figured since everyone has moved to this group I’d ask here, can
anyone shed some light on the issue discussed in this thread?

https://groups.google.com/forum/#!topic/railo/Fr0kZ7GwXuM


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/9420bab9-fb83-
480f-b3be-28160a7e17a9%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9420bab9-fb83-480f-b3be-28160a7e17a9%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 a topic in
the Google Groups “Lucee” group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/lucee/95gTUvVAdNc/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/CAG%
2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBzrcAxgiJSWaurrMG2U3tKTee2HHFnB_UHTLi5c3nBDtQ%40mail.gmail.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/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%
3DU3CnFTd3S4TuKQ%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke2KWCW_QDi4ZH%2BMgHx2%3DRYkm%2BLeHfw%3DU3CnFTd3S4TuKQ%40mail.gmail.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/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%40googlegroups.com
https://groups.google.com/d/msgid/lucee/bbe79c3f-3ccf-432d-8901-c90f4c747cb0%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 a topic in the
Google Groups “Lucee” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/lucee/95gTUvVAdNc/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/CAG%2BEEBz2N5zjWGBstVHcL6vmJhdN8%2Bkd3poujhUa-Y-6XTG8Qw%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBz2N5zjWGBstVHcL6vmJhdN8%2Bkd3poujhUa-Y-6XTG8Qw%40mail.gmail.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/CAE%2BNke0TqKMzzMchgoHTRBY-8%3DY%2Bkqcqu0PaSAdne7Hng_oXtg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAE%2BNke0TqKMzzMchgoHTRBY-8%3DY%2Bkqcqu0PaSAdne7Hng_oXtg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

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