Some .cfm pages intermittently losing application?

I’m testing our code on Lucee after migrating, but now I’m seeing something
strange. Some pages just seem to forget the application scope, or at least
an application scope variable. If you just refresh the page it works as it
should, but this is concerning.

Has anyone else seen anything similar?

Haven’t had this problem (yet). Try to make a small example project to
reproduce and file a bug report.On Tuesday, February 3, 2015 at 8:50:32 PM UTC+1, Jonathan Brookins wrote:

I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.

Has anyone else seen anything similar?

My fault, everyone. I just noticed that the application timeout was set to
one second. I think I did that somewhere to test something and forgot to
set it back. Yes, I am am idiot, sorry for wasting everyone’s time on this.

do you set the application context name dynamicly?

MichaOn Tue, Feb 3, 2015 at 8:50 PM, Jonathan Brookins <@Jonathan_Brookins> wrote:

I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.

Has anyone else seen anything similar?


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/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

Glad to hear that it was something that makes sense.

AlexOn 4 February 2015 at 22:12, Jonathan Brookins <@Jonathan_Brookins> wrote:

My fault, everyone. I just noticed that the application timeout was set
to one second. I think I did that somewhere to test something and forgot
to set it back. Yes, I am am idiot, sorry for wasting everyone’s time on
this.


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/1a4ad926-46c8-49df-882e-0d34124e9618%40googlegroups.com
https://groups.google.com/d/msgid/lucee/1a4ad926-46c8-49df-882e-0d34124e9618%40googlegroups.com?utm_medium=email&utm_source=footer
.

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


Alex Skinner
Managing Director

Pixl8 Interactive, 3 Tun Yard, Peardon Street, London
SW8 3HT, United Kingdom

T: +44 [0] 845 260 0726* W: www.pixl8.co.uk* E: info@pixl8.co.uk

Follow us on: Facebook http://www.facebook.com/pixl8 Twitter
http://www.twitter.com/pixl8 LinkedIn http://www.linkedin.com/pixl8

CONFIDENTIAL AND PRIVILEGED - This e-mail and any attachment is intended
solely for the addressee, is strictly confidential and may also be subject
to legal, professional or other privilege or may be protected by work
product immunity or other legal rules. If you are not the addressee please
do not read, print, re-transmit, store or act in reliance on it or any
attachments. Instead, please email it back to the sender and then
immediately permanently delete it. Pixl8 Interactive Ltd Registered in
England. Registered number: 04336501. Registered office: 8 Spur Road,
Cosham, Portsmouth, Hampshire, PO6 3EB

If it helps, Micha, here is the stack trace from an occurrence of the
missing application scope key and the relevant code from the
Application.cfc:

this.name = “lucee__master__version_1_0_0”

if ( !structKeyExists(application, “Factory”) ) {
application.Factory = new com.Factory();
}

key [Factory] doesn’t exist (existing keys:)
at lucee.commons.collection.AbstractMapPro.invalidKey(Unknown Source):-1
at
lucee.commons.collection.concurrent.ConcurrentHashMapPro$Segment.getE(Unknown
Source):-1
at lucee.commons.collection.concurrent.ConcurrentHashMapPro.g(Unknown
Source):-1
at lucee.runtime.type.StructImpl.get(Unknown Source):-1
at
base_cfc$cf.udfCall(/Users/xxxxxxxxxx/Documents/workspace/code/com/Base.cfc:47):47
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.type.scope.UndefinedImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at
base_cfc$cf.udfCall(/Users/xxxxxxxx/Documents/workspace/code/com/Base.cfc:34):34
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at
code270.admin.update_registrant_cfm$cf.call(/Users/xxxxxxx/Documents/workspace/code/admin/update_registrant.cfm:298):298
at
lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.listener.ModernAppListener._onRequest(Unknown
Source):-1
at lucee.runtime.listener.ModernAppListener.onRequest(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1
at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790):790
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738):738
at

org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551):551
at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143):143
at

org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568):568
at

org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221):221
at

org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111):1111
at

org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478):478
at

org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183):183
at

org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045):1045
at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141):141
at

org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199):199
at

org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109):109
at

org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97):97
at
org.eclipse.jetty.server.Server.handle(Server.java:462):462
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279):279
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232):232
at

org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534):534
at

org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607):607
at

org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536):536
at
java.lang.Thread.run(Thread.java:745):745On Wednesday, February 4, 2015 at 11:06:04 AM UTC-5, Jonathan Brookins wrote:

No, the app name is set statically. I’m trying to reproduce it
consistently but so far no luck. I’ll try some more tests and update this
thread if I find anything concrete.

On Wednesday, February 4, 2015 at 10:53:58 AM UTC-5, Micha wrote:

do you set the application context name dynamicly?

Micha

On Tue, Feb 3, 2015 at 8:50 PM, Jonathan Brookins jon.br...@gmail.com wrote:

I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.

Has anyone else seen anything similar?


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/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

No, the app name is set statically. I’m trying to reproduce it
consistently but so far no luck. I’ll try some more tests and update this
thread if I find anything concrete.On Wednesday, February 4, 2015 at 10:53:58 AM UTC-5, Micha wrote:

do you set the application context name dynamicly?

Micha

On Tue, Feb 3, 2015 at 8:50 PM, Jonathan Brookins <jon.br...@gmail.com <javascript:>> wrote:

I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.

Has anyone else seen anything similar?


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/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

next round is on you :wink:

MichaOn Wed, Feb 4, 2015 at 10:48 PM, Jason Brookins <@Jason_Brookins> wrote:

If it helps, Micha, here is the stack trace from an occurrence of the
missing application scope key and the relevant code from the
Application.cfc:

this.name = “lucee__master__version_1_0_0”

if ( !structKeyExists(application, “Factory”) ) {
application.Factory = new com.Factory();
}

key [Factory] doesn’t exist (existing keys:)
at lucee.commons.collection.AbstractMapPro.invalidKey(Unknown Source):-1
at

lucee.commons.collection.concurrent.ConcurrentHashMapPro$Segment.getE(Unknown
Source):-1
at lucee.commons.collection.concurrent.ConcurrentHashMapPro.g(Unknown
Source):-1
at lucee.runtime.type.StructImpl.get(Unknown Source):-1
at

base_cfc$cf.udfCall(/Users/xxxxxxxxxx/Documents/workspace/code/com/Base.cfc:47):47
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.type.scope.UndefinedImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at

base_cfc$cf.udfCall(/Users/xxxxxxxx/Documents/workspace/code/com/Base.cfc:34):34
at
lucee.runtime.type.UDFImpl.implementation(Unknown Source):-1
at lucee.runtime.type.UDFImpl._call(Unknown Source):-1
at lucee.runtime.type.UDFImpl.call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl._call(Unknown Source):-1
at lucee.runtime.ComponentImpl.call(Unknown Source):-1
at
lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(Unknown
Source):-1
at lucee.runtime.PageContextImpl.getFunction(Unknown Source):-1
at

code270.admin.update_registrant_cfm$cf.call(/Users/xxxxxxx/Documents/workspace/code/admin/update_registrant.cfm:298):298
at
lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.PageContextImpl.doInclude(Unknown Source):-1
at lucee.runtime.listener.ModernAppListener._onRequest(Unknown
Source):-1
at lucee.runtime.listener.ModernAppListener.onRequest(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.PageContextImpl.execute(Unknown Source):-1
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(Unknown Source):-1
at lucee.loader.servlet.CFMLServlet.service(Unknown Source):-1
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790):790
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:738):738
at

org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:551):551
at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143):143
at

org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568):568
at

org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221):221
at

org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111):1111
at

org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:478):478
at

org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183):183
at

org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045):1045
at

org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141):141
at

org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199):199
at

org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109):109
at

org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97):97
at
org.eclipse.jetty.server.Server.handle(Server.java:462):462
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:279):279
at

org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232):232
at

org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534):534
at

org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607):607
at

org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536):536
at
java.lang.Thread.run(Thread.java:745):745

On Wednesday, February 4, 2015 at 11:06:04 AM UTC-5, Jonathan Brookins wrote:

No, the app name is set statically. I’m trying to reproduce it
consistently but so far no luck. I’ll try some more tests and update this
thread if I find anything concrete.

On Wednesday, February 4, 2015 at 10:53:58 AM UTC-5, Micha wrote:

do you set the application context name dynamicly?

Micha

On Tue, Feb 3, 2015 at 8:50 PM, Jonathan Brookins jon.br...@gmail.com wrote:

I’m testing our code on Lucee after migrating, but now I’m seeing
something strange. Some pages just seem to forget the application scope,
or at least an application scope variable. If you just refresh the page it
works as it should, but this is concerning.

Has anyone else seen anything similar?


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/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com
https://groups.google.com/d/msgid/lucee/410a121e-a32a-48ac-988a-ae60357d1cf2%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/f81722da-f6ab-4add-9c40-5e1162730535%40googlegroups.com
https://groups.google.com/d/msgid/lucee/f81722da-f6ab-4add-9c40-5e1162730535%40googlegroups.com?utm_medium=email&utm_source=footer
.

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

Ha! I’ve done this recently as well. Embarrassing and then…funny.On Wednesday, February 4, 2015 at 5:12:33 PM UTC-5, Jonathan Brookins wrote:

My fault, everyone. I just noticed that the application timeout was set
to one second. I think I did that somewhere to test something and forgot
to set it back. Yes, I am am idiot, sorry for wasting everyone’s time on
this.

Good to hear I’m not alone with that.
Was hunting for almost the same problem yesterday :smile:

Christian

Not my finest hour, needless to say… :smiley: