Some .cfm pages intermittently losing application?

194 views
Skip to first unread message

Jonathan Brookins

unread,
Feb 3, 2015, 2:50:32 PM2/3/15
to lu...@googlegroups.com
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?

Jonathan van Zuijlekom

unread,
Feb 4, 2015, 9:18:40 AM2/4/15
to lu...@googlegroups.com
Haven't had this problem (yet). Try to make a small example project to reproduce and file a bug report.

Michael Offner

unread,
Feb 4, 2015, 10:53:58 AM2/4/15
to lucee
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.
For more options, visit https://groups.google.com/d/optout.

Jonathan Brookins

unread,
Feb 4, 2015, 11:06:04 AM2/4/15
to lu...@googlegroups.com
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.

Jason Brookins

unread,
Feb 4, 2015, 4:48:21 PM2/4/15
to lu...@googlegroups.com
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


Jonathan Brookins

unread,
Feb 4, 2015, 5:12:33 PM2/4/15
to lu...@googlegroups.com
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.

Alex Skinner

unread,
Feb 4, 2015, 5:30:18 PM2/4/15
to lu...@googlegroups.com
Glad to hear that it was something that makes sense.

Alex

On 4 February 2015 at 22:12, Jonathan Brookins <jon.br...@gmail.com> 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+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.

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: in...@pixl8.co.uk




Follow us on: Facebook Twitter LinkedIn



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

Michael Offner

unread,
Feb 4, 2015, 7:38:09 PM2/4/15
to lucee
next round is on you ;-)

Micha

Brian Davidson

unread,
Feb 5, 2015, 8:08:10 AM2/5/15
to lu...@googlegroups.com
Ha!  I've done this recently as well. Embarrassing and then...funny.

Christian Meis

unread,
Feb 6, 2015, 3:41:13 PM2/6/15
to lu...@googlegroups.com
Good to hear I'm not alone with that.
Was hunting for almost the same problem yesterday 😄

Christian

Jonathan Brookins

unread,
Feb 6, 2015, 8:15:55 PM2/6/15
to lu...@googlegroups.com
Not my finest hour, needless to say... :D

Reply all
Reply to author
Forward
0 new messages