macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: Server Side Redirect Problem

Subject: Re: Server Side Redirect Problem
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Wed, 30 Jul 2008 02:46:14 -0700 (PDT)
Newsgroups: macromedia.coldfusion.advanced_techniques

On Jul 29, 4:10 pm, "sws" <webforumsu...@xxxxxxxxxxxxxx> wrote:
> This is a little strange.  I've got a server side redirect that works fine on
> my CF8 development server but throws an IllegalStateException when run at my
> host (hostmysite.com).
>
>  The error persists until I browse to the  target page manually.  Then the
> redirect works fine until I come back and try it again the next day.  Same
> problem, IllegalStateException until I browse to the target page.
>
>  It's almost like the server-side redirect is looking for a compiled class 
> file
> for the target page.  This class file must not exist in cache until I browse 
> to
> the page manually.  These compiled pages must then time-out at some point.
>
>  Anyone else experience this or have some insight on what is going on?
>
>  Here's the complete error messages I'm getting:
>
>  ROOT CAUSE:
>  java.lang.IllegalStateException
>         at jrun.servlet.JRunResponse.forwardReset(JRunResponse.java:116)
>         at
> jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatcher.java:549)
>         at 
> jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:203)
>         at coldfusion.runtime.NeoPageContext.forward(NeoPageContext.java:2049)
>         at coldfusion.runtime.NeoPageContext.forward(NeoPageContext.java:2036)
>         at sun.reflect.GeneratedMethodAccessor968.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
> a:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
>         at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
>         at
> cfApplication2ecfc557635011$funcONERROR.runFunction(C:\Websites\167338zd6\Applic
> ation.cfc:295)
>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
>         at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
>         at 
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
>         at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
>         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448)
>         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308)
>         at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74)
>         at 
> coldfusion.runtime.AppEventInvoker.onError(AppEventInvoker.java:367)
>         at 
> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:315)
>         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(ClientScopePersistenceFilt
> er.java:28)
>         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:175)
>         at 
> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
>         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
>         at com.seefusion.Filter.doFilter(Filter.java:49)
>         at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1471)
>         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
>         at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilte
> r.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)
>  </pre><br><pre>
>  javax.servlet.ServletException: ROOT CAUSE:
>  java.lang.IllegalStateException
>         at jrun.servlet.JRunResponse.forwardReset(JRunResponse.java:116)
>         at
> jrun.servlet.JRunRequestDispatcher.forwardInvoke(JRunRequestDispatcher.java:549)
>         at 
> jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java:203)
>         at coldfusion.runtime.NeoPageContext.forward(NeoPageContext.java:2049)
>         at coldfusion.runtime.NeoPageContext.forward(NeoPageContext.java:2036)
>         at sun.reflect.GeneratedMethodAccessor968.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
> a:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at coldfusion.runtime.StructBean.invoke(StructBean.java:511)
>         at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2300)
>         at
> cfApplication2ecfc557635011$funcONERROR.runFunction(C:\Websites\167338zd6\Applic
> ation.cfc:295)
>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418)
>         at
> coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
>         at 
> coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
>         at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277)
>         at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192)
>         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448)
>         at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308)
>         at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74)
>         at 
> coldfusion.runtime.AppEventInvoker.onError(AppEventInvoker.java:367)
>         at 
> coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:315)
>         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(ClientScopePersistenceFilt
> er.java:28)
>         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:175)
>         at 
> coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
>         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
>         at com.seefusion.Filter.doFilter(Filter.java:49)
>         at com.seefusion.SeeFusion.doFilter(SeeFusion.java:1471)
>         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
>         at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilte
> r.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)
>
>         at
> coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilte
> r.java:70)
>         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)

It is VERY HARD to say without the code and knowledge of what you are
trying to do, but it looks like you are attempting to use something
from client scope that is NOT defined yet...

<Prev in Thread] Current Thread [Next in Thread>