404 errors

42 views
Skip to first unread message

spills

unread,
Apr 30, 2013, 1:49:21 PM4/30/13
to taffy...@googlegroups.com

My setup is CF 9.01 Enterprise running multiple instances (cfusion.war), IIS-7, Windows 2002.

I have setup a mapping to /taffy in the cf administrator with bonus and core folders.

I can get to the dashboard but none the resources show up. If I try to go to any URI I get a 404.

Does the web-xml need to be updated on mutli-instance configurations?

Thanks

Adam Tuttle

unread,
Apr 30, 2013, 1:56:51 PM4/30/13
to taffy...@googlegroups.com
I'm guessing there's a syntax error in your resource(s), preventing them from being loaded.

Say for example's sake that you've got your resources inside the web root and if they were CFM templates instead of CFC's you would access them at a url like:

http://api.example.com/resources/fooCollection.cfc

If you actually open up that CFC path, ColdFusion will attempt to load the "Component Explorer". If you get an error then that's what's wrong with your CFC. If you get your CFAdmin login page then there's nothing wrong with your resource CFC and there's probably something else wrong.

Adam

spills wrote:
--
You received this message because you are subscribed to the Google
Groups "Taffy Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to taffy-users...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

spills

unread,
Apr 30, 2013, 3:09:47 PM4/30/13
to taffy...@googlegroups.com
No error just 404, while attempting to look at the examples in latest release.

spills

unread,
Apr 30, 2013, 3:16:15 PM4/30/13
to taffy...@googlegroups.com
I can see the cfc's via the URL

taffy.-1.3.0.examples.api.resources.foo.artCollection

Component artCollection


Collection of art data


hierarchy: WEB-INF.cftags.component
      taffy.core.resource
            taffy.-1.3.0.examples.api.resources.foo.artCollection
path: <hidden>\CFTools\Taffy-1.3.0\examples\api\resources\foo\artCollection.cfc
serializable: Yes
properties:
methods: get, post
inherited methods: representationOf, saveLog
* - private method

get
public get ( required numeric artistId )

Get some collection of art data

Output: suppressed
Parameters:
   artistId: numeric, required, artistId

post
public post ( )

Insert a new art record

Output: suppressed
Reply all
Reply to author
Forward
0 new messages