1 Reply Latest reply: Apr 28, 2012 3:52 PM by Aquitaine RSS

    Session ID reset when navigating to a directory

    Aquitaine Community Member

      Hi,

       

      Just installed CF10 on Win Server 2008 under IIS7. Everything is going smoothly with one exception: whenever I navigate to a URL that is a directory rather than a specific file, my whole session scope gets clobbered and I get a new session ID.

       

      If I navigate to a page in that directory, it works fine.

       

      This happens in all our applications and even if I comment out all our onRequestStart code (though we had nothing that should care about whether your URL is /test/ or /test/index.cfm).

       

      We are using J2EE session variables. This does not happen under CF8 (which is running in parallel with CF10, and the problem goes away if I switch the app back to being handled by CF8).

       

      Any suggestions?

        • 1. Re: Session ID reset when navigating to a directory
          Aquitaine Community Member

          I found this happens even when trying to access administrator via:

           

          /webroot/CFIDE/administrator/

           

          rather than

           

          /webroot/CFIDE/administrator/index.cfm

           

          The error CF returns is:

           

          javax/servlet/jsp/JspContext null <br>The error occurred on line -1.

           

          type: java.lang.ClassNotFoundException

           

          stack trace: java.lang.ClassNotFoundException: javax.servlet.jsp.JspContext at coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:153) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at coldfusion.runtime.TemplateClassLoader.newInstance(TemplateClassLoader.java:444) at coldfusion.tagext.lang.IncludeTag.setTemplate(IncludeTag.java:159) at coldfusion.tagext.lang.IncludeTag.setTemplatePath(IncludeTag.java:87) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:64) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:221) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.CfmServlet.service(CfmServlet.java:198) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 ) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)