May 5 2008

Enable RDS on ColdFusion 8

Posted by cheyennejack at 11:40 AM
6 comments
- Categories: ColdFusion

Share this: del.icio.us digg StumbleUpon Facebook Technorati Fav Mixx Spurl newsvine Furl reddit Yahoo! My Web Wists Simpy BlinkList BlogMarks smarking Ma.gnolia MSN Live Google Bookmarks Segnalo diigo excites Netvouz

I have recently been diving into Flex, and found that to work with the ColdFusion Wizards to get a jump start on some code generation, I needed to have my RDS password.  Not really remembering what I may have set this up as on my localhost, I simply went into the admin and changed it.  Still that didn't work. 

Turned out that even though I could change the password, apparently I did not have RDS enabled at all.  It would be nice if the ColdFusion Admin indicated this in some way, instead of making you think all is good letting you change your password.

In any case, I finally figured out that you need to edit your web.xml file, typically found at your [cf install]\wwwroot\WEB-INF.

1) Backup your web.xml
2) Search for RDS - You'll find a commented out XML block. Uncomment.
3) Search again - there are two places. Uncomment.
4) Restart your ColdFusion Services

Finally, I'd like to add that for security purposes you really should not have RDS enabled on production servers.  By default I tend to not start them up at all, but for your localhost server its probably fine.  However, I'm sure there are some security risks even here.  Again, I'm kind of surprised there isn't an Admin feature to turn these services on and off.  Maybe in Cold Fusion 9.


Share this: del.icio.us digg StumbleUpon Facebook Technorati Fav Mixx Spurl newsvine Furl reddit Yahoo! My Web Wists Simpy BlinkList BlogMarks smarking Ma.gnolia MSN Live Google Bookmarks Segnalo diigo excites Netvouz




Comments

Will Wilson

Will Wilson wrote on 10/14/08 1:04 PM

Excellent, thanks for that! I agree with your point, its stupid that the only way to enable RDS without diving into the core files is to reinstall!
yopir455

yopir455 wrote on 05/15/09 3:22 AM

To me the benefit for us CFML developers is in the greater adoption (and the attendant increase in numbers of developers using the language) that Railo and OpenBD can bring to CFML as a language and community. For Adobe I think the profit lies in Bolt (or whatever it will be called). Assuming a greater number of CF users (sites, developers, etc.), the need for a standard IDE increases (no knock on CFEclipse...I love and use it daily). I, personally, think this is where Adobe sees the dollars (see the opening of Flex as a server versus the incredible sales of Flex Builder since version 2 as a model).
Barry Cohen

Barry Cohen wrote on 10/29/09 9:40 AM

Thank you so much for this information. I made the changes and sure enough, I could get to my files. I've been playing around with all the settings under the administrator for days with no luck. This doesn't seem to be documented on the Adobe site.

Again, thanks for this info.
Edgar

Edgar wrote on 03/03/10 7:04 PM

Thank you for the information. I followed the instructions and was able to enable RDS in a snap. Again, thanks for sharing!
Nikos

Nikos wrote on 05/14/10 4:45 AM

toad vs mysql workbench
Nikos

Nikos wrote on 05/14/10 4:47 AM

Forget that last post it was a cut instead of a copy. I keeping getting proxy errors thwn FB4 tries to connect to cf9 RDS. Any ideas

Write your comment



(it will not be displayed)