Installed CF 9 and left all settings at default @ WindowsXP 32 bit with No Problems
Installed CF 9.0.1 and run very simple index.cfm with Application.cfc with:
xxxxxxx cut xxxxxxxxxxxxxxxxxx
this.sessionmanagement = true;
this.sessiontimeout = CreateTimeSpan( 0, 0, 1, 0 );
xxxxxxx / cut xxxxxxxxxxxxxxxxxx Results in:
java.lang.NullPointerException
Debugging Information
ColdFusion Server Developer9,0,1,274733
Template/walk/index.cfm
Time Stamp25-Nov-10 10:18 PM
LocaleEnglish (UK)
User AgentMozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.495.0 Safari/534.6
No top level page was found.
---------------------------------------------------------------------
Commenting out session vars gets rid of error
The session vars are enabled in CF Admin
BUT - trying to view log files in CF Admin produces this error below
====================================================================== ==
The requested scope session has not been enabled.
Before session variables can be used, the session state management system must be enabled using the cfapplication tag.
The error occurred in _searchloglogic.cfm: line 29
-1 : Unable to display error's location in a CFML template.
Resources:
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.6 (KHTML, like Gecko) Chrome/6.0.495.0 Safari/534.6
Remote Address 127.0.0.1
Referrer http://127.0.0.1/CFIDE/administrator/logging/index.cfm
Date/Time 25-Nov-10 10:31 PM
Stack Trace
at cf_searchloglogic2ecfm1272957748.runPage(E:\cf9_final\cfusion\wwwroot \CFIDE\administrator\logviewer\_searchloglogic.cfm:29) at cfsearchlog2ecfm333999345.runPage(E:\cf9_final\cfusion\wwwroot\CFIDE\ administrator\logviewer\searchlog.cfm:48)
coldfusion.runtime.NoOperScope$ScopeDisabledException: The requested scope session has not been enabled.
at coldfusion.runtime.NoOperScope.resolveName(NoOperScope.java:36)
at coldfusion.runtime.Scope.get(Scope.java:60)
at coldfusion.runtime.DotResolver.resolve(DotResolver.java:45)
at coldfusion.runtime.DotResolver.resolve(DotResolver.java:72)
at coldfusion.runtime.NeoPageContext.SymTab_resolveSplitName(NeoPageCont ext.java:1017)
at coldfusion.runtime.NeoPageContext.SymTab_resolveDottedName(NeoPageCon text.java:995)
at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:6 49)
at coldfusion.runtime.NeoPageContext.findAttribute(NeoPageContext.java:6 22)
at coldfusion.runtime.CfJspPage._checkParam(CfJspPage.java:2939)
at coldfusion.runtime.CfJspPage.checkSimpleParameter(CfJspPage.java:3012 )
at cf_searchloglogic2ecfm1272957748.runPage(E:\cf9_final\cfusion\wwwroot \CFIDE\administrator\logviewer\_searchloglogic.cfm:29)
===============================================================
Server Details
Server Product ColdFusion
Version 9,0,1,274733
EditionDeveloper
Operating System Windows XP
OS Version 5.1
Adobe Driver Version 4.0 (Build 0005)
Type COOKIE
Description Client based text file.
Purge data after time limit Yes
Time limit 10 days
Disable global updates No
Memory Variables
J2EE Sessions No
Application Variables
Enable Application VariablesYes
Default Timeout 1,0,0,0
Maximum Timeout 2,0,0,0
Session Variables
Enable session variables Yes
Default Timeout 0,0,1,0
Maximum Timeout 0,0,2,0
================================================
I have tweaked time out settings and set J2ee settings on/off and installed chf9000001 hotfix
Tried same on Windows 7 32 bit/64 bit
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
EDIT--- Ubuntu Server 64bit works
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have not seen this reported anywhere else.
The settings say session is enabled - even looked in neo-runtime.xml - very carefully
very discouraged ... must be dementia kicking in