gettingstarted.cfm to work

41 views
Skip to first unread message

daniel fredericks

unread,
Mar 9, 2014, 2:17:05 PM3/9/14
to cfmo...@googlegroups.com
Hey all,
so i am totally new to cfmongodb. I have downloaded it and put it in my webroot. Now i am trying to get the gettingstarted.cfm page working. 

I am on Railo 4+, and I was told where to put the jar files...i could not get the java Loader to work, so tried the jar files.

When I try to bring up the gettingstarted.cfm page, i get an error...so i decided to dump out the mongoConfig var, and I see a whole bunch of functions/objects but none of them have any results. So, this makes me think the mongoConfig object is not returning anything so that is why this page is not working. 

Can anyone give me some pointers on how to get this page to work with Railo 4+? Can you tell me where to put the jar files (and which ones), just so i can double check my setup...and/or let me know what I should see with the javaloader? do i need any mongo id and password, if it is on my local machine?

any help would be greatly appreciated....I tried to use the built in mongoDB plugin/extension for Railo and that was hard to get working as well, so cfmongodb seemed like a much better choice...

thanks
Dan

Marc Esher

unread,
Mar 11, 2014, 8:03:17 AM3/11/14
to cfmo...@googlegroups.com
Hey Dan,

The gettingstarted.cfm and all the other examples assume you have mongo running locally on the default port of 27017, which is not at all obvious nor is it documented

So, first step is to make sure you have mongo running at localhost:27017 without any authentication required (the default)

After that, make sure you have Extended Debugging enabled in CFAdmin, and then run gettingstarted.cfm. Let me know what errors you see.

Marc




--
You received this message because you are subscribed to the Google Groups "CFMongoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cfmongodb+...@googlegroups.com.
To post to this group, send email to cfmo...@googlegroups.com.
Visit this group at http://groups.google.com/group/cfmongodb.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages