deanlaw / cfcgenerator

Automatically exported from code.google.com/p/cfcgenerator
8 stars 6 forks source link

error on cfgenerator first opening #66

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. unpack content of cfcgenerator_build_13_2008-12-02.zip
2. put the content in the webroot
3. open the cfcgenerator whith browser 

What is the expected output? What do you see instead?
I expect the browser displays the index.cfm page, but it diplays an error
page instead. The error is the follow:

Could not find the ColdFusion Component
cfcgenerator.com.cf.model.generatorService.
The error occurred in C:\ms4w\apps\cfcgenerator\Application.cfm: line 6

6 :     <cfset application.generatorService =
createObject("component","cfcgenerator.com.cf.model.generatorService").init(xslB
asePath)
/>

Stack Trace
at
cfApplication2ecfm1332396558.runPage(C:\ms4w\apps\cfcgenerator\Application.cfm:6
)

coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the
ColdFusion Component cfcgenerator.com.cf.model.generatorService.
    at
coldfusion.runtime.TemplateProxyFactory.getResolvedFile(TemplateProxyFactory.jav
a:531)
    at
coldfusion.runtime.TemplateProxyFactory.resolveName(TemplateProxyFactory.java:62
6)
    at coldfusion.runtime.CFPage.createObject(CFPage.java:5708)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5677)
    at coldfusion.runtime.CFPage.CreateObject(CFPage.java:5642)
    at
cfApplication2ecfm1332396558.runPage(C:\ms4w\apps\cfcgenerator\Application.cfm:6
)
    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:172)
    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(ClientScopePersistenceFilt
er.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)

What version of the product are you using? On what operating system?
I'm using cf 7.0.2,on a windows 2003 server 

Please provide any additional information below.

Original issue reported on code.google.com by candidec...@hotmail.it on 7 Jul 2009 at 1:17

GoogleCodeExporter commented 9 years ago
This is caused by one of two issues (discussed in the readme.txt with 
installation
instructions): 1) you do not have a mapping to cfcgenerator (or have the 
cfcgenerator
folder under the root so that the path to the components should be 
cfcgenerator.*
from the root); 2) you have not enabled Flex remoting to use ColdFusion 
mappings (see
instructions in readme).

Original comment by brian.ri...@gmail.com on 7 Jul 2009 at 1:24

GoogleCodeExporter commented 9 years ago
Thanks for your reply :-)
Please excuse my inexperience... I follow th installation instruction putting 
the
folder in the web root and verify Flex remoting in my cf server. But please 
explain
me what mean 'the path to the components should be cfcgenerator.* from the 
root'. May
it be the problem. 

However, I restarted cfcgenerator and now index.cfm appear! but it show an 
alert (not
a page error) whith a new error 'Could not find the ColdFusion Component
cfcgenerator.com.cf.model.generatorRemote'. 

May you help me?

Original comment by candidec...@hotmail.it on 7 Jul 2009 at 2:16

GoogleCodeExporter commented 9 years ago
Did you add a mapping to cfcgenerator?

Original comment by brian.ri...@gmail.com on 7 Jul 2009 at 2:27

GoogleCodeExporter commented 9 years ago
No, I did'nt. I also look for the createobject istruction that call the 
component
generatorRemote, but i don't find it... it's possible? 

Original comment by candidec...@hotmail.it on 8 Jul 2009 at 8:34

GoogleCodeExporter commented 9 years ago
The components are called from within Flex not CF. You need to create the 
mapping and
modify your services-config.xml to allow Flex to use mappings. See the 
readme.txt for
the instructions.

Original comment by brian.ri...@gmail.com on 8 Jul 2009 at 11:15