I am trying to move a plum application to another server. Initially I was 
getting an error that stated the application.stylesheetAPI could not be found. 
I saw that another user had the same error show up, but I could not find the 
solution online. I have checked my mapping and my diskpath with my hosting 
company and they say they are correct. I thought it was caching the application 
variables, so I changed the timeout on that and then tried it again. The first 
time I tried to hit the page I received the error that the 
applicationl.stylesheetAPI was undefined and then I hit refresh and received 
the following error. Does anyone have any ideas?
Thanks in advance,
Scott Adams



Cannot declare local variable CFCATCH twice. 
Local variables cannot have the same names as parameters or other local 
variables. 

The error occurred in D:\home\hnt24a180\Global.cfm: line 33
Called from D:\home\hnt24a180\Global.cfm: line 17
Called from D:\home\hnt24a180\Global.cfm: line 16
Called from D:\home\hnt24a180\Global.cfm: line 1
Called from D:\home\hnt24a180\Global.cfm: line 1
Called from D:\home\hnt24a180\Application.cfm: line 15

31 :           Application.SampleData = 
CreateObject("component","#Application.components#.SampleData");
32 :           Application.Security = 
CreateObject("component","#Application.components#.Security");
33 :           Application.StylesheetAPI = 
CreateObject("component","#Application.components#.StylesheetAPI");
34 :           Application.Utilities = 
CreateObject("component","#Application.components#.Utilities");
35 :           Application.Verity = 
CreateObject("component","#Application.components#.Verity");



--------------------------------------------------------------------------------

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/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322; 
.NET CLR 2.0.40607) 
Remote Address 12.226.78.235 
Referrer 
Date/Time 16-Nov-05 10:48 AM 

Stack Trace (click to expand) 
at cfGlobal2ecfm867341163._factor0(D:\home\hnt24a180\Global.cfm:33) at 
cfGlobal2ecfm867341163._factor1(D:\home\hnt24a180\Global.cfm:17) at 
cfGlobal2ecfm867341163._factor9(D:\home\hnt24a180\Global.cfm:16) at 
cfGlobal2ecfm867341163._factor12(D:\home\hnt24a180\Global.cfm:1) at 
cfGlobal2ecfm867341163.runPage(D:\home\hnt24a180\Global.cfm:1) at 
cfApplication2ecfm25816639.runPage(D:\home\hnt24a180\Application.cfm:15) 


coldfusion.compiler.ASTvariableDefinition$CannotRedefineException: Cannot 
declare local variable CFCATCH twice.
     at 
coldfusion.compiler.SemanticAnalyzer.transform(SemanticAnalyzer.java:136)
     at coldfusion.compiler.Treewalker.postorder(Treewalker.java:84)
     at coldfusion.compiler.Treewalker.postorder(Treewalker.java:25)
     at coldfusion.compiler.Treewalker.postorder(Treewalker.java:25)
     at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:299)
     at coldfusion.compiler.NeoTranslator.translateJava(NeoTranslator.java:106)
     at 
coldfusion.runtime.TemplateClassLoader$1.fetch(TemplateClassLoader.java:282)
     at coldfusion.util.LruCache.get(LruCache.java:188)
     at 
coldfusion.runtime.TemplateClassLoader$TemplateCache.fetchSerial(TemplateClassLoader.java:223)
     at coldfusion.util.AbstractCache.fetch(AbstractCache.java:58)
     at coldfusion.util.SoftCache.get(SoftCache.java:81)
     at 
coldfusion.runtime.TemplateClassLoader.findClass(TemplateClassLoader.java:422)
     at 
coldfusion.runtime.RuntimeServiceImpl.getFile(RuntimeServiceImpl.java:662)
     at 
coldfusion.runtime.RuntimeServiceImpl.resolveTemplatePath(RuntimeServiceImpl.java:629)
     at 
coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.java:509)
     at 
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:617)
     at coldfusion.runtime.CFPage.createObject(CFPage.java:5707)
     at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5676)
     at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5641)
     at cfGlobal2ecfm867341163._factor0(D:\home\hnt24a180\Global.cfm:33)
     at cfGlobal2ecfm867341163._factor1(D:\home\hnt24a180\Global.cfm:17)
     at cfGlobal2ecfm867341163._factor9(D:\home\hnt24a180\Global.cfm:16)
     at cfGlobal2ecfm867341163._factor12(D:\home\hnt24a180\Global.cfm:1)
     at cfGlobal2ecfm867341163.runPage(D:\home\hnt24a180\Global.cfm:1)
     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
     at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)
     at cfApplication2ecfm25816639.runPage(D:\home\hnt24a180\Application.cfm:15)
     at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
     at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
     at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
     at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
     at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:157)
     at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
     at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
     at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
     at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
     at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
     at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
     at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
     at 
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
     at coldfusion.CfmServlet.service(CfmServlet.java:107)
     at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
     at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
     at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
     at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
     at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
     at 
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
     at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
     at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
     at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
     at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
        

**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************

Reply via email to