deanlaw / cfcgenerator

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

Inital Startup Error when getting Datasources #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using Coldfusion 8 enterprise on Mac OS X I tend to get the following error
whenever I start Illudium. Any ideas? Is Enterprise supported?

"Unable to invoke CFC - The value returned from the getDatasource function
is not of type cfcgenerator.com.cf.model.datasource.datasource."

This seems to be an issue related to getDatasources as flex does not seem
to be able to get the names to populate within the datasources list. I've
confirmed that the datasource list is getting created on the back end. Just
not sure what is going on afterwards.

Thanks,
-Pat
patweb99@gmail.com

Original issue reported on code.google.com by patwe...@gmail.com on 26 Jan 2009 at 3:48

GoogleCodeExporter commented 9 years ago
Yes it is supported. It sounds like a pathing issue. Is cfcgenerator set as a
mapping? Is use-mappings set to true? See the readme file for details.

Original comment by brian.ri...@gmail.com on 26 Jan 2009 at 3:52

GoogleCodeExporter commented 9 years ago
Yup I do.

I have a hard cfcgenerator mapping in cfadmin and the following within the cf 
flex
config:

<destination id="ColdFusion">
        <channels>
            <channel ref="my-cfamf"/>
        </channels>
        <properties>
            <source>*</source>
            <!-- define the resolution rules and access level of the cfc being
invoked -->
            <access>
                <!-- Use the ColdFusion mappings to find CFCs, by default only CFC
files under your webroot can be found. -->
                <use-mappings>true</use-mappings>
                <!-- allow "public and remote" or just "remote" methods to be invoked -->
                <method-access-level>remote</method-access-level>
            </access>

            <property-case>
                <!-- cfc property names -->
                <force-cfc-lowercase>true</force-cfc-lowercase>
                <!-- Query column names -->
                <force-query-lowercase>true</force-query-lowercase>
                <!-- struct keys -->
                <force-struct-lowercase>true</force-struct-lowercase>
            </property-case>
        </properties>
    </destination>

Original comment by patwe...@gmail.com on 26 Jan 2009 at 5:19

GoogleCodeExporter commented 9 years ago
I would suggest maybe Illudium isn't installed in the right directory (i.e. 
it's not in the correctly named sub-dir of the web root).
Try setting logging to debug at the bottom of the services-config.xml and open 
a new bug with the logging output, if this still occurs.

Original comment by tom.chiv...@gmail.com on 28 Oct 2010 at 8:57